API ReferenceWebhooks
Regenerate Webhook Secret
Authorization
apiKey X-API-Key<token>
API key for authentication
In: header
Request Body
application/json
webhookId*string
Webhook endpoint ID
Format
uuidResponse Body
application/json
curl -X POST "https://samva.app/api/v1/webhook-endpoints/:webhookId/regenerate-secret" \ -H "Content-Type: application/json" \ -d '{ "webhookId": "ed71eef4-4c34-46dc-81fe-954e560454fd" }'{
"newSecret": "string"
}