Skip to main content
POST
/
webhooks
/
{webhookId}
/
rotate
Rotate webhook signing secret
curl --request POST \
  --url https://api.quo.com/webhooks/{webhookId}/rotate \
  --header 'Authorization: <api-key>' \
  --header 'Quo-Api-Version: <quo-api-version>'
{
  "data": {
    "key": "whsec_exampleSecret"
  }
}
{
"message": "/webhookId: Expected string to match '^[0-9]+$'",
"docs": "https://quo.com/docs",
"title": "Bad Request",
"errors": [
{
"path": "/webhookId",
"message": "Expected string to match '^[0-9]+$'",
"value": "abc123",
"schema": {
"type": "String",
"pattern": "^[0-9]+$"
}
}
]
}
{
"message": "You are unauthorized to access the webhook",
"docs": "https://quo.com/docs",
"title": "Unauthorized"
}
{
"message": "You are forbidden to access the webhook",
"docs": "https://quo.com/docs",
"title": "Forbidden"
}
{
"message": "Webhook with ID 123 not found",
"docs": "https://quo.com/docs",
"title": "Not Found"
}
{
"message": "An unknown error occurred",
"docs": "https://quo.com/docs",
"title": "Unknown Error"
}

Authorizations

Authorization
string
header
required

Headers

Quo-Api-Version
enum<string>
required

API version header. Supported values: 2026-03-30

Available options:
2026-03-30

Path Parameters

webhookId
string
required

The unique identifier of a webhook

Pattern: ^[0-9]+$
Example:

"123"

Response

OK

data
object
required