Skip to content

Get callbacks configuration

Request

Returns the callbacks configuration for the specified project

Security
Basic or OAuth2.0
Path
projectIdstringrequired

Found on your Sinch Customer Dashboard. Settings > Projects.

Example:YOUR_projectId
curl -i -X GET \
  -u '<username>:<password>' \
  https://numbers.api.sinch.com/v1/projects/YOUR_projectId/callbackConfiguration

Responses

Callbacks configuration

Bodyapplication/json
projectIdstring

ID of the project the configuration belongs to.

Example:"a99aa9aa-b888-777c-dd6d-ee55e5555555"
hmacSecretstring

The HMAC secret used for hashing the callback body using the HMAC-SHA1 algorithm - and for creating the X-Sinch-Signature header.

Example:"YOUR_hmac_secret"
Response
{ "projectId": "a99aa9aa-b888-777c-dd6d-ee55e5555555", "hmacSecret": "YOUR_hmac_secret" }
We'd love to hear from you!
Rate this content: