Download OpenAPI specification:Download
Send transactional and marketing emails, manage domains, suppressions, webhooks, and more.
| X-CM-PRODUCTTOKEN | string |
| Sandbox-Mode | boolean Default: false |
object (Gateway_EmailAddress) | |
object (Gateway_EmailAddress) | |
Array of objects or null (Gateway_EmailAddress) | |
Array of objects or null (Gateway_EmailAddress) | |
Array of objects or null (Gateway_EmailAddress) | |
| subject required | string or null |
| html | string or null |
| text | string or null |
Array of objects or null (Gateway_EmailAttachment) | |
| customerReference | string or null |
| scheduledAt | string or null |
| inReplyTo | string or null |
| references | string or null |
object or null |
{- "from": {
- "email": "string",
- "name": "string"
}, - "replyTo": {
- "email": "string",
- "name": "string"
}, - "to": [
- {
- "email": "string",
- "name": "string"
}
], - "cc": [
- {
- "email": "string",
- "name": "string"
}
], - "bcc": [
- {
- "email": "string",
- "name": "string"
}
], - "subject": "string",
- "html": "string",
- "text": "string",
- "attachments": [
- {
- "fileName": "string",
- "content": "string",
- "contentType": "string",
- "contentId": "string"
}
], - "customerReference": "string",
- "scheduledAt": "string",
- "inReplyTo": "string",
- "references": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}
}{- "status": 0,
- "message": "string",
- "success": true,
- "messageId": "string",
- "batchId": "string"
}| priority required | string |
| X-CM-PRODUCTTOKEN | string |
| Sandbox-Mode | boolean Default: false |
object (Gateway_EmailAddress) | |
object (Gateway_EmailAddress) | |
Array of objects or null (Gateway_EmailAddress) | |
Array of objects or null (Gateway_EmailAddress) | |
Array of objects or null (Gateway_EmailAddress) | |
| subject required | string or null |
| html | string or null |
| text | string or null |
Array of objects or null (Gateway_EmailAttachment) | |
| customerReference | string or null |
| scheduledAt | string or null |
| inReplyTo | string or null |
| references | string or null |
object or null |
{- "from": {
- "email": "string",
- "name": "string"
}, - "replyTo": {
- "email": "string",
- "name": "string"
}, - "to": [
- {
- "email": "string",
- "name": "string"
}
], - "cc": [
- {
- "email": "string",
- "name": "string"
}
], - "bcc": [
- {
- "email": "string",
- "name": "string"
}
], - "subject": "string",
- "html": "string",
- "text": "string",
- "attachments": [
- {
- "fileName": "string",
- "content": "string",
- "contentType": "string",
- "contentId": "string"
}
], - "customerReference": "string",
- "scheduledAt": "string",
- "inReplyTo": "string",
- "references": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}
}{- "status": 0,
- "message": "string",
- "success": true,
- "messageId": "string",
- "batchId": "string"
}| logicalAccount required | string <uuid> |
| alertName | string or null |
| metric | string or null |
| threshold | string or null |
| recipient | string or null |
{- "alertName": "string",
- "metric": "string",
- "threshold": "string",
- "recipient": "string"
}| logicalAccount required | string <uuid> |
| id required | integer <int32> |
| alertName | string or null |
| metric | string or null |
| threshold | string or null |
| recipient | string or null |
{- "alertName": "string",
- "metric": "string",
- "threshold": "string",
- "recipient": "string"
}| accountId | string <uuid> |
| domain | string or null |
| clickTracking | boolean |
| openTracking | boolean |
{- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "domain": "string",
- "clickTracking": true,
- "openTracking": true
}{- "domainConfig": {
- "id": 0,
- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "domain": "string",
- "createdOn": "2019-08-24T14:15:22Z",
- "modifiedOn": "2019-08-24T14:15:22Z",
- "deletedOn": "2019-08-24T14:15:22Z",
- "dnsRecords": [
- {
- "host": "string",
- "type": "string",
- "value": "string",
- "purpose": "string",
- "priority": 0,
- "dnsStatus": 0
}
], - "isValid": true,
- "clickTracking": true,
- "openTracking": true,
- "sendingEnabled": true,
- "receivingEnabled": true,
- "status": 0
}, - "status": 200,
- "message": "string",
- "success": true
}| logicalAccountId required | string <uuid> |
{- "domains": [
- {
- "id": 0,
- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "domain": "string",
- "createdOn": "2019-08-24T14:15:22Z",
- "modifiedOn": "2019-08-24T14:15:22Z",
- "deletedOn": "2019-08-24T14:15:22Z",
- "dnsRecords": [
- {
- "host": "string",
- "type": "string",
- "value": "string",
- "purpose": "string",
- "priority": 0,
- "dnsStatus": 0
}
], - "isValid": true,
- "clickTracking": true,
- "openTracking": true,
- "sendingEnabled": true,
- "receivingEnabled": true,
- "status": 0
}
], - "status": 200,
- "message": "string",
- "success": true
}| logicalAccountId required | string <uuid> |
| domainId required | integer <int32> |
{- "dnsRecords": [
- {
- "id": 0,
- "fromDomain": 0,
- "host": "string",
- "type": "string",
- "value": "string",
- "isValid": true,
- "purpose": "string",
- "priority": 0,
- "dnsStatus": 0
}
], - "status": 200,
- "message": "string",
- "success": true
}| logicalAccountId required | string <uuid> |
| domain required | string |
| enabled required | boolean |
{- "success": true,
- "status": 200,
- "message": "string",
- "data": [
- {
- "id": 0,
- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "domain": "string",
- "createdOn": "2019-08-24T14:15:22Z",
- "modifiedOn": "2019-08-24T14:15:22Z",
- "deletedOn": "2019-08-24T14:15:22Z",
- "dnsRecords": [
- {
- "host": "string",
- "type": "string",
- "value": "string",
- "purpose": "string",
- "priority": 0,
- "dnsStatus": 0
}
], - "isValid": true,
- "clickTracking": true,
- "openTracking": true,
- "sendingEnabled": true,
- "receivingEnabled": true,
- "status": 0
}
]
}| logicalAccountId required | string <uuid> |
| domain required | string |
| enabled required | boolean |
{- "success": true,
- "status": 200,
- "message": "string",
- "data": [
- {
- "id": 0,
- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "domain": "string",
- "createdOn": "2019-08-24T14:15:22Z",
- "modifiedOn": "2019-08-24T14:15:22Z",
- "deletedOn": "2019-08-24T14:15:22Z",
- "dnsRecords": [
- {
- "host": "string",
- "type": "string",
- "value": "string",
- "purpose": "string",
- "priority": 0,
- "dnsStatus": 0
}
], - "isValid": true,
- "clickTracking": true,
- "openTracking": true,
- "sendingEnabled": true,
- "receivingEnabled": true,
- "status": 0
}
]
}| logicalAccountId required | string <uuid> |
| LogTimeRangeType | integer <int32> (Configuration_TimeRangePickerOptions) Enum: 1 2 3 4 5 6 7 8 |
| Direction | string Filter by direction. |
| SearchText | string Free-text search. |
| StartDate | string <date-time> Required with EndDate when LogTimeRangeType is a custom range. |
| EndDate | string <date-time> |
| timezone | string Default: "UTC" IANA time zone used to render timestamps. |
| pageNumber | integer <int32> Default: 1 |
| itemsPerPage | integer <int32> Default: 10 |
{- "statusCode": 200,
- "message": "string",
- "totalCount": 0,
- "emails": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "from": "string",
- "fromName": "string",
- "toHeader": "string",
- "originalRecipient": "string",
- "subject": "string",
- "receivedAt": "2019-08-24T14:15:22Z",
- "sizeBytes": 0,
- "attachmentCount": 0,
- "direction": "string",
- "attachments": [
- {
- "id": 0,
- "fileName": "string",
- "contentType": "string",
- "inline": true,
- "contentId": "string",
- "sizeBytes": 0,
- "checksumSha256": "string",
- "truncated": true
}
]
}
]
}| logicalAccountId required | string <uuid> |
| emailId required | string <uuid> |
| timezone | string Default: "UTC" IANA time zone used to render timestamps. |
{- "success": true,
- "status": 200,
- "message": "string",
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "direction": "string",
- "rfcMessageId": "string",
- "fromAddress": "string",
- "fromName": "string",
- "toHeader": "string",
- "originalRecipient": "string",
- "subject": "string",
- "sentDate": "2019-08-24T14:15:22Z",
- "receivedAt": "2019-08-24T14:15:22Z",
- "sizeBytes": 0,
- "attachmentCount": 0,
- "inReplyTo": "string",
- "cc": "string",
- "bcc": "string",
- "referencesJson": "string",
- "headers": "string",
- "hasTruncatedAttachment": true,
- "rawContent": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "bodyTextBody": "string",
- "bodyHtmlBody": "string",
- "attachments": [
- {
- "id": 0,
- "fileName": "string",
- "contentType": "string",
- "inline": true,
- "contentId": "string",
- "sizeBytes": 0,
- "checksumSha256": "string",
- "truncated": true
}
]
}
}| logicalAccountId required | string <uuid> |
| emailId required | string <uuid> |
{- "success": true,
- "status": 200,
- "message": "string",
- "data": [
- {
- "id": 0,
- "fileName": "string",
- "contentType": "string",
- "inline": true,
- "contentId": "string",
- "sizeBytes": 0,
- "url": "string",
- "checksumSha256": "string",
- "truncated": true
}
]
}| logicalAccount required | string <uuid> |
| domain | string |
{- "webhookResponse": [
- {
- "id": 0,
- "logicalAccountId": "73ba62c4-043d-4691-9699-4381d0ffd86a",
- "webhookUrl": "string",
- "domain": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "usePresignedAttachments": true,
- "presignedUrlExpiryHours": 0
}
], - "status": 200,
- "message": "string",
- "success": true
}| logicalAccount required | string <uuid> |
| webhookUrl | string or null HTTPS URL, port 443. Trailing slash is removed. |
| domain | string or null Recipient domain. Stored lower-case. |
| usePresignedAttachments | boolean or null Send attachments as download links instead of inline base64. Default false. |
| presignedUrlExpiryHours | integer or null <int32> Lifetime of download links in hours. Default 24, effective maximum 168. |
{- "webhookUrl": "string",
- "domain": "string",
- "usePresignedAttachments": true,
- "presignedUrlExpiryHours": 0
}{- "success": true,
- "status": 200,
- "message": "string",
- "data": {
- "id": 0,
- "logicalAccountId": "73ba62c4-043d-4691-9699-4381d0ffd86a",
- "webhookUrl": "string",
- "domain": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "usePresignedAttachments": true,
- "presignedUrlExpiryHours": 0
}
}| logicalAccount required | string <uuid> |
| id | integer <int64> Must be greater than 0. |
| resetPresignedUrlExpiryHours | boolean Sets the expiry back to 24. Wins over presignedUrlExpiryHours. |
| webhookUrl | string or null |
| domain | string or null |
| usePresignedAttachments | boolean or null Send attachments as download links instead of inline base64. Default false. |
| presignedUrlExpiryHours | integer or null <int32> Lifetime of download links in hours. Default 24, effective maximum 168. |
{- "id": 0,
- "resetPresignedUrlExpiryHours": true,
- "webhookUrl": "string",
- "domain": "string",
- "usePresignedAttachments": true,
- "presignedUrlExpiryHours": 0
}{- "webhookResponse": [
- {
- "id": 0,
- "logicalAccountId": "73ba62c4-043d-4691-9699-4381d0ffd86a",
- "webhookUrl": "string",
- "domain": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "usePresignedAttachments": true,
- "presignedUrlExpiryHours": 0
}
], - "status": 200,
- "message": "string",
- "success": true
}| logicalAccountId required | string <uuid> |
| webhookType | string or null |
| webhookUrl | string or null |
{- "webhookType": "string",
- "webhookUrl": "string"
}| logicalAccountId required | string <uuid> |
| sender | string or null <email> |
| recipient required | string or null <email> |
| unsubscribeType | integer <int32> (Suppression_UnsubscribeType) Enum: 1 2 3 4 5 6 7 |
| emailType | integer <int32> (Suppression_EmailKind) Enum: 0 1 2 -1 |
[- {
- "unsubscribeType": 1,
- "emailType": 0
}
]{- "success": true,
- "message": "string",
- "status": 200,
- "data": { }
}| logicalAccountId required | string <uuid> |
| timezone | string |
| pageSize | integer <int32> Default: 10 |
| pageNumber | integer <int32> Default: 1 |
| logTimeRangeType | integer <int32> (Configuration_TimeRangePickerOptions) Enum: 1 2 3 4 5 6 7 8 |
| unsubscribeTypes | string or null |
| startDate | string or null <date-time> |
| endDate | string or null <date-time> |
| searchEmail | string or null |
{- "logTimeRangeType": 1,
- "unsubscribeTypes": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "searchEmail": "string"
}{- "success": true,
- "message": "string",
- "status": 200,
- "data": {
- "count": 0,
- "unsubscribedEmails": [
- {
- "id": 0,
- "messageRequestId": "454f97ec-f0a9-4ec6-8c4a-70b37cae818c",
- "sender": "string",
- "recipient": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "reason": "string",
- "emailType": 0,
- "unsubscribeType": 0,
- "logicalAccount": "900d6e26-27ed-409a-aaf3-fc89317cf87c"
}
]
}
}| logicalAccountId required | string <uuid> |
| searchEmail | string |
| emailType | integer <int32> Default: -1 |
| pageSize | integer <int32> Default: 10 |
| pageNumber | integer <int32> Default: 1 |
{- "success": true,
- "message": "string",
- "status": 200,
- "data": {
- "count": 0,
- "unsubscribedEmails": [
- {
- "id": 0,
- "sender": "string",
- "recipient": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "reason": "string",
- "emailType": 0,
- "unsubscribeType": 0,
- "logicalAccount": "900d6e26-27ed-409a-aaf3-fc89317cf87c",
- "domain": "string",
- "failureCount": 0,
- "expirationDate": "2019-08-24T14:15:22Z"
}
]
}
}| uniqueKey required | string <uuid> |
| unsubscribeReason | string or null |
{- "unsubscribeReason": "string"
}{- "success": true,
- "message": "string",
- "status": 200,
- "data": { }
}