Update webhook configuration

Update the URL, subscribed events, or rotate the signing secret. Any update re-enables a disabled webhook and resets the failure counter. At least one field must be provided.

Authentication

AuthorizationBearer

Autolane Platform API key. Org-scoped with granular permissions. Deliveries endpoints additionally require an x-retailer-id header containing the site UUID from the Autolane Portal; webhooks endpoints do not.

Request

This endpoint expects an object.
urlstringOptionalformat: "uri"
Updated HTTPS webhook URL.
eventslist of enumsOptional
Updated event subscriptions.
Allowed values:
rotate_secretbooleanOptional
Set to true to generate a new signing secret. The new secret is returned in the response.

Response

Updated webhook. If secret was rotated, the new secret is returned in full.
successboolean
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error