Skip to content
campaiDeveloper
campai.com

Mailings

API Endpoints

Get mailing sample

Returns the sample for a mailing

GET/{organizationId}/{mandateId}/crm/mailings/sample

List mailing tags

Returns a list of mailing tags for the given organization

POST/{organizationId}/{mandateId}/crm/mailings/tags/list

Remove tag

Removes a mailing tag case-insensitively from mailings and dependent contact mailing preferences and updates its canonical usage.

POST/{organizationId}/{mandateId}/crm/mailings/tags/remove

List mailings

Gets a list of mailings

POST/{organizationId}/{mandateId}/crm/mailings/list

Get mailing

Returns a specific mailing by its id with all of its details

GET/{organizationId}/{mandateId}/crm/mailings/{mailingId}

Update mailing

Updates a mailing

POST/{organizationId}/{mandateId}/crm/mailings/{mailingId}

Delete mailing

Deletes a specific mailing by id

DELETE/{organizationId}/{mandateId}/crm/mailings/{mailingId}

Get mailing preview

Returns the preview contents of the mailing document for a specific mailing for a given mandate

POST/{organizationId}/{mandateId}/crm/mailings/{mailingId}/preview

Create mailing

Creates a new mailing

POST/{organizationId}/{mandateId}/crm/mailings

Update mailing details

Updates a mailing details

POST/{organizationId}/{mandateId}/crm/mailings/{mailingId}/details

Get mailing recipients

Returns the recipients of a specific mailing

GET/{organizationId}/{mandateId}/crm/mailings/{mailingId}/recipients

Get mailing estimated sending costs

Returns the estimated sending costs of a specific mailing

GET/{organizationId}/{mandateId}/crm/mailings/{mailingId}/estimatedSendingCosts

List mailing recipients

Gets a list of mailing recipients

POST/{organizationId}/{mandateId}/crm/mailings/{mailingId}/recipients/list

Send mailing

Sends an existing mailing

POST/{organizationId}/{mandateId}/crm/mailings/{mailingId}/send

Copy mailing attachments

Copies the attachments from a mailing to tmp folder

POST/{organizationId}/{mandateId}/crm/mailings/{mailingId}/copyAttachments

Export mailing letter files

Exports the letter PDF files for a mailing

POST/{organizationId}/{mandateId}/crm/mailings/{mailingId}/letter-files