Palbase Calls · API
POST
/calls/{call_id}/heartbeatStill in the call
The device saying it is still in the call — every 15 seconds while it is; a device silent 45 seconds is taken for gone (a direct call ends, failed). It answers the call's state and version: an app whose snapshot is older reads the call.
Called by a signed-in user of your app, with their token and the publishable key.
Path
call_idstring (uuid) · requiredThe call's idRequest body
device_idstring · requiredThe device (the app's install) it is done oncurl
curl -X POST "https://<your-ref>.palbase.studio/calls/<call_id>/heartbeat" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "authorization: Bearer $USER_ACCESS_TOKEN" \
-H "content-type: application/json" \
-d '{"device_id":"string"}'Responses
200The call's state
401No key, a key of no project, a token not valid (the edge's answer), or no person's session (`user_required`)
404No such call of the reader's (`call_not_found`)
503Temporarily unavailable; retrying is safe after Retry-After
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation CallHeartbeat of calls's contract.