palbaseDocs

Palbase Calls · API

POST/calls/admin/calls/{call_id}/end

End a call

Ends the call for everyone in it (ended): their apps are told, its room closes.

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

Path

call_idstring (uuid) · requiredThe call's id
curl
curl -X POST "https://<your-ref>.palbase.studio/calls/admin/calls/<call_id>/end" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200The call, over

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 call (`call_not_found`)

503Temporarily unavailable; retrying is safe after Retry-After

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

Operation AdminEndCall of calls's contract.