Skip to Content
Webhooks

List event types

GET
/partner/webhook-events

Events of the Partner API an endpoint can subscribe to. Each payload carries customer (id, external_id, display_name), null only when no sub-customer can be named.

Scope: webhooks.manage. Rate limit: 300 requests per minute per API key.

Authorization

apiKey webhooks.manage
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: webhooks.manage

Response Body

Event types

application/json
  1. response
data*array<>
meta*
Example Request
curl -X GET 'https://app.messora.tech/api/v1/partner/webhook-events'
Example Response
{  "data": [    {      "description": "A recipient answered a notification.",      "type": "reply.received"    }  ],  "meta": {    "request_id": "019a8c2e-4f1b-7fff-9c3d-5e7a1000ffff"  }}

Set an endpoint's events PUT

Replaces the Partner API events the endpoint receives and, when standard_event_types is given, its other events too (otherwise they stay as they are); at least one event must remain. Deliveries are signed like every other event of the endpoint. Scope: webhooks.manage. Rate limit: 300 requests per minute per API key.

Get the usage report GET

What the provider's sub-customers sent and spent in a date range (days of the workspace's time zone; the last 30 days by default), with totals, a series by group_by period and a page of customers (newest first, paged with cursor; customers without sends are listed with zeros). Messages count in the period they were created in, by their current status (queued, sent, delivered, read, failed, unknown; they add up to total). Credits are the ledger's entries in the range (consumed, released, reserved, granted, expired and the net of adjusted); a customer's balance is its balance now, with expiring_soon the available credits that expire in the next 30 days. meta_cost is Meta's cost of the sends as Messora estimates it per message (Meta's pricing category × the imported rate card), per currency, always estimated: true; unpriced counts sends Meta took without a known price. Filter one customer with customer_id or external_id, or several with q and status. With format=csv (or Accept: text/csv) the answer is one CSV row per customer of the filter (no paging, at most 10,000) followed by a totals row. Scope: one of partner.manage, partner.read. Rate limit: 300 requests per minute per API key.