📢 Public APIs
Get quote by id
The API endpoint enables you to retrieve a specific quote based on the quote ID provided in the path variable.
When accessing this endpoint and providing a valid quote ID, you will receive a response containing the quote corresponding to that ID.
get/public/quotes/{quoteId}
Response
Get quote by id
Example response
{
"data": {
"author": "Thomas Edison",
"authorSlug": "thomas-edison",
"content": "If I find 10,000 ways something won't work, I haven't failed. I am not discouraged, because every wrong attempt discarded is another step forward.",
"dateAdded": "2023-04-14",
"dateModified": "2023-04-14",
"id": 10,
"length": 146,
"tags": [
"Perseverance",
"Success",
"Inspirational",
"Motivational"
]
},
"message": "Quote fetched successfully",
"statusCode": 200,
"success": true
}