voice

Get a call by id

get/calls/{id}

Request

  • Base URL: https://api.saperly.com
  • URL: https://api.saperly.com/calls/{id}
  • Auth: none required

Path parameters

idstring required

The call's id.

Response

Success

idstring required
numberIdstring required
direction'inbound' | 'outbound' required
tostring required
fromstring required
statusstring required

Lifecycle status. initiated (placed or ringing, not yet finalized), completed (connected and hung up; billed by duration), no_answer (the callee never picked up; zero cost), failed (the carrier could not connect it, or it was expired unfinalized; zero cost), rejected (refused before answer — insufficient balance; zero cost). Only completed bills.

rateCentsPerMinnumber nullable required
durationSecnumber nullable required
costCentsnumber nullable required
hasRecordingboolean required
hasTranscriptboolean required
createdAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.