callback-configuration

Update a callback configuration

The endpoint updates the callback configuration with specified project ID

put/v1/projects/{projectId}/callback-configuration

Request

  • Base URL
    https://senderid.registrations.api.sinch.com
  • URL
    https://senderid.registrations.api.sinch.com/v1/projects/{projectId}/callback-configuration
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://auth.sinch.com/oauth2/token scopes: write

Path parameters

projectIdstring required

Customer's project id

Request body

hmacSecretstring

The HMAC secret to be updated for the specified project

Example request

{
  "hmacSecret": "d1c7ccbf-919d-462f-8587-dec95a1b11ee"
}

Response

OK

hmacSecretstring

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

projectIdstring

Example response

{
  "hmacSecret": "d1c7ccbf-919d-462f-8587-dec95a1b11ee"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.