Imported Numbers and Hosting Orders Callbacks

Get callbacks configuration

Returns the callbacks configuration for the specified project

get/v1/projects/{projectId}/callbackConfiguration

Request

  • Base URL
    https://imported.numbers.api.sinch.com
  • URL
    https://imported.numbers.api.sinch.com/v1/projects/{projectId}/callbackConfiguration
  • Auth
    • HTTP basic
    • or OAuth 2
      Client credentials
      Token URL: https://auth.sinch.com/oauth2/token

Path parameters

projectIdstring required
Example:d1923022-5199-4bb3-a513-c47b3a656bc5

Found on your Sinch Customer Dashboard. Settings > Projects.

Response

Callbacks configuration

projectIdstring

ID of the project the configuration belongs to.

hmacSecretstring

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

Example response

{
  "projectId": "a99aa9aa-b888-777c-dd6d-ee55e5555555",
  "hmacSecret": "YOUR_hmac_secret"
}

Changes

No recorded changes to this operation across all 1 revision of this API.