All integrations

Developer Tools

REST API × MailTier

Import contacts, send messages and manage automations from your app.

Events you can act on

Turn REST API activity into timely messages

Each event maps to a real customer moment, so journeys trigger from billing, store, product, or profile changes automatically.

  • contact.upserted
  • message.sent
  • segment.updated
API / send
send-email.ts 202 Accepted
await fetch(`${MAILTIER_URL}/api/send`, {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "X-API-Key": process.env.MAILTIER_API_KEY!,
  },
  body: JSON.stringify({
    from: "[email protected]",
    to: user.email,
    subject: "Your order is confirmed",
    html,
  }),
})

Setup

Connected in three simple steps

Step 01

Create token

Authorize a narrowly scoped connection with clear ownership.

Step 02

Call endpoints

Map identities and events to your shared customer model.

Step 03

Monitor request logs

Validate the event stream, then activate the first journey.

Put REST API data to work.

Connect the first REST API event, validate customer identity, and launch a working journey with our team.