Skip to content
WaaruDocs

Developer API endpoint reference

Find the supported Waaru external API routes, required scopes, success responses, and links to message, conversation, pagination, and media examples.

Reviewed

These are the routes available to a Waaru Developer API key. Prefix each path with https://api.waaru.app. All require a connected number using Developer API handling and a key bound to that number.

Method and pathRequired scopeSuccessful response
POST /v1/messagesmessages:send202 JSON with messaging_product, messageId, and status: "queued".
GET /v1/messages/:messageIdmessages:read200 JSON with a message object.
GET /v1/conversationsmessages:read200 JSON with items and nextCursor. Query: limit, after.
GET /v1/conversations/:conversationId/messagesmessages:read200 JSON with items and nextCursor. Query: limit, before.
GET /v1/media/:idmedia:read200 attachment bytes with content headers.

Replace path placeholders with identifiers returned by Waaru. A messageId is the Waaru message identifier, not a Meta message identifier. A media ID must refer to an attachment accessible to the key's number.

Identify the right value to use

IdentifierWhere it comes from and what it is for
messageId or a message’s idReturned by Waaru. Use it to read a message or match its status updates. It is not Meta’s message ID.
conversationIdReturned in conversation or message data and relevant callbacks. Use it to read that conversation’s messages.
Media IDThe attachment reference returned in message data. Use it to download media that the key’s number can access.
Webhook event idIdentifies an event notification. Use it to avoid processing the same event twice.
X-Waaru-Request-IdIdentifies an HTTP request for troubleshooting. It is not a message ID or a duplicate-send prevention key.

Follow the detailed examples

Manage the rest in the dashboard

Create keys, choose the inbound handler, and configure callbacks in Settings > Developer. Manage contacts and segments, templates and broadcasts, Logic Flows, and exports in their dashboard pages.

An external key cannot create contacts through /v1/contacts, upload files through /v1/media/upload, edit workflows, or administer a workspace. For outbound media, use a supported public HTTPS link in the message request. Do not copy dashboard calls into a server integration merely because their path starts with /v1.

Next: Make your first authenticated request.

On this page