Docs menu

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"required

  • enabledbooleanrequired

  • statusstring or nullrequired

  • monthstringrequired

    YYYY-MM, UTC.

  • minutes_usedintegerrequired

  • minutes_capinteger or nullrequired

  • outbound_blockedbooleanrequired

  • sip_domainstring or nullrequired

    Where your voice agent sends its outbound calls (SIP).

  • sip_usernamestring or nullrequired

  • profilesarray of objectrequired

    Fields of profiles
    • profile_idstringrequired

    • callsintegerrequired

    • inbound_minutesintegerrequired

    • outbound_minutesintegerrequired

Errors

StatusCodeMeans
400validation_failedA field is missing or invalid.
401unauthorizedThe API key is missing, unknown or revoked.
403insufficient_scopeThe API key lacks the scope this needs.
404not_foundNo such object, or the key can't see it.

Every error is { "error": { "code", "message" } }. All error codes.

Keys come with your first line.

Request an invite and we'll set up a line for your team. API access is part of every plan.

Request an invite