Hellomateo API Documentation
Webhooks

Roll Webhook Signing Secret

POST
/v1/webhooks/{id}/signing-secret/roll

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.

Formatuuid

Request 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.

Default24
Range0 <= value <= 168

Response 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"}