Skip to main content
GET
cURL
Rate Limit: 12 requests per second
startDate/endDate are legacy names kept for backward compatibility and are actually equivalent to createdAfter/createdBefore (they filter on created_at, not on when the Campaign started or ended). Use startedAfter/startedBefore and endedAfter/endedBefore to filter by those dates instead. When both ends of a pair are provided, the after value must be earlier than before.

Authorizations

Authorization
string
header
required

Add api-key YOUR_API_SECRET_KEY as the value of the Authorization header.

Query Parameters

agentId
string<uuid4>

Filters the Campaigns by Agent ID of the agent assigned to the Campaign

status
enum<string>

Filters the Campaigns by the Status of the Campaign

Available options:
pending,
ready,
active,
inactive,
cooldown,
finished
integration
enum<string>

Type of integration for the Campaign

Available options:
phone_call,
whatsapp
startDate
string<ISO 8601>

Older name kept for backward compatibility, equivalent to createdAfter. Filters by created_at, not by start date.

endDate
string<ISO 8601>

Older name kept for backward compatibility, equivalent to createdBefore. Filters by created_at, not by end date.

createdAfter
string<ISO 8601>

Filter by created_at on or after this date.

createdBefore
string<ISO 8601>

Filter by created_at on or before this date.

startedAfter
string<ISO 8601>

Filter by started_at on or after this date. Excludes Campaigns that have not started.

startedBefore
string<ISO 8601>

Filter by started_at on or before this date. Excludes Campaigns that have not started.

endedAfter
string<ISO 8601>

Filter by ended_at on or after this date. Excludes Campaigns that have not ended.

endedBefore
string<ISO 8601>

Filter by ended_at on or before this date. Excludes Campaigns that have not ended.

archived
boolean
default:false

If true, archived Campaigns will be included in the results.

pageSize
integer
default:50

Number of items per page to return.

Required range: x <= 100
cursor
string

Cursor to the next page to return.

Response

Campaigns response

total_count
integer

Total number of Campaigns for the given query. NOTE: The result is cache for 3 minutes.

campaigns
object[]
pagination
object

Filters are applied to each request independently. Changing filters while paginating may result in gaps or overlaps in the result set. For consistent results, maintain the same filters throughout pagination.