Webhooks

Change a webhook

Change the URL, the events, or switch it off and on. Only the fields you send change.

CostWhat it doesKey scopes
FreeWritesargorant:manage_lists
patch/api/v1/webhooks/{webhook_id}

Request

  • Base URL: https://app.argorant.com
  • URL: https://app.argorant.com/api/v1/webhooks/{webhook_id}
  • Auth: HTTP bearer

Path parameters

webhook_idinteger required

The webhook id.

Headers

Idempotency-Keystring

Any unique text up to 128 characters. A retry with the same key and the same body within 24 hours returns the first answer (with the header Idempotent-Replayed: true) instead of doing the work twice. The same key with another body answers 409 idempotency_conflict.

X-Request-Idstring

Your own id for this request, 8 to 64 letters, digits, dot, dash or underscore. Returned as X-Request-Id; one is made for you when you send none.

Request body

urlstring uri

New URL.

eventsWebhookEvent[]

New events.

activeboolean

On or off.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.