Skip to main content

Email & SMS

Outbound messaging infrastructure: sending domains, DKIM/return-path verification, signatures, email and SMS templates, file attachments, and SMS sending. All endpoints require a valid Bearer JWT and are scoped to the token's project_id.

Domains​

MethodPathDescription
GET/api/domainsList sending domains.
POST/api/domainsAdd a sending domain.
DELETE/api/domains/{domainId}Delete a sending domain.
GET/api/domains/{domainId}/dnsGet DNS records for a domain.
POST/api/domains/{domainId}/verify-dkimVerify a domain's DKIM record.
POST/api/domains/{domainId}/verify-return-pathVerify a domain's return-path record.

Signatures​

MethodPathDescription
GET/api/signaturesList email signatures.
POST/api/domains/{domainId}/signaturesCreate a signature for a domain.
DELETE/api/signatures/{signatureId}Delete a signature.

Email templates​

MethodPathDescription
GET/api/templatesList email templates.
GET/api/templates/{id}Fetch an email template.
POST/api/templatesCreate an email template.
PUT/api/templates/{id}Update an email template.
DELETE/api/templates/{id}Delete an email template.

Files​

MethodPathDescription
GET/api/filesList uploaded files.
POST/api/filesUpload a file.
DELETE/api/files/{id}Delete a file.

SMS​

MethodPathDescription
POST/api/sms/sendSend an SMS.
GET/api/sms-templatesList SMS templates.
GET/api/sms-templates/{id}Fetch an SMS template.
POST/api/sms-templatesCreate an SMS template.
PUT/api/sms-templates/{id}Update an SMS template.
DELETE/api/sms-templates/{id}Delete an SMS template.