Skip to main content
POST
/
api
/
v1
/
campaigns
/
{campaign_id}
/
calls
Campaign Calls
curl --request POST \
  --url https://api.example.com/api/v1/campaigns/{campaign_id}/calls \
  --header 'Content-Type: application/json' \
  --data '
{
  "target_ids": [
    "<string>"
  ],
  "count": 123
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Path Parameters

campaign_id
string
required

The ID of the campaign.

Body

application/json
target_ids
string[] | null

The IDs of the campaign targets to call. If not provided, count must be set.

count
integer | null

Number of random pending targets to launch. If not provided, target_ids must be set.

Response

Successful Response