Skip to content

Preview: Model Atlas is in development and not yet available.

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

ParameterTypeDescription
id
pathrequired
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 404 not_found.

Examples
01M855W468XZ5JFHKQ38DQSXW1 An event or delivery ID (a ULID)
6f1c2a9e-4b7d-4e3a-9c51-2d8f0b7e3a14 An API key, webhook endpoint or webhook subscription ID (a UUID)

Request body

Required, application/json.

  • descriptionstring

    A new label, up to 200 characters, with no control characters.

    Range
    up to 200 characters
    Example
    Production alerts
  • enabledboolean

    false to stop deliveries (disabled_reason: customer), true to resume them. Re-enabling skips the events detected while it was disabled.

    Example
    true
Example request body
{
"enabled": true
}

Responses

The updated endpoint.

application/json · WebhookEndpoint

  • idstring (uuid)required

    The endpoint’s ID. Subscriptions and deliveries refer to it as endpoint_id.

    Example
    2a7f9c4d-8e1b-4f6a-93d5-c0b8e2f17a46
  • urlstringrequired

    Where deliveries are POSTed.

    Example
    https://hooks.acme.example/model-atlas
  • descriptionstringrequired

    Your label for it. Empty when you didn’t give one.

    Example
    Production alerts
  • enabledbooleanrequired

    Whether it gets deliveries. A disabled endpoint’s pending deliveries wait, and events detected while it’s disabled aren’t delivered.

    Example
    true
  • disabled_reasonstringrequirednullable

    failing: we disabled it after 3 days of failed deliveries. customer: you did.

    Allowed
    failing, customer
    Example
    null
  • failing_sincestring (date-time)requirednullable

    The first failed attempt since the last success. Null when the last attempt succeeded.

    Example
    null
  • created_atstring (date-time)required

    When the endpoint was created. It gets events detected after this.

    Example
    2026-11-26T15:20:00Z
200 example
{
"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"
}