palbaseDocs

Palbase Messaging · API

POST/messaging/conversations/{conversation_id}/screenshot

The reader took a screenshot

The reader's app saw them take a picture of the conversation's screen: the others are told, in the conversation, as a message of the platform's.

Called by a signed-in user of your app, with their token and the publishable key.

Path

conversation_idstring (uuid) · requiredThe conversation.
curl
curl -X POST "https://<your-ref>.palbase.studio/messaging/conversations/<conversation_id>/screenshot" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "authorization: Bearer $USER_ACCESS_TOKEN"

Responses

201The message that tells it

401No key, a key of no project, a token not valid (the edge's answer), or no person's session (`user_required`)

403The reader is no longer in it (`not_a_member`), or the project's server made the conversation read-only (`read_only`)

404No such conversation of yours (`conversation_not_found`)

429Over the project's request limit; Retry-After says when to try again

503Temporarily unavailable; retrying is safe after Retry-After

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation ReportScreenshot of messaging's contract.