v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
📢 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

messagestring
statusCodenumber
successboolean

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
}