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": "01985a67-be86-7787-81c3-0245fcd501b6",
"disposition_id": "01985a67-bd32-7030-b433-91c85c23d80b",
"duration": 5,
"from": "+1 123456789",
"to": "+1 123456789",
"notes": null,
"transcription": null,
"task_id": "01985a67-be32-7b4e-839e-a0a1c901acd4",
"user_id": "01985a67-be0d-7f13-aa70-7826a777595d",
"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": "01985a67-be86-7787-81c3-0245fcd501b6",
"disposition_id": "01985a67-bd32-7030-b433-91c85c23d80b",
"duration": 5,
"from": "+1 123456789",
"to": "+1 123456789",
"notes": null,
"transcription": null,
"task_id": "01985a67-be32-7b4e-839e-a0a1c901acd4",
"user_id": "01985a67-be0d-7f13-aa70-7826a777595d",
"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?