Get the team's calling
GET/v1/calling
- Scope
calls:read
Minutes this month per line, and the SIP domain and username your voice agent uses to place calls.
Response
200 OKThe team's calling.
object"calling_account"requiredenabledbooleanrequiredstatusstring or nullrequiredmonthstringrequiredYYYY-MM, UTC.minutes_usedintegerrequiredminutes_capinteger or nullrequiredoutbound_blockedbooleanrequiredsip_domainstring or nullrequiredWhere your voice agent sends its outbound calls (SIP).
sip_usernamestring or nullrequiredprofilesarray of objectrequiredFields of
profilesprofile_idstringrequiredcallsintegerrequiredinbound_minutesintegerrequiredoutbound_minutesintegerrequired
Errors
| Status | Code | Means |
|---|---|---|
| 400 | validation_failed | A field is missing or invalid. |
| 401 | unauthorized | The API key is missing, unknown or revoked. |
| 403 | insufficient_scope | The API key lacks the scope this needs. |
| 404 | not_found | No such object, or the key can't see it. |
Every error is { "error": { "code", "message" } }. All error codes.