API ReferenceWebhooks
Rotate webhook secret
POST
/api/v3/webhook_subscriptions/{id}/rotate_secretGenerates a new signing secret for the webhook subscription. The new secret is returned only in this response.
Authorization
ApiKeyAuth x-api-key<token>
API key authentication
In: header
Path Parameters
idstringRequired
Webhook subscription ID
Format:
webhookSubscriptionIdResponse Body
application/json
application/json
application/json
application/json
curl -X POST "https://backend.composio.dev/api/v3/webhook_subscriptions/string/rotate_secret"{
"id": "string",
"secret": "string"
}{
"error": {
"message": "string",
"code": 0,
"slug": "string",
"status": 0,
"request_id": "string",
"suggested_fix": "string",
"errors": [
"string"
]
}
}{
"error": {
"message": "string",
"code": 0,
"slug": "string",
"status": 0,
"request_id": "string",
"suggested_fix": "string",
"errors": [
"string"
]
}
}{
"error": {
"message": "string",
"code": 0,
"slug": "string",
"status": 0,
"request_id": "string",
"suggested_fix": "string",
"errors": [
"string"
]
}
}