Skip to Content
Publications

Read the availability and state of a reaction or repost

Set refresh to reconcile saved state where the platform exposes it.

GET
/api/projects/{projectId}/publications/{publicationId}/engagement-remote

Authorization

headerAuthorizationBearer <Postdot API key>

A user-owned Postdot API key sent as Authorization: Bearer <token>. Its project scope is limited by the creator’s current access.

Path Parameters

projectId*string
Length1 <= length
publicationId*string
Length1 <= length

Query Parameters

action*string
Value in"like""repost"
refresh?string

Response Body

Response for status 200

application/json
  1. response
active*boolean
revision*string|null
externalId*string|null
reason*string|null
canUndo*boolean
metered*boolean
Example Request
curl -X GET 'https://postdot.example/api/projects/string/publications/string/engagement-remote?action=like'
Example Response
{
  "active": true,
  "revision": "string",
  "externalId": "string",
  "reason": "string",
  "canUndo": true,
  "metered": true
}

Was this page helpful?