latestOpenAPI 3.0.32026-08-224982,0272.8 MB

e445c15e5bee

Notification Webhooks

Upsert webhook OAuth config

Creates or updates the OAuth 2.0 client credentials configuration for a webhook. The client secret is encrypted at rest using KMS when the oauth-kms-enabled feature flag is active.

put/api/notifications/v1/webhooks/{webhookId}/oauth-config

Path parameters

webhookIdstring required

The unique identifier of the webhook to configure OAuth for

Request body

tokenUrlstring required
clientIdstring required
clientSecretstring required
scopestring required

Response

OAuth config upserted successfully

webhookIdstring required
tokenUrlstring required
clientIdstring required
scopestring required
createdAtstring date-time required
updatedAtstring date-time required