Palbase Calls · API
/calls/places/{place}/watchWatch a place
The reader is told of the place's call — started, changed, ended (no call) — as the place event on their calls channel, for watch_seconds; an app showing the place asks again before it runs out. Answered with the place's call as it is.
Called by a signed-in user of your app, with their token and the publishable key.
Path
placestring · requiredThe place: letters, digits and . _ : -, 1 to 128curl -X POST "https://<your-ref>.palbase.studio/calls/places/<place>/watch" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "authorization: Bearer $USER_ACCESS_TOKEN"Responses
200Watching: the place, its call going on, and for how long
400Not a place's name (`invalid_place`)
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 rule does not let the reader into the place's calls (`not_allowed`)
503Temporarily unavailable; retrying is safe after Retry-After
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation WatchCallPlace of calls's contract.