Client Settings
Update webhook settings
Updates the saved webhook configuration for the authenticated client.
webhook_url may be changed to an HTTP or HTTPS URL. Setting webhook_url to null disables the webhook and removes the stored signing material.
Set rotate_secret to true to generate a new webhook signing secret.
When a new webhook secret is generated, the plaintext secret is returned only in that immediate response. Save it securely because it will not be returned again.
Changing only the webhook URL does not rotate an existing signing secret.
This endpoint is available only to client API keys. The master API key cannot use client self-service settings.
patch/client/webhook
Request
- Base URLhttp://127.0.0.1:5000/api/v1
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Webhook settings updated successfully
Example response
{
"success": true,
"warning": "Save the webhook secret now. It will not be returned again."
}Changes
No recorded changes to this operation across all 1 revision of this API.