Skip to main content
PUT
Update an existing webhook endpoint’s description, event subscriptions, or authentication credentials.
The endpoint URL cannot be changed after creation. To use a different URL, delete the endpoint and create a new one.

Authorization

Bearer <token> Path Parameters
string
required
The unique identifier of the endpoint to update.
Request Body Schema
string[]
required
The complete set of event types to subscribe to. This replaces the existing subscriptions — any event not included is removed. At least one event is required.If you are adding a new event type to this endpoint, each event type supports a maximum of 3 registered endpoints across your account. Adding an event that already has 3 other endpoints subscribed returns a 400 error. Use List endpoints to check current registrations before updating.
string
Updated description for this endpoint (max 100 characters). Omit to leave the current description unchanged.
object
Optional. Updated authentication configuration. Two methods are supported — choose one. Fields from different methods cannot be mixed. Pass null explicitly to remove existing authentication. Omit the field entirely to leave authentication unchanged.
Pass "authentication": null to remove any existing authentication from the endpoint.
Atoa includes an Authorization: Basic <base64(username:password)> header in every delivery request. Pass both fields together.
string
required
Username for HTTP Basic Authentication.
string
required
Password for HTTP Basic Authentication.
Before each delivery, Atoa calls your token endpoint using the client_credentials grant to obtain a short-lived access token, then includes it as Authorization: Bearer <token> in the delivery request. Pass all three fields together.
string
required
Client ID registered with your authorisation server.
string
required
Client secret for the above client ID.
string
required
Your token endpoint URL (e.g. https://auth.your-server.com/oauth/token). Atoa will POST to this URL to fetch an access token before each delivery.
Response Returns the updated endpoint object. Same shape as Create endpoint.