palbaseDocs

Palbase Messaging · API

POST/messaging/conversations/{conversation_id}/join

Join an open group

The reader joins an open group by themselves — when the project's hook lets them (action join, the group and its space named; with no hook, anyone) and it has room. They read it as one added to it does (its history when it shows it to newcomers), and its people are told (member_joined). Joining one they are in answers it as it is. One an admin removed does not join again by themselves.

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

Path

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

Responses

200The group, the reader in it

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

403The project's hook does not let the reader in (`not_allowed`), an admin removed them (`removed`), or the project's server made it read-only (`read_only`)

404No such open group (`conversation_not_found`): a closed one is not told of to one outside it

409The group is full (`group_full`), or the reader's account was deleted (`user_deleted`)

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