API reference¶
Base URL for all endpoints: https://api.frontengine.net
The formal description of the Postal-compatible endpoints and the JWKS is in openapi.yaml (OpenAPI 3.1).
Postal-compatible API¶
Authentication: X-Server-API-Key header. Body: JSON. Response: envelope {status, time, flags, data}.
| Method | Path | Purpose | Parameters | State |
|---|---|---|---|---|
POST | /api/v1/send/message | Sends a message built from fields | from, to, cc, bcc, subject, plain_body, html_body, sender, reply_to, tag, headers, attachments | available |
POST | /api/v1/send/raw | Sends a ready-made MIME message | mail_from, rcpt_to, data | available |
POST | /api/v1/messages/message | Looks up a message | id, _expansions | partial |
POST | /api/v1/messages/deliveries | Looks up a message's deliveries | id | partial |
Details in Sending API and Message status.
The four paths also accept GET, PUT and PATCH, as Postal does. We recommend POST.
Amazon SES-compatible API¶
Authentication: AWS Signature Version 4, service ses.
| Method | Path | Operation | Format | State |
|---|---|---|---|---|
POST | /v2/email/outbound-emails | SES v2 SendEmail (Simple or Raw) | JSON | available |
GET | /v2/email/account | SES v2 GetAccount | JSON | available, constant values |
POST | / with Action=SendEmail | SES v1 SendEmail | form, XML response | available |
POST | / with Action=SendRawEmail | SES v1 SendRawEmail | form, XML response | available |
POST | / with Action=GetSendQuota | SES v1 GetSendQuota | form, XML response | available, constant values |
Any other SES operation is refused. Details in SES compatibility.
Webhook public key¶
| Method | Path | Purpose | Authentication |
|---|---|---|---|
GET | /.well-known/jwks.json | Public key set (JWKS) used to verify webhook signatures | none |
Response:
{
"keys": [
{
"kty": "RSA",
"use": "sig",
"alg": "RS256",
"kid": "key-identifier",
"n": "modulus in base64url",
"e": "AQAB"
}
]
}
Details in Webhooks.
SMTP¶
SMTP is not an HTTP endpoint, but it is part of the public interface:
| Host | Port | Security | Authentication |
|---|---|---|---|
smtp-out.frontengine.net | 587 | STARTTLS | PLAIN, LOGIN |
smtp-out.frontengine.net | 465 | implicit TLS | PLAIN, LOGIN |
Details in Sending over SMTP.
What does not exist¶
There are no public endpoints to list or search messages, to manage domains, credentials, webhooks or the suppression list, or for templates, scheduling or batch sending. Those operations are done by our team, on request.