palbaseDocs

Palbase Calls · API

POST/calls/{call_id}/participants

Ask more people in

Asks more people into a call the reader is in, ringing them (or not: ring: false). A direct call becomes a group, going on in the same room.

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

Path

call_idstring (uuid) · requiredThe call's id

Request body

ringboolean · optionalRing them (true, by default)
user_idsstring[] · requiredWho to ask in
curl
curl -X POST "https://<your-ref>.palbase.studio/calls/<call_id>/participants" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "authorization: Bearer $USER_ACCESS_TOKEN" \
  -H "content-type: application/json" \
  -d '{"user_ids":["string"]}'

Responses

200The call

400No one new to ask (`invalid_user_ids`)

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

403The project does not let the reader call them (`not_allowed`)

404No such call of the reader's (`call_not_found`)

409The reader is not in the call (`not_in_call`; a call not answered yet does not grow), it is over (`call_ended`) or full (`call_full`)

503Temporarily unavailable; retrying is safe after Retry-After

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

Operation InviteToCall of calls's contract.