POST
/
calls
curl --request POST \
  --url https://api.amplemarket.com/calls \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>' \
  --data '{
  "from": "<string>",
  "to": "<string>",
  "duration": 123,
  "transcription": "<string>",
  "recording_url": "<string>",
  "disposition_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "id": "01952828-dbdf-7dab-bfeb-35ce043abe64",
  "disposition_id": "01952828-da81-76b3-adbb-3daf1adf6870",
  "duration": 5,
  "from": "+1 123456789",
  "to": "+1 123456789",
  "notes": null,
  "transcription": null,
  "task_id": "01952828-db0c-7720-bc19-183182bbb148",
  "user_id": "01952828-dac1-75c1-a748-a5281f16109e"
}

Authorizations

Authorization
string
header
required

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

Headers

Content-Type
string
required

Body

application/vnd.amp+json
task_id
string
required
user_id
string
required
from
string
to
string
duration
integer
transcription
string
recording_url
string
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.

Response

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