Skip to main content
Everything the interface does, your application can do too: subscribe people from your shop, add tags, create and send campaigns, send order e-mails, report sales.

Four doors

The REST API

JSON over HTTPS, one token per application. The main door.

Outgoing webhooks

Lekalao calls your application when someone subscribes, unsubscribes or bounces.

The Laravel transport

A Laravel application sends its e-mails through Lekalao without changing its code.

The SMTP relay

For any software that already speaks SMTP.
And for a site with no server of its own, the subscription form takes a plain POST from the browser.

Your first call

1

Create a token

Settings → API tokens → New token, with Read. Copy it. See Authentication.
2

List your lists

3

Read the answer

Replace lekalao.example.com with the address of your own Lekalao. Settings → Documentation shows it, with this call ready to copy.

Recipes

The contract

The API reference describes every route, with a playground. The same OpenAPI document is served by every installation, at GET /api/v1/openapi.json, so it follows its exact version: import it into Postman, Insomnia or a client generator.