POST
/
calls
curl --request POST \
  --url https://api.amplemarket.com/calls \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "from": "<string>",
  "to": "<string>",
  "duration": 123,
  "answered": true,
  "human": true,
  "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": "0197abd8-a461-7fdc-9135-ac1cd5dcbd85",
"disposition_id": "0197abd8-a340-7d7b-a5b4-ada9e40c6602",
"duration": 5,
"from": "+1 123456789",
"to": "+1 123456789",
"notes": null,
"transcription": null,
"task_id": "0197abd8-a40b-7aac-a861-d5c244383285",
"user_id": "0197abd8-a3e4-7e4b-b827-b3dd96ea23f7",
"human": false,
"answered": true
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201
application/json

successful

The response is of type object.