Oatmail API

Send interactive cart recovery emails from your own systems. One endpoint, one request, background delivery.

Quick start

  1. 1 Create an account and generate an API key from your settings .
  2. 2 Build a template in the editor and copy its template_id.
  3. 3 POST to /api/v1/send with the params your template's type needs — a Shopify checkout_id for cart emails — and we queue and deliver it.
curl -X POST "https://tryoat.com/api/v1/send" \
  -H "Authorization: ApiKey YOUR_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template_id": "550e8400-e29b-41d4-a716-446655440000",
    "recipient": "customer@example.com",
    "params": { "checkout_id": "abc123shopifytoken" }
  }'

Authentication

All requests require an Authorization header with your secret API key. Keep keys server-side — never expose them in a browser or mobile app.

Authorization: ApiKey YOUR_SECRET_KEY

Endpoints

POST /api/v1/send

Queue an email for a recipient — cart, featured product, review or returns.

Questions? Email support@oatmail.com .