Set an endpoint's events
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.
apiKey webhooks.manageAuthorizationBearer <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
endpointId*stringuuidapplication/json- body
event_types*array<>items <= 9standard_event_types?array<>The workspace's other events; omit to keep them.
items <= 50Stored
application/json- response
data*meta*curl -X PUT 'https://app.messora.tech/api/v1/partner/webhook-endpoints/497f6eca-6276-4993-bfeb-53cbbbba6f08/events' \ -H 'Content-Type: application/json' \ -d '{ "event_types": [ "message.delivered", "message.failed", "reply.received" ]}'{ "data": { "active": true, "endpoint_id": "019a8c2e-4f1b-7a17-9c3d-5e7a10000017", "event_types": [ "message.delivered", "reply.received" ], "url": "https://easytrade.example/hooks/messora" }, "meta": { "request_id": "019a8c2e-4f1b-7fff-9c3d-5e7a1000ffff" }}Create a webhook endpoint POST
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.
List event types GET
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.