---
title: "Update callback configuration"
method: PATCH
path: "/v1/projects/{projectId}/callbackConfiguration"
tags: ["Imported Numbers and Hosting Orders Callbacks"]
---

# Update callback configuration

`PATCH /v1/projects/{projectId}/callbackConfiguration`

Updates the callbacks configuration for the specified project

## Path parameters

- `projectId` string, required

## Request body

- CallbackConfigurationUpdate — The request to update the callbacks configuration for the current project.
  - `hmacSecret` string — The HMAC secret to be updated for the specified project

## Response `200`

Callback configuration

- CallbackConfiguration — Response message containing the callbacks configuration for a specific project.
  - `projectId` string — ID of the project the configuration belongs to.
  - `hmacSecret` string — The HMAC secret used for hashing the callback body using the HMAC-SHA1 algorithm - and for creating the `X-Sinch-Signature` header.

## Other responses

- `400` — 400 Invalid Argument error
- `404` — 404 Not Found error
- `500` — 500 Internal Server error

---

[API](https://skmtc.net/sinch/apis/imported-numbers-and-hosting-orders.md) · [All operations](https://skmtc.net/sinch/apis/imported-numbers-and-hosting-orders/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sinch/imported-numbers-and-hosting-orders/revisions/c3d50cf4681d/schema)
