Messages

Everything about your messages

Operations

MethodEndpointDescription
POST/messagesCreate a message
GET/messages/whatsapp/statusRetrieve WhatsApp message delivery status
GET/messages/statusGet statuses of all messages sent based on the specified ruleset_id

Example

Retrieve WhatsApp message delivery status, with the TypeScript SDK:

ts
import { Intercom } from "@octridev/intercom";

const client = new Intercom({
  // Optional: replaces the default server and any server an operation declares.
  baseUrl: "https://api.intercom.io",
  auth: { bearerAuth: process.env.API_TOKEN! },
});

const result = await client.messages.retrieveWhatsAppStatus({
  messageId: "message-1",
});
console.log(result);
Nine more languages

The same call exists in every SDK. See SDKs for the other nine.