Skip to content
Get startedDashboardSupport

Campaigns

The campaigns API enables you to send out large volumes of fully personalized mail to a mailing list.

Create Campaign
client.printMail.campaigns.create(CampaignCreateParams { mailingList, cheque, defaultSenderContact, 8 more } params, RequestOptionsoptions?): Campaign { id, createdAt, createdCount, 16 more }
POST/print-mail/v1/campaigns
List Campaigns
client.printMail.campaigns.list(CampaignListParams { limit, search, skip } query?, RequestOptionsoptions?): SkipLimit<Campaign { id, createdAt, createdCount, 16 more } >
GET/print-mail/v1/campaigns
Get Campaign
client.printMail.campaigns.retrieve(stringid, RequestOptionsoptions?): Campaign { id, createdAt, createdCount, 16 more }
GET/print-mail/v1/campaigns/{id}
Update Campaign
client.printMail.campaigns.update(stringid, CampaignUpdateParams { cheque, defaultSenderContact, description, 6 more } body, RequestOptionsoptions?): Campaign { id, createdAt, createdCount, 16 more }
POST/print-mail/v1/campaigns/{id}
Delete Campaign
client.printMail.campaigns.delete(stringid, RequestOptionsoptions?): CampaignDeleteResponse { id, deleted }
DELETE/print-mail/v1/campaigns/{id}
Send Campaign
client.printMail.campaigns.send(stringid, CampaignSendParams { sendDate } body, RequestOptionsoptions?): Campaign { id, createdAt, createdCount, 16 more }
POST/print-mail/v1/campaigns/{id}/send
ModelsExpand Collapse
One of the following:
One of the following:
One of the following:
One of the following:
One of the following:
One of the following:
One of the following:
One of the following:
One of the following:
One of the following:
One of the following:
One of the following:
One of the following:
One of the following:
One of the following:
One of the following:
One of the following:
One of the following: