Skip to main content
GET
/
:projectId
/
api
/
v7
/
entities
/
by-short-id
Fetch Entity by Short ID
curl --request GET \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/entities/by-short-id
Returns a single entity matching the given shortId. Short IDs are compact, URL-friendly identifiers automatically assigned to each entity. They are useful for building shareable deep links.

Query Parameters

shortId
string
required
The short ID of the entity to fetch.
include
string
Comma-separated list of associations to include:
  • user — the author’s user profile
  • space — the space the entity belongs to
  • topComment — the highest-voted comment
  • saved — whether the authenticated user has saved this entity
  • files — uploaded file/image attachments

Response

Returns an Entity object.

Error Responses

{ "error": "Entity not found", "code": "entity/not-found" }