Developers and integrations

API keys and webhooks

Creating Messora API keys, scopes and rate limits; adding signed webhook endpoints, events, test deliveries, retries, and where the API reference is.

Updated: 29 November 20265 min read

You connect Messora to your store, CRM or own software in two ways: with API keys your system sends requests to Messora, and with webhooks Messora tells your system when something happens. This article covers both step by step.

API keys

API keys are managed on Settings → Developer → API keys. Roles that can manage API keys (by default Owner and Admin) can open the page. API access is included on Growth and higher plans; if your plan does not include it, the page is shown locked.

The API keys page: the workspace’s API address and the list of keys.

Your API address

The Your API address card at the top shows your workspace’s own API base URL. A workspace’s keys work only at that address; anywhere else they get a 401. Copy base URL copies it.

Creating a key

  1. Click Create key.
  2. In Name, write where the key will be used (for example “CRM sync”).
  3. Optionally enter Expires after (days); leave it empty for a key that does not expire.
  4. In Scopes, choose only what the integration needs. The list contains the permissions your own role has; you cannot give a key a permission you do not have.
  5. When the key is shown, copy it at once with Copy key.

Important: For your security the key is not shown again. If you lose it, revoke it and create a new one.

Send the key in requests as Authorization: Bearer msk_live_…. Scopes are the same as the permission keys in Roles and permissions; for example sending messages needs messages.send, reading contacts needs contacts.read.

Revoking a key

Choose Revoke on a key’s row; you can also select several keys and revoke them together. Requests with a revoked key are refused at once. The table shows each key’s scopes, last use and expiry.

Rate limits

  • Each key has a per-minute request budget (300 requests per minute by default). Over the budget the API answers 429 with a Retry-After header; the RateLimit-* headers on responses show what is left.
  • Depending on your plan there is also a monthly API call quota for all keys together. This month’s usage is on Plan and usage.

API reference

The interactive API reference, with every endpoint, request and response examples and code samples, is at https://app.messora.tech/docs/api. In the panel, the API documentation button on the API keys page and the API reference link in the settings menu open the same reference; its examples use your workspace’s own address.

Webhooks

Webhooks are managed on Settings → Developer → Webhooks (you need the permission to manage webhooks). For every event you choose, Messora sends a signed HTTPS POST to your address.

The Webhooks page: the list of endpoints with their events and status.

Adding an endpoint

Add endpoint opens a three-step panel from the right:

  1. Address: the URL that receives events and an optional description. Only https:// addresses are accepted; nothing is sent to addresses in private networks.
  2. Events: events are listed in groups. You can search, select a whole group and open each event’s Example payload.
  3. Summary: check the address and the selected events, then save with Add endpoint.

After saving, the Signing secret (whsec_…) is shown once. Copy it right away.

Group Events
Messages message.received (a customer sent a message), message.status (a message you sent was sent, delivered, read or failed)
Conversations conversation.assigned, conversation.closed, conversation.reopened
Campaigns campaign.completed, campaign.failed, campaign.cancelled
Contacts contact.created, contact.updated, contact.opted_out, contact.opted_in
Templates template.status (Meta approved, rejected, paused or disabled a template)

Every request has the same envelope:

{"id": "01a207bd-…", "type": "message.received", "version": 1,
 "created_at": "2026-11-23T09:30:05.123Z", "data": {…}}

Delivery is “at least once” and not ordered: the same event may arrive more than once, so drop duplicates by id.

Note: Webhook bodies contain customer data (phone numbers, names and, for message.received, the message text). Protect them like the rest of your customer data. Bodies never contain secrets, tokens or media files.

Verifying the signature

Every request carries Messora-Signature: t=<unix seconds>,v1=<hex>. v1 is the HMAC-SHA256 of the string "<t>.<raw body>" with the endpoint’s signing secret. Verify against the raw body, compare in constant time and reject timestamps more than five minutes from your clock. If more than one v1 value is present, accept the request when any of them matches.

You can replace the secret with Rotate secret. With Keep the old secret valid for (no overlap, 24 hours, 3 days or 7 days), every delivery during the overlap is signed with both secrets, so you can update your receiver without losing an event.

Test delivery

Send test event on a row sends a webhook.test event to that endpoint only (even while it is disabled). The dialog waits for your receiver’s answer and shows the status code, latency and the start of the response body. If there is no answer yet, the delivery is queued; check the delivery log shortly.

Responses, retries and the delivery log

  • Answer with a 2xx within 10 seconds; do slow work after answering.
  • On 408, 429, 5xx, a timeout or a connection error the delivery is retried: an event is tried 10 times in total over about 24 hours.
  • Other 4xx and 3xx answers are not retried. A 410 Gone switches the endpoint off at once.
  • When 20 attempts in a row have failed and this has lasted at least 24 hours, Messora switches the endpoint off and e-mails the owners and admins. Re-enable in the status column turns it back on.

The Delivery log under Deliveries shows each delivery’s status, attempts, response and time. Redeliver sends a missed event again. Events and the log are kept for 30 days.

Frequently asked questions

I lost my API key. Can I see it again?

No. For your security the key is shown only when it is created. Revoke the old key and create a new one.

Are events lost if my webhook receiver is down for a while?

Not right away. A failed delivery is tried 10 times over about 24 hours, and you can redeliver what you missed from the delivery log. Events and the delivery log are kept for 30 days.

Which plans include API access?

API keys are available on Growth and higher plans. Webhooks are on every plan; how many endpoints you can add depends on your plan.

Was this article helpful?

Thank you! We have received your feedback.

Sorry about that. Tell us what you were looking for: Write to us · Open a support ticket in the panel