Webhooks (v2)
Rotate a webhook signing secret
Rotate a signing secret for a specific webhook.
For more information, see the guides: About webhooks and Manage webhooks.
post/webhooks/{webhook_id}/rotate-signing-secret
Request
- Base URLhttps://b2b.revolut.com/api/2.0
- AuthHTTP bearer
Path parameters
webhook_idstring uuid required
The ID of the webhook for which to rotate the secret.
Request body
Example request
{
"expiration_period": "PT5H30M"
}Response
The details of the webhook for which you rotated the signing secret
Example response
{
"id": "6fc346be-5cb5-4c14-aadc-e8aba6a655d7",
"url": "https://www.example.com/",
"events": [
"TransactionCreated"
],
"signing_secret": "wsk_4jETWMz1g1b37gCONjNp84t2KSSIT7dK"
}Changes
No recorded changes to this operation across all 1 revision of this API.