๐Category
Choose which Category of joke you would like to have
Joke by Category
GET https://api.night-api.com/jokes/:type
Path Parameters
Name
Type
Description
type*
string
Type of jokes to get (global, beauf, dev, limit, dark)
Headers
Name
Type
Description
authorization*
String
Your API key
{
"status": 200,
"content": {
"id": 44,
"type": "global",
"blague": "Que dit un canard quand il va aux toilettes ?",
"reponse": "Je vais au petit coin."
}
}{
"status": 400,
"error": "Bad type provided"
}Lists of available categories:
global
dev
dark
limit
beauf
blondes
Or with the NPM module
Last updated
Was this helpful?
