Guides

Official SDKs

Relayly ships official, thin SDKs that wrap authentication, the response envelope, pagination, idempotency, retries, and webhook-signature verification.

Python

pip install relayly

from relayly import Client
rl = Client("esp_live_...")
rl.transactional.send(to="u@x.com", from_email="hi@you.com", subject="Hi", html="<p>Hi</p>")
for c in rl.contacts.iter():          # auto-paginates
    print(c["email"])

Node.js

npm i @relayly/sdk

const { Relayly } = require("@relayly/sdk");
const rl = new Relayly("esp_live_...");
await rl.transactional.send({ to:"u@x.com", from_email:"hi@you.com", subject:"Hi", html:"<p>Hi</p>" });

Both raise typed errors, retry on 429/5xx, and accept an idempotency key on sends. Full method reference: API docs ↗.