DOCS / EMAIL API

Send your first email.

With a few simple steps, your application can compose and deliver a transactional message.

This is an interface demonstration. Sample keys and endpoints are intentionally nonfunctional.

1. Create an API key

In a production email platform you would create a restricted sending key, store it as a secret and verify its permissions.

AERLOOP_API_KEY=al_demo_key

2. Compose a message

Replace the sender, recipient and content with the values appropriate for your application.

Loading demo code...

3. Understand the response

A successful call normally returns a message identifier that you can use to track delivery status.

HTTP 200 · simulated
{ "id": "msg_demo_b284", "status": "queued" }

4. Listen for events

Use webhook notifications to record the actual outcome and keep your product in sync.

Understand webhooks ↗