Webhooks
Rotate webhook signing secret
Generates a new webhook signing secret for the company. For 7 days after the rotation, Firma also signs deliveries with the previous secret in X-Firma-Signature-Old. Only one previous secret is kept: rotating again within the 7 days replaces it. A secret can be rotated once per hour; a second call within the hour returns 429 with code COOLDOWN_ACTIVE.
POST
@firma-dev/sdk
Authorizations
API key for authentication. Use your API key directly without any prefix (e.g., 'your-api-key'). Bearer prefix is optional but not required.
Response
Secret rotated successfully