Compliance Center/API reference//
- Rotate the HMAC secret for webhook signing.
Get a callback configuration by project id.
Set a customer-provided HMAC secret for webhook signing.
Rotate the HMAC secret fo...
Generates a new server-side HMAC secret for the specified project and replaces the existing one. The full secret is returned once in the response body — this is the only time it is visible in plain text. Store it securely immediately after this call.
Use this endpoint when you want Sinch to generate a cryptographically random secret rather than supplying your own.
Security
OAuth2(Required scopes: write)
- Production server. Data processed and stored within Europe.https://compliance.api.sinch.com/v1/projects/{projectId}/callbackConfig/rotate
curl -i -X POST \
'https://compliance.api.sinch.com/v1/projects/{projectId}/callbackConfig/rotate' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'New secret generated. The full secret is returned once — store it securely.
Response
{ "projectId": "proj-123", "hmacSecret": "f9a3dd71-4c2e-4f87-b901-abc123def456" }
We'd love to hear from you!
Rate this content: