curl --request POST \
--url https://us.api.bland.ai/v1/calls \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"phone_number": "<string>",
"task": "<string>"
}
'{
"status": "success",
"call_id": "9d404c1b-6a23-4426-953a-a52c392ff8f1"
}
Send an AI phone call using a task.
curl --request POST \
--url https://us.api.bland.ai/v1/calls \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"phone_number": "<string>",
"task": "<string>"
}
'{
"status": "success",
"call_id": "9d404c1b-6a23-4426-953a-a52c392ff8f1"
}
success or error.success).{
"status": "success",
"call_id": "9d404c1b-6a23-4426-953a-a52c392ff8f1"
}
Was this page helpful?