client.campaigns resource gives you read access to campaigns plus lifecycle actions — send now, schedule, and unschedule. The SDK doesn’t create campaigns yet. To create a draft from code, call the create a campaign endpoint directly, then send or schedule it with the SDK. Editing and deleting campaigns happen in the dashboard.
Reads require an API key with the campaigns:read scope; actions require campaigns:write.
List Campaigns
API Reference
GET /campaigns
Get a Campaign
get() returns the campaign detail including the rendered html_content body:
API Reference
GET /campaigns/
List Campaign Events
Engagement events use cursor-based pagination:API Reference
GET /campaigns//events
Send / Schedule / Unschedule
CampaignActionResponse with a message and an optional data (the updated CampaignSummary).
Send
POST /campaigns//send
Schedule
POST /campaigns//schedule
Unschedule
POST /campaigns//unschedule
What’s Next
Audience
Manage the contacts campaigns send to
API Reference
Full campaigns API reference