Joke

get
Joke / Blague

https://blague.xyz/api/joke/1
Request
Response
Request
Headers
Authorization
required
string
API Token/Key
Body Parameters
lang
optional
string
Language default: FR
Response
200: OK
{
"statut": 200
"response": "OK"
"error": false
"joke":
{
"question":"...",
"answer":"...",
"id": 1
}
}
401: Unauthorized
{
"statut": 401
"response": "Unauthorized"
"error": true
}
403: Forbidden
{
"statut": 403
"response": "Forbidden"
"error": true
}
404: Not Found
{
"statut": 404
"response": "Not Found"
"error": true
}

get
Joke Random / Blague Aléatoire

https://blague.xyz/api/joke/random
Request
Response
Request
Headers
Authorization
required
string
API Token/Key
Body Parameters
lang
optional
string
Language default: FR
Response
200: OK
{
"statut": 200
"response": "OK"
"error": false
"joke":
{
"question":"...",
"answer":"...",
"id": 1
}
}
401: Unauthorized
{
"statut": 401
"response": "Unauthorized"
"error": true
}
403: Forbidden
{
"statut": 403
"response": "Forbidden"
"error": true
}
404: Not Found
{
"statut": 404
"response": "Not Found"
"error": true
}

get
Joke Day / Blague du jour

https://blague.xyz/api/joke/day
Request
Response
Request
Headers
Authorization
required
string
API Token/Key
Body Parameters
lang
optional
string
Language default: FR
Response
200: OK
{
"statut": 200
"response": "OK"
"error": false
"joke":
{
"question":"...",
"answer":"...",
"id": 1
}
}
401: Unauthorized
{
"statut": 401
"response": "Unauthorized"
"error": true
}
403: Forbidden
{
"statut": 403
"response": "Forbidden"
"error": true
}
404: Not Found
{
"statut": 404
"response": "Not Found"
"error": true
}

get
Joke List / Blague Liste

https://blague.xyz/api/joke/list
Request
Response
Request
Headers
Authorization
required
string
API Token/Key
Body Parameters
lang
optional
string
Language default: FR
Response
200: OK
{
"statut": 200
"response": "OK"
"error": false
"joke":[
{
"question":"...",
"answer":"...",
"id":0
},
{
"question":"...",
"answer":"...",
"id":1
},
{
"question":"...",
"answer":"...",
"id":2
},
]
}
401: Unauthorized
{
"statut": 401
"response": "Unauthorized"
"error": true
}
403: Forbidden
{
"statut": 403
"response": "Forbidden"
"error": true
}
404: Not Found
{
"statut": 404
"response": "Not Found"
"error": true
}