POST
/
api
/
v1
/
custom-use-cases
/
{agentId}
/
create-phone-call
curl --request POST \
--url https://api.fleetworks.ai/api/v1/custom-use-cases/{agentId}/create-phone-call \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"toPhone": "+15551234567"
}'
{
"success": true
}

Authorizations

Authorization
string
header
required

An authentication token that identifies the organization associated with the event. You can reach out to FleetWorks team to request a token.

Path Parameters

agentId
string
required

Body

application/json

Response

200
application/json

Success

The response is of type object.