Docs menu

Get a call

GET/v1/calls/{call_id}

  • Scope calls:read

One call. Your voice agent finds its call id in the X-Bubblr-Call-Id header.

Parameters

Path

  • call_idstringrequired

    The call (cal_…).

Response

200 OKThe call.

  • idstringrequired

    cal_…

  • object"call"required

  • profile_idstringrequired

    prf_…

  • direction"inbound" | "outbound"required

  • originstringrequired

    pstn (an outside caller), browser, api, sip (your voice agent dialed out) or test.

  • fromstring or nullrequired

  • tostring or nullrequired

  • remote_numberstring or nullrequired

    The other party's number.

  • chat_idstring or nullrequired

    The chat with the same person, if there is one.

  • statusstringrequired

    queued, ringing, in_progress, completed, busy, no_answer, failed or canceled.

  • handled_bystring or nullrequired

    user:usr_…, voice_ai:vep_…, number:+1…, voicemail or team.

  • endpoint_idstring or nullrequired

  • started_attimestamp or nullrequired

  • answered_attimestamp or nullrequired

  • ended_attimestamp or nullrequired

  • duration_secinteger or nullrequired

  • billable_minutesinteger or nullrequired

    Rounded up per call.

  • voicemailobject or nullrequired

    A voicemail left on the call: GET its url with your key for the audio.

    Fields of voicemail
    • urlstringrequired

    • duration_secinteger or nullrequired

    • transcriptionstring or nullrequired

    • storedbooleanrequired

  • transfersarray of objectrequired

    Fields of transfers
    • tostringrequired

    • bystringrequired

    • atstringrequired

  • errorobject or nullrequired

    Fields of error
    • codestringrequired

    • messagestring or nullrequired

  • created_attimestamprequired

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