The API reference moved here from eksis.io/developers.
Conversations

Reply to a conversation

POST
/v1/conversations/{conversationId}/messages

Sends the reply to the platform right away. Only replies: platforms open the reply window after the person writes first, so a conversation cannot be started from here. A closed window is refused with dm.window_closed. A workspace can send as many replies an hour through the API and MCP together as its plan allows (see Rate limits), beyond which the answer is 429 dm.too_many_replies, and up to 20 an hour into one conversation, beyond which it is 429 dm.conversation_too_many_replies.

Authorization

headerAuthorizationBearer <token>

Send your key as Authorization: Bearer eksis_sk_....

Path Parameters

conversationId*string

Request Body

application/json
  1. body

Send text, one attachment, or both. With an attachment, the text goes out first as its own message.

text?string
Lengthlength <= 1000
mediaId?string

An image or video from the media library.

mediaUrl?string

An https link to an image or video, instead of mediaId.

Lengthlength <= 2048
mediaType?string

What mediaUrl points to. Default image.

Value in"image""video"
cards?array<>

Instagram and Facebook only: cards shown as a swipeable carousel. Each card needs a title and at least one of subtitle, imageUrl, url, or buttons. Links are https. Send one of mediaId, mediaUrl, or cards in a reply.

Items1 <= items <= 10

Response Body

The reply was sent.

application/json
  1. response
data?
curl -X POST 'https://api.eksis.io/v1/conversations/string/messages' \  -H 'Authorization: Bearer eksis_sk_...' \  -H 'Content-Type: application/json' \  -d '{  "text": "Here are two shirts in size M:",  "cards": [    {      "title": "Linen shirt",      "subtitle": "In stock, size M",      "imageUrl": "https://shop.example/img/linen.jpg",      "url": "https://shop.example/p/linen",      "buttons": [        {          "label": "Buy",          "url": "https://shop.example/cart?add=linen"        }      ]    },    {      "title": "Oxford shirt",      "subtitle": "In stock, size M",      "imageUrl": "https://shop.example/img/oxford.jpg",      "url": "https://shop.example/p/oxford"    }  ]}'
{  "data": {    "id": "string",    "messageIds": [      "string"    ],    "conversationId": "string",    "status": "sent"  }}