Skip to main content
POST
Create an Inbound Campaign

Headers

string
required
Your API key for authentication. Prefix with Bearer .
string
required
Your access token for authentication.

Body

string
required
The name of the campaign to be created (e.g., “Demo Campaign”).
string
required
The ID of the agent associated with the campaign (e.g., “25e57eca-5582-4ba7-849c-xxxx”).
string
required
The workflow ID linked to the campaign (e.g., “291069c3-d653-479c-97f9-xxxx”).
object
Key-value pairs of labels and phone numbers for call transfers.
object
Webhook configurations for the campaign; null if not set.

Request Example

Response

string
Status of the request in the form of a short message.
object[]
List of the created campaign objects, each including a unique id.