cURL Python JavaScript PHP Go Java
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"
}