Skip to Content
Messages

List sends

GET
/partner/messages

The provider's sends, newest first, paged with cursor, each as GET /partner/messages/{messageId} returns it. Filter by customer (customer_id or external_id), by status and by the days from–to (the workspace's time zone).

Scope: one of partner.manage, partner.read. Rate limit: 300 requests per minute per API key.

Authorization

headerAuthorizationBearer <msk_live_…>

An API key created under API keys in the panel: Authorization: Bearer msk_live_…. The key's scopes decide which operations it may call.

Scope: partner.read

Query Parameters

customer_id?string

One sub-customer, by its id.

Formatuuid
external_id?string

One sub-customer, by your own key.

Length1 <= length <= 128
status?string

Only sends with this status.

Value in"queued""accepted""sent""delivered""read""failed""unknown"
from?string

First day (inclusive), in the workspace's time zone.

Formatdate
to?string

Last day (inclusive), in the workspace's time zone.

Formatdate
cursor?string

Opaque cursor from meta.next_cursor.

Lengthlength <= 200
limit?integer
Range1 <= value <= 200
Default50

Response Body

Sends

application/json
  1. response
data*array<>
meta*
Example Request
curl -X GET 'https://app.messora.tech/api/v1/partner/messages'
Example Response
{  "data": [    {      "created_at": "2026-12-02T09:00:00Z",      "credits": {        "amount": 2,        "state": "reserved",        "unlimited": false      },      "customer": {        "display_name": "Yıldız Muhasebe",        "external_id": "acc-1042",        "id": "019a8c2e-4f1b-7a00-9c3d-5e7a10000001"      },      "delivered_at": null,      "error": null,      "failed_at": null,      "id": "019a8c2e-4f1b-7a00-9c3d-5e7a10000501",      "phone_number_id": "019a8c2e-4f1b-7a04-9c3d-5e7a10000004",      "read_at": null,      "sent_at": null,      "status": "queued",      "template": {        "language": "tr",        "name": "invoice_ready"      },      "to": "+905551112233",      "wamid": null    }  ],  "meta": {    "request_id": "019a8c2e-4f1b-7fff-9c3d-5e7a1000ffff"  }}

Adjust credits POST

A signed correction with a reason. A negative amount takes credits from the available balance, soonest expiry first; more than is available is 402 INSUFFICIENT_CREDITS (the balance never goes below zero). A positive amount adds a lot like a grant and needs expires_at (422 CREDIT_EXPIRY_REQUIRED). Scope: partner.manage. Rate limit: 300 requests per minute per API key.

Send a template POST

Sends an approved template to to on behalf of a sub-customer (customer_id or external_id). In order: the customer must be active (409 PARTNER_CUSTOMER_SUSPENDED); the recipient must not have opted out of every customer or of this one (422 RECIPIENT_OPTED_OUT); the template must be approved on the sending number's account (422); the customer's daily limit must not be reached (429 PARTNER_DAILY_LIMIT); then the template's cost in credits is reserved (402 INSUFFICIENT_CREDITS) and the message is queued, all in one transaction. The reservation is consumed when Meta reports the message sent (or delivered or read) and released when it fails, exactly once. The customer's display_name fills the template's company-name variable unless variables gives it. The Idempotency-Key header is required and unique per provider for good: the same key returns the first send (200), a different request with it is 409 IDEMPOTENCY_KEY_REUSED. A number connected through Messora's Meta app also needs your workspace's message balance: without one, 402 MESSAGE_BALANCE_EXHAUSTED. Scope: one of partner.manage, partner.send. Rate limit: 300 requests per minute per API key.