Palbase Messaging · API
/messaging/conversationsThe reader's conversations
The signed-in person's conversations (of the spaces it names, when it names any), the latest first, with their own place in each, what they have not read and the last message each shows. A direct conversation someone else opened shows once something is said in it; one they cleared, once something new is.
Called by a signed-in user of your app, with their token and the publishable key.
Query
limitinteger · optionalHow many (1 to 100; 30 when absent).cursorstring · optionalThe cursor a page handed out (next_cursor).spacestring[] · optionalOnly the conversations of these spaces: one space a parameter, repeated for more (space=org:a&space=org:b), at most 20.curl -X GET "https://<your-ref>.palbase.studio/messaging/conversations" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "authorization: Bearer $USER_ACCESS_TOKEN"Responses
200A page of conversations
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`)
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 ListConversations of messaging's contract.