---
title: "Update a callback configuration"
method: PUT
path: "/v1/projects/{projectId}/callback-configuration"
tags: ["callback-configuration"]
---

# Update a callback configuration

`PUT /v1/projects/{projectId}/callback-configuration`

The endpoint updates the callback configuration with specified project ID

## Path parameters

- `projectId` string, required

## Request body

- CallbackConfigurationUpdateBody
  - `hmacSecret` string — The HMAC secret to be updated for the specified project

## Response `200`

OK

- CallbackConfigurationResponse
  - `hmacSecret` string — The HMAC secret used for hashing the callback body using the HMAC-SHA1 algorithm - and for creating the X-Sinch-Signature header.
  - `projectId` string

## Other responses

- `400` — BAD_REQUEST: Project validation error
- `404` — NOT_FOUND: The project id introduced does not exist.
- `500` — INTERNAL: Internal server error. Typically, a server bug.

---

[API](https://skmtc.net/sinch/apis/sinch-sender-id-registrations-api.md) · [All operations](https://skmtc.net/sinch/apis/sinch-sender-id-registrations-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sinch/sinch-sender-id-registrations-api/revisions/e93587db2688/schema)
