palbaseDocs

Palbase Messaging · API

GET/messaging/admin/conversations/{conversation_id}/messages

What a conversation said

What the conversation said, the newest first — every read in the access log. An owner's or an admin's read from Studio or with a token: a member sees the conversations and the reports, not what was said.

Called by your server, with the project's secret key.

Path

conversation_idstring (uuid) · requiredThe conversation.

Query

limitinteger · optionalHow many (1 to 100; 50 when absent).
cursorstring · optionalThe cursor a page handed out (next_cursor).
curl
curl -X GET "https://<your-ref>.palbase.studio/messaging/admin/conversations/<conversation_id>/messages" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200A page of messages

400The request is malformed, or a field breaks a rule (the error names which)

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

403Not the project's secret key (`secret_key_required`)

404No such conversation

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 AdminListMessages of messaging's contract.