curl --request GET \
--url https://api.altur.io/api/v1.0/campaigns \
--header 'Authorization: <api-key>'{
"total_count": 123,
"campaigns": [
{
"id": 123,
"name": "<string>",
"description": "<string>",
"status": "<string>",
"created_at": "<string>",
"agent": {
"id": "<string>",
"name": "<string>"
},
"scheduling": {
"mon": {
"startTime": "<string>",
"stopTime": "<string>",
"active": true
},
"tue": {
"startTime": "<string>",
"stopTime": "<string>",
"active": true
},
"wed": {
"startTime": "<string>",
"stopTime": "<string>",
"active": true
},
"thu": {
"startTime": "<string>",
"stopTime": "<string>",
"active": true
},
"fri": {
"startTime": "<string>",
"stopTime": "<string>",
"active": true
},
"sat": {
"startTime": "<string>",
"stopTime": "<string>",
"active": true
},
"sun": {
"startTime": "<string>",
"stopTime": "<string>",
"active": true
}
},
"timezone": "<string>",
"retries": 123,
"archived": true,
"template": "<string>",
"first_message": "<string>",
"concurrency": 123,
"cycle_enabled": true,
"cycle_max_iterations": 123,
"cycle_cooldown_minutes": 123,
"cycle_filter_statuses": [
"<string>"
],
"cycle_filter_tags": [
"<string>"
],
"cycle_current_iteration": 123,
"cycle_last_iteration_at": "<string>"
}
],
"pagination": {
"has_next": true,
"has_previous": true,
"next_cursor": "<string>",
"previous_cursor": "<string>"
}
}Returns all Campaigns for your organization
curl --request GET \
--url https://api.altur.io/api/v1.0/campaigns \
--header 'Authorization: <api-key>'{
"total_count": 123,
"campaigns": [
{
"id": 123,
"name": "<string>",
"description": "<string>",
"status": "<string>",
"created_at": "<string>",
"agent": {
"id": "<string>",
"name": "<string>"
},
"scheduling": {
"mon": {
"startTime": "<string>",
"stopTime": "<string>",
"active": true
},
"tue": {
"startTime": "<string>",
"stopTime": "<string>",
"active": true
},
"wed": {
"startTime": "<string>",
"stopTime": "<string>",
"active": true
},
"thu": {
"startTime": "<string>",
"stopTime": "<string>",
"active": true
},
"fri": {
"startTime": "<string>",
"stopTime": "<string>",
"active": true
},
"sat": {
"startTime": "<string>",
"stopTime": "<string>",
"active": true
},
"sun": {
"startTime": "<string>",
"stopTime": "<string>",
"active": true
}
},
"timezone": "<string>",
"retries": 123,
"archived": true,
"template": "<string>",
"first_message": "<string>",
"concurrency": 123,
"cycle_enabled": true,
"cycle_max_iterations": 123,
"cycle_cooldown_minutes": 123,
"cycle_filter_statuses": [
"<string>"
],
"cycle_filter_tags": [
"<string>"
],
"cycle_current_iteration": 123,
"cycle_last_iteration_at": "<string>"
}
],
"pagination": {
"has_next": true,
"has_previous": true,
"next_cursor": "<string>",
"previous_cursor": "<string>"
}
}Add api-key YOUR_API_SECRET_KEY as the value of the Authorization header.
Filters the Campaigns by Agent ID of the agent assigned to the Campaign
Filters the Campaigns by the Status of the Campaign
pending, ready, active, inactive, cooldown, finished Type of integration for the Campaign
phone_call, whatsapp Bottom date of the range to filter the Campaigns in ISO 8601 format
Top date of the range to filter the Campaigns in ISO 8601 format
If true, archived Campaigns will be included in the results.
Number of items per page to return.
x <= 100Cursor to the next page to return.
Campaigns response
Total number of Campaigns for the given query. NOTE: The result is cache for 3 minutes.
Mostrar atributos secundarios
Unique identifier for the Campaign
Name of the Campaign
Description of the Campaign
The current status of the Campaign
The date and time when the Campaign was created
The schedule of the Campaign
Mostrar atributos secundarios
The timezone of the Campaign
The number of times the campaign will retry to contact a contact if the call or message fails
Whether the Campaign is archived
WhatsApp Template assigned to the Campaign (WhatsApp campaigns only)
The first message the Agent will say upon the call being answered (Phone call campaigns only)
The number of calls that can be active at the same time (Phone call campaigns only)
If enabled the campaign will automatically rerun and re-contact contacts (Phone call campaigns only)
The maximum number of times a campaign will retry to contact a contact if the call fails (Phone call campaigns only)
The cooldown time between cycles of the campaign in minutes (Phone call campaigns only)
The list of contact statuses to exclude from the campaign on cycles (Phone call campaigns only)
The list of contact tags assigned to the contacts to exclude from the campaign on cycles (Phone call campaigns only)
Current iteration of the Campaign (Phone call campaigns only)
Last iteration of the Campaign (Phone call campaigns only)
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.
Mostrar atributos secundarios