List campaigns
Returns a paginated list of campaigns for the authenticated organization.
Returns a paginated list of campaigns for the authenticated organization.
Authorization
apiKey In: header
Query Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/campaigns"{
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"description": "string",
"campaign_type": "cold_outbound",
"status": "draft",
"sending_provider": "gtm_native",
"provider_config": {
"property1": null,
"property2": null
},
"send_config": {
"property1": null,
"property2": null
},
"newsletter_config": null,
"suppression_config": null,
"enrichment_config": null,
"include_unsubscribe_link": true,
"auto_remove_on_reply": true,
"track_opens": true,
"track_clicks": true,
"created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
"created_at": "string",
"updated_at": "string"
}
]
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}List campaign target personas GET
Returns the contact Target Personas (saved contact filters) of the organization. Pass their ids as `personaIds` when enrolling accounts to find new contacts that match them.
Remove contacts or accounts from a campaign POST
Stops the campaign for the given contacts, or for every contact linked to the given accounts. Future-dated enrollments are cancelled; active ones are ended and their pending sends are skipped. Contacts that are not active in the campaign are ignored, so the call is safe to retry. Works on paused campaigns; not available for scheduled (newsletter) campaigns.