Get all campaigns by organization ID
Get all campaigns by organization ID. Returns an array of CampaignPublicDto. Optionally filter by campaign group ID — only campaigns belonging to the specified group within the same organization will be returned.
Authorizations
Headers
Optional sub organization ID. Must belong to your main organization API key.
Query Parameters
Optional filter: id of the campaign group as a string ObjectId value. When provided, only campaigns belonging to this group within the organization are returned.
Id of the organization as a string ObjectId value.
Response
The id of the campaign. string representation of a ObjectId.
The name of the campaign.
Whether the campaign is active (running). Derived from the campaign active field.
The date and time of the first interaction (call or chat) in the campaign in ISO string format.
The date and time when the campaign was completed in ISO string format.
The call parameters of the campaign.
The id of the organization. string representation of a ObjectId.
The webhook url of the campaign.
The slack notifications url of the campaign.
Boolean value defines if the campaign is incoming or outgoing. True if the campaign is incoming, false if the campaign is outgoing.
List of variable used in the campaign.
Whether new chats are paused. When true, stops initiating new chats while allowing ongoing chats to complete.
The email parameters of the campaign.
The incoming phone number of the campaign.
The id of the campaign group this campaign belongs to. Null if the campaign is not part of any group.
The name of the campaign group this campaign belongs to. Null if the campaign is not part of any group or the group could not be resolved.