Skip to main content
POST
/
campaigns
/
v1
/
schedule
/
calls
Create Campaigns Calls
curl --request POST \
  --url https://api-prod.interactly.ai/campaigns/v1/schedule/calls \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "config": {
    "name": "<string>",
    "timezone": "America/New_York",
    "startHours": 9,
    "endHours": 17,
    "reportEmails": [
      "<string>"
    ],
    "maxParallelCalls": 2,
    "isReviewRequired": true,
    "reviewEmails": [
      "<string>"
    ],
    "maxRetries": 0,
    "uidExtension": "datetime",
    "schedule": [
      {}
    ],
    "assistantNumbers": [
      "<string>"
    ],
    "webhook": {
      "enabled": false,
      "url": "<string>",
      "secret": "<string>",
      "headers": [
        {
          "key": "<string>",
          "value": "<string>",
          "sensitive": false
        }
      ],
      "events": [
        "call_status"
      ]
    }
  },
  "data": [
    {}
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Retrieve your API Key from Dashboard API Keys Section.

Body

application/json

Campaign call configuration data

config
CampaignConfig · object
data
Data · object[]

Response

Successful Response