Update a webhook endpoint
PATCH/v1/webhook-endpoints/{id}Portal sign-in
Change the description, or disable and re-enable it. An endpoint that has failed for 3 days is disabled for you (disabled_reason: failing); re-enabling it clears disabled_reason and failing_since and resumes its pending deliveries. Events while it was disabled aren’t delivered. Fields you leave out keep their values.
Authorization
Portal sign-in Authorization: Bearer $MA_ACCESS_TOKEN
Sign in to the portal and send its access token. Portal sign-in isn't available yet, so you can read this endpoint but not call it.
Parameters
| Parameter | Type | Description |
|---|---|---|
idpathrequired | string | The ID the resource was listed or created with: a ULID for events and deliveries, a UUID for API keys, webhook endpoints and webhook subscriptions. An unknown or malformed ID, or another account’s, is
|
Request body
Required, application/json.
descriptionstringA new label, up to 200 characters, with no control characters.
- Range
- up to 200 characters
- Example
Production alerts
enabledbooleanfalseto stop deliveries (disabled_reason: customer),trueto resume them. Re-enabling skips the events detected while it was disabled.- Example
true
{ "enabled": true}Responses
The updated endpoint.
application/json · WebhookEndpoint
idstring (uuid)requiredThe endpoint’s ID. Subscriptions and deliveries refer to it as
endpoint_id.- Example
2a7f9c4d-8e1b-4f6a-93d5-c0b8e2f17a46
urlstringrequiredWhere deliveries are POSTed.
- Example
https://hooks.acme.example/model-atlas
descriptionstringrequiredYour label for it. Empty when you didn’t give one.
- Example
Production alerts
enabledbooleanrequiredWhether it gets deliveries. A disabled endpoint’s pending deliveries wait, and events detected while it’s disabled aren’t delivered.
- Example
true
disabled_reasonstringrequirednullablefailing: we disabled it after 3 days of failed deliveries.customer: you did.- Allowed
failing,customer- Example
null
failing_sincestring (date-time)requirednullableThe first failed attempt since the last success. Null when the last attempt succeeded.
- Example
null
created_atstring (date-time)requiredWhen the endpoint was created. It gets events detected after this.
- Example
2026-11-26T15:20:00Z
{ "id": "e4b19a73-2f6c-4d08-9a5e-7c31d8f2b604", "url": "https://staging.hooks.acme.example/model-atlas", "description": "Staging", "enabled": true, "disabled_reason": null, "failing_since": null, "created_at": "2026-11-26T15:18:00Z"}400 Bad Request, code: invalid_parameter. A parameter or the request body is invalid.
application/problem+json · Problem
typestringrequiredAlways about:blank for now. Use
code.titlestringrequiredThe HTTP status’s standard name.
statusintegerrequiredThe HTTP status code, the same as the response’s.
detailstringWhat went wrong with this request, in plain language: which parameter, which slug. Absent when there’s nothing to add (an internal error).
codestringrequiredThe error, for your code to act on. Branch on this, not on
titleordetail.- Allowed
not_found,invalid_parameter,unauthorized,forbidden,conflict,rate_limited,not_implemented,internal
401 Unauthorized. No valid portal access token. API Gateway checks it before the API runs, so this body is API Gateway’s, not a Problem.
404 Not Found, code: not_found. Nothing with that ID or slug, or not yours.
application/problem+json · Problem
typestringrequiredAlways about:blank for now. Use
code.titlestringrequiredThe HTTP status’s standard name.
statusintegerrequiredThe HTTP status code, the same as the response’s.
detailstringWhat went wrong with this request, in plain language: which parameter, which slug. Absent when there’s nothing to add (an internal error).
codestringrequiredThe error, for your code to act on. Branch on this, not on
titleordetail.- Allowed
not_found,invalid_parameter,unauthorized,forbidden,conflict,rate_limited,not_implemented,internal
429 Too Many Requests. Over the stage’s request throttle. API Gateway answers before the API does, so this body isn’t a Problem. Wait, then retry with backoff.