Skip to content

Get a callback configuration by project id.

Request

Returns the callback configuration for the specified project. The HMAC secret is masked — only the last 6 characters are visible. To retrieve the full secret, rotate it using POST /v1/projects/{projectId}/callbackConfig/rotate or set a new one via PATCH.

Security
OAuth2(Required scopes: read)
Path
projectIdstringrequired

Customer's project id

curl -i -X GET \
  'https://compliance.api.sinch.com/v1/projects/{projectId}/callbackConfig' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
projectIdstringread-only

Project ID this callback configuration belongs to.

hmacSecretMaskstringread-only

Masked representation of the HMAC secret. Only the last 6 characters are visible (e.g. ••••••1b11ee). To see the full secret, rotate it via POST /v1/projects/{projectId}/callbackConfig/rotate or set a new one via PATCH.

Response
{ "projectId": "proj-123", "hmacSecretMask": "••••••1b11ee" }
We'd love to hear from you!
Rate this content: