Skip to Content
Webhooks

Register an endpoint; the signing secret is returned once

POST
/webhook-endpoints

The URL must be https and must resolve to a public address (422 otherwise). The signing secret is generated by Messora and only shown in this response and after rotation.

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

Header Parameters

Idempotency-Key?string

Retry-safe POST: a repeated request with the same key replays the first successful response for 24 hours. Rejected requests (4xx/5xx) are not remembered, so a corrected request may reuse the key.

Length8 <= length <= 200

Request Body

application/json
  1. body
active?boolean
Defaulttrue
description?string
Lengthlength <= 500
event_types*array<>
Items1 <= items <= 50
url*string
Length9 <= length <= 2048

Response Body

Created

application/json
  1. response
data*
meta*
Example Request
curl -X POST 'https://app.messora.tech/api/v1/webhook-endpoints' \  -H 'Content-Type: application/json' \  -d '{  "description": "CRM sync",  "event_types": [    "message.received",    "conversation.closed"  ],  "url": "https://crm.example.com/hooks/messora"}'
Example Response
{  "data": {    "endpoint": {      "active": true,      "created_at": "2026-11-01T10:00:00Z",      "description": "CRM sync",      "disabled_at": null,      "disabled_reason": null,      "event_types": [        "message.received",        "conversation.closed"      ],      "failing_since": null,      "failure_streak": 0,      "id": "019a8c2e-4f1b-7a17-9c3d-5e7a10000017",      "last_failure_at": null,      "last_success_at": null,      "previous_secret_expires_at": null,      "secret_last4": "7b9a",      "updated_at": "2026-11-01T10:00:00Z",      "url": "https://crm.example.com/hooks/messora"    },    "secret": "whsec_example-signing-secret"  },  "meta": {    "request_id": "019a8c2e-4f1b-7fff-9c3d-5e7a1000ffff"  }}