Skip to main content
GET
/
:projectId
/
api
/
v7
/
entities
/
is-entity-saved
Is Entity Saved
curl --request GET \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/entities/is-entity-saved
{
  "saved": true,
  "collections": [
    {}
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.replyke.com/llms.txt

Use this file to discover all available pages before exploring further.

Returns whether the specified entity is saved in any collection belonging to the authenticated user, along with the list of matching collections.

Query Parameters

entityId
string
required
The ID of the entity to check.

Response

saved
boolean
true if the entity is saved in at least one collection.
collections
Array<{ id: string; name: string }>
List of collections (by ID and name) that contain this entity.
{
  "saved": true,
  "collections": [
    { "id": "col_abc", "name": "To Read" },
    { "id": "col_xyz", "name": "Favorites" }
  ]
}

Error Responses

{ "error": "Internal server error.", "code": "collection/server-error" }