Rotate webhook signing secret
curl --request POST \
--url https://dev-public-api.openphone.dev/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"
}Webhooks
Rotate webhook signing secret
Rotates the signing secret for a webhook. The new secret will be returned in the response.
POST
/
webhooks
/
{webhookId}
/
rotate
Rotate webhook signing secret
curl --request POST \
--url https://dev-public-api.openphone.dev/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
Headers
API version header. Supported values: 2026-03-30
Available options:
2026-03-30 Path Parameters
The unique identifier of a webhook
Pattern:
^[0-9]+$Example:
"123"
Response
OK
Show child attributes
Show child attributes
Was this page helpful?