API and webhooks

WhatsApp API integration: send from your own systems, get events as they happen

Your order, booking or CRM system sends WhatsApp messages and manages contacts and campaigns through Messora's REST API. Signed webhooks tell your system about new messages, delivery status and opt-outs. The API base URL is https://app.messora.tech/api/v1, and your API key identifies your company. On Enterprise you use your own address.

  • Scoped API keys
  • HMAC-SHA256 signed webhooks
  • API docs per company

REST API

Send messages and media, read and answer conversations, update contacts and their consent, read segments, create, start and pause campaigns and fetch their results. The campaign preflight and pre-launch analysis are in the API too. The reference is OpenAPI 3.1.

Safe keys

Give each API key only the permission it needs, for example sending messages only or reading contacts only. Each key is limited to 300 requests per minute.

  • Idempotency-Key stops a repeated request from running twice
  • Consistent error format and pagination
  • Creating and deleting keys is written to the audit log

Webhook events

Choose the events you want, and Messora sends a signed POST to your HTTPS address for each one. An event is sent only for a change that really happened, and every such change produces its event.

  • message.received, message.status
  • conversation.assigned, conversation.closed, conversation.reopened
  • campaign.completed, campaign.failed, campaign.cancelled
  • contact.created, contact.updated, contact.opted_out, contact.opted_in
  • template.status

Retries until delivered

If your server does not answer, Messora retries 10 times over about 24 hours. The delivery log shows each attempt's status, HTTP code and duration, and you can redeliver with one click. Events and the delivery log are kept for 30 days.

Signatures and network protection

Every request carries an HMAC-SHA256 signature with your endpoint's secret and a timestamp, so you can verify it came from Messora unchanged. Webhook addresses cannot point to private or local network addresses; the check runs when you save and again on every connection.

Interactive API documentation

The API documentation is published in the panel; the base URL is https://app.messora.tech/api/v1 and your API key identifies the company. On Enterprise the docs and the API run at your own address. The interactive reference has request and response examples and code samples for every operation.

How it works

Step by step

  1. Create a key

    Create an API key in the panel with only the permissions it needs.

  2. Open the docs

    Try the request examples with your own key in the API documentation in the panel.

  3. Add a webhook

    Register your HTTPS address, choose events and test your receiver with a test event.

  4. Verify the signature

    Check every request's signature and timestamp, and drop duplicates by event ID.

Plans: Webhooks only on Starter; Growth 100k, Pro 1 million calls per month. Enterprise is set to your needs. The 300 requests per minute per key limit applies on every plan. Compare plans

FAQ

Do consent rules apply to messages sent through the API?

Yes. A marketing template cannot be sent through the API to someone who opted out of marketing or stopped your business in WhatsApp; the request is refused with an error code naming the reason. No setting or parameter overrides this.

What if I send the same request twice by mistake?

Add an Idempotency-Key header. A second request with the same key is not processed again and returns the first result, so the customer does not get the message twice.

Are events lost while my server is down?

No. Messora retries failed deliveries 10 times over about 24 hours. If that runs out too, you can redeliver the event from the delivery log. Delivery is at least once, so drop duplicates by event ID.

Why use Messora's API instead of Meta's Cloud API directly?

Meta's API carries the message. Consent checks, contact and campaign management, the team inbox, cost calculation and signed events come ready in Messora, so you do not have to build the same rules yourself.

Can I use the API on the Starter plan?

On Starter you can receive events in your system through webhooks; API calls open with the Growth plan. Growth includes 100k calls a month, Pro 1 million.

Start your first conversation today.

Free for 14 days. No card, no lock-in.