Compliance Center/API reference//
- Set a customer-provided HMAC secret for webhook signing.
Get a callback configuration by project id.
Rotate the HMAC secret for webhook signing.
Set a customer-provided H...
Sets a customer-provided HMAC secret for the specified project. 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.
Security
OAuth2(Required scopes: write)
- Production server. Data processed and stored within Europe.https://compliance.api.sinch.com/v1/projects/{projectId}/callbackConfig
curl -i -X PATCH \
'https://compliance.api.sinch.com/v1/projects/{projectId}/callbackConfig' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"hmacSecret": "d1c7ccbf-919d-462f-8587-dec95a1b11ee"
}'Secret updated. The full secret is returned once — store it securely.
Response
{ "projectId": "proj-123", "hmacSecret": "d1c7ccbf-919d-462f-8587-dec95a1b11ee" }
We'd love to hear from you!
Rate this content: