One API for every channel

A messaging API for AI agents. Send an iMessage from your line and receive the reply, with one HTTP API

Mapier sends from your lines. A line is one account on a channel, such as a phone number.

Send a message

Reply in a conversation. Mapier sends it from the same line, on the same channel.

Request
POST /v1/commands/message.send

{
  "target": { "conversationId": "a000…0001" },
  "payload": { "kind": "text", "text": "Yes, by the window." }
}

Get started

Before you start, you need a line in the console, such as an iMessage number, a WhatsApp number. No line yet? Connect a line.

Create an API key

Create one on the Keys page. It is shown once.

Text your line

Send your line a message. The quickstart shows how on each channel. Copy the conversationId from the message's message.received event.

Reply

Send the request above with that conversationId.

Quickstart walks through each step. It takes about five minutes.