Skip to main content
POST
/
api
/
agents
/
{agentId}
/
calls
/
campaign
Create a new campaign call
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": {},
  "callRetryConfigId": "<string>",
  "localPresenceEnabled": false,
  "maxConcurrentCalls": 2,
  "endCampaignAt": 1735689600000
}'
{
  "message": "Campaign call queued successfully"
}

Authorizations

Authorization
string
header
required

Path Parameters

agentId
string
required

Body

application/json
campaignName
string
required
Maximum length: 40
scheduleId
string
required
phoneNumber
string
required
phoneNumberId
string
required
variables
object
required
callRetryConfigId
string
localPresenceEnabled
boolean
default:false
maxConcurrentCalls
integer
Required range: x >= 1
endCampaignAt
integer
Example:

Response

message
string
Example: