POST
/
calls
{
  "id": "019440e0-1d43-7f83-8c8c-c0970788abe7",
  "disposition_id": "019440e0-1bb2-7d18-bf25-65654c8f957d",
  "duration": 5,
  "from": "+1 123456789",
  "to": "+1 123456789",
  "notes": null,
  "transcription": null,
  "task_id": "019440e0-1c64-7b43-9bbc-31dd21103aaa",
  "user_id": "019440e0-1c01-7381-892b-01ad1d83eb0d"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required
Content-Type
string
required

Body

application/vnd.amp+json
task_id
string
required
user_id
string
required
disposition_id
string

Call disposition ID. If the given disposition has its action set to "complete", the specified task will be marked as completed, along with the associated sequence lead.

duration
integer
from
string
recording_url
string
to
string
transcription
string

Response

201 - application/vnd.amp+json
disposition_id
string
duration
integer | null
form
string | null
id
string
notes
string | null
task_id
string
to
string | null
transcription
string | null
user_id
string