Webhooks
Roll Webhook Signing Secret
Generates a new signing secret. The previous secrets keep signing deliveries for expires_in_hours (24 by default, at most 168), so receivers can switch without dropping deliveries.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Unique identifier for the resource.
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
expires_in_hours?integer
How long the current secrets keep signing deliveries, in hours. 0 stops them immediately.
Default
24Range
0 <= value <= 168Response Body
application/json
curl -X POST "https://api.getmateo.com/v1/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08/signing-secret/roll" \ -H "Content-Type: application/json" \ -d '{}'{ "signing_secret": "string"}