POST
/
api
/
agents
/
{agentId}
/
calls
/
campaign
curl --request POST \
  --url https://api.getstrada.com/api/agents/{agentId}/calls/campaign \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "campaignName": "<string>",
  "scheduleId": "<string>",
  "phoneNumber": "<string>",
  "phoneNumberId": "<string>",
  "variables": {}
}'
{
  "message": "Campaign call queued successfully"
}

Authorizations

Authorization
string
header
required

API Key authentication

Path Parameters

agentId
string
required

ID of the agent to use for the campaign

Body

application/json

Response

201
application/json

Campaign call created successfully

The response is of type object.