Skip to Content
Webhooks

Create a webhook endpoint

POST
/partner/webhook-endpoints

Like POST /webhook-endpoints, but the endpoint may receive Partner API events (event_types), the workspace's other events (standard_event_types) or both; at least one in all. The signing secret is returned once.

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<>
Itemsitems <= 9
standard_event_types?array<>
Itemsitems <= 50
url*string
Length9 <= length <= 2048

Response Body

Created; the secret is shown only now

application/json
  1. response
data*
meta*
Example Request
curl -X POST 'https://app.messora.tech/api/v1/partner/webhook-endpoints' \  -H 'Content-Type: application/json' \  -d '{  "event_types": [    "message.delivered",    "message.failed",    "reply.received"  ],  "url": "https://easytrade.example/hooks/messora"}'
Example Response
{  "data": {    "endpoint": {      "active": true,      "created_at": "2026-12-02T09:00:00Z",      "description": "",      "disabled_at": null,      "disabled_reason": null,      "event_types": [],      "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-12-02T09:00:00Z",      "url": "https://easytrade.example/hooks/messora"    },    "event_types": [      "message.delivered",      "message.failed",      "reply.received"    ],    "secret": "whsec_example-signing-secret"  },  "meta": {    "request_id": "019a8c2e-4f1b-7fff-9c3d-5e7a1000ffff"  }}