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": "0197c138-8e7f-75f1-8378-7822022070d9",
"disposition_id": "0197c138-8d85-7b20-afc7-f59c888e3b5b",
"duration": 5,
"from": "+1 123456789",
"to": "+1 123456789",
"notes": null,
"transcription": null,
"task_id": "0197c138-8e34-78be-a79b-9d7a960a6c2a",
"user_id": "0197c138-8e1c-766b-9ca4-d7eb2892f658",
"human": false,
"answered": true
}
Log call
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": "0197c138-8e7f-75f1-8378-7822022070d9",
"disposition_id": "0197c138-8d85-7b20-afc7-f59c888e3b5b",
"duration": 5,
"from": "+1 123456789",
"to": "+1 123456789",
"notes": null,
"transcription": null,
"task_id": "0197c138-8e34-78be-a79b-9d7a960a6c2a",
"user_id": "0197c138-8e1c-766b-9ca4-d7eb2892f658",
"human": false,
"answered": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
successful
The response is of type object
.
Was this page helpful?