📢 Public APIs
Get joke by id
The API endpoint allows you to retrieve a joke based on the specified joke ID.
When accessing this endpoint and providing a valid joke ID as a parameter, you will receive a response containing the joke associated with the provided ID.
get/public/randomjokes/{jokeId}
Response
Get joke by id
Example response
{
"data": {
"categories": [],
"content": "Chuck Norris has a sign in his front yard that reads, \"Beware of Chuck Norris.\" This is not a joke. He actually has one.",
"id": 100
},
"message": "Joke fetched successfully",
"statusCode": 200,
"success": true
}