---
title: "Change Identifier (Send OTP)"
method: POST
path: "/staff/changeidentifier/sendotp"
---

# Change Identifier (Send OTP)

`POST /staff/changeidentifier/sendotp`

Sends a validation OTP to the registered mobile number/email id of the staff  to change identifier. 

Changing identifier involves two step - 
1. Send OTP to the new identifier (current API)
2. Validate the OTP received to the new identifier (next API)

## Headers

- `X-CAP-API-AUTH-KEY` string, required
- `X-CAP-API-AUTH-ORG-ID` string, required

## Request body

- object
  - `identifier` integer, required — Unique id created for the staff
  - `type` 'mobile' | 'email', required — Identifier type used for OTP validation.
  - `notes` string — Reason for identifier change.

## Response `200`

200

- object
  - `entity` integer
  - `warnings` unknown[]
    - unknown
  - `errors` unknown[]
    - unknown
  - `success` boolean

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/revisions/de241f2ed9b3/schema)
