palbaseDocs

Palbase Calls · API

GET/calls/admin/calls

The project's calls

The project's calls, newest first; user_id, a person's (missed with it, the ones they missed); state, those in it.

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

Query

limitinteger · optionalHow many calls a page holds (1 to 100, 20 by default)
cursorstring · optionalThe previous page's next_cursor
user_idstring · optionalA person's calls
missedboolean · optionalOnly the calls the person missed (or was busy for)
state"ringing" | "active" | "ended" · optionalOnly the calls in this state
curl
curl -X GET "https://<your-ref>.palbase.studio/calls/admin/calls" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200A page of calls

400The request is malformed, or a field breaks a rule (the error names which)

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`)

503Temporarily unavailable; retrying is safe after Retry-After

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

Operation AdminListCalls of calls's contract.