cURL
curl --request GET \ --url https://api.replyke.com/api/v6/:projectId/entities/:entityId
{ "id": "<string>", "userId": "<string>", "shortId": "<string>", "foreignId": "<string>", "title": "<string>", "content": "<string>", "keywords": [ {} ], "attachments": [ {} ], "metadata": {}, "location": { "type": "<string>", "coordinates": [ 123 ] }, "upvotes": [ {} ], "downvotes": [ {} ], "views": 123, "createdAt": "<string>", "updatedAt": "<string>" }
Fetch a single entity by its ID
Show properties
Invalid Entity ID - 400 Bad Request
{ "error": "Missing a valid entityId in request query.", "code": "entity/invalid-resource-id" }
Not Found - 404 Not Found
{ "error": "Entity not found", "code": "entity/not-found" }
Server Error - 500 Internal Server Error
{ "error": "Internal server error.", "code": "entity/server-error", "details": "<Error message>" }