API

Simple docs for the yomomma.io joke API with curl examples you can run as-is.

GET /api/jokes

Returns all jokes plus category metadata.

curl https://yomomma.io/api/jokes

GET /api/jokes?category=fat

Returns all jokes in a specific category.

curl "https://yomomma.io/api/jokes?category=fat"

GET /api/jokes/random

Returns one random joke from the full list.

curl https://yomomma.io/api/jokes/random

GET /api/jokes/random?category=ugly

Returns one random joke from a specific category.

curl "https://yomomma.io/api/jokes/random?category=ugly"

GET /api/jokes/category/stupid

Returns all jokes in a category using the path-based route.

curl https://yomomma.io/api/jokes/category/stupid

GET /api/health

Health check endpoint for uptime monitoring.

curl https://yomomma.io/api/health