Skip to content
Coritan Docs

Client API: Mail Send API

Send a message through an SMTP Relay service over HTTPS.

View as Markdown

Send a message through an SMTP Relay service over HTTPS. Authenticated with an SMTP Relay API key in X-Api-Key, not with an access token.

Base URL: https://api.coritan.com/api/v1. Paths below are complete.

To try these requests in the browser, open the interactive Client API reference.

Method Path Summary
POST /api/v1/mail/send Send
GET /api/v1/mail/send/limits Limits
GET /api/v1/mail/unsubscribe/{token} RFC 8058 target
POST /api/v1/mail/unsubscribe/{token} RFC 8058 target

POST /api/v1/mail/send

Name In Type Required
X-Api-Key header string or null no

application/json (required)

Field Type Required
from string yes
from_name string or null no
to array of string yes
cc array of string no
subject string no
text string or null no
html string or null no
reply_to string or null no
headers Headers no
category string or null no
Status Meaning
202 Success.
422 The request is not valid. detail lists each problem.

GET /api/v1/mail/send/limits

Name In Type Required
X-Api-Key header string or null no
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

GET /api/v1/mail/unsubscribe/{token}

RFC 8058 target. Receivers POST here with List-Unsubscribe=One-Click; a person following the link gets the same result. Brand-neutral by design: the token names the tenant and the addressee, nothing else.

Name In Type Required
token path string yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/mail/unsubscribe/{token}

RFC 8058 target. Receivers POST here with List-Unsubscribe=One-Click; a person following the link gets the same result. Brand-neutral by design: the token names the tenant and the addressee, nothing else.

Name In Type Required
token path string yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.