---
title: "Add Identity"
method: POST
path: "/auth/add-identity"
tags: ["auth"]
---

# Add Identity

`POST /auth/add-identity`

Add email or phone to existing account.

Uses Supabase's update_user + resend flow to properly link
the new identity to the current authenticated user.

## Request body

- AddIdentityRequest — Add email or phone to existing account.
  - `email` string, email, nullable
  - `phone_number` string, nullable

## Response `200`

Successful Response

- SendOtpResponse — Response after sending OTP.
  - `identity_type` string, required
  - `masked_identity` string, required
  - `message` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/helloaxel/apis/client-api-gateway.md) · [All operations](https://skmtc.dev/helloaxel/apis/client-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/helloaxel/client-api-gateway/revisions/d3c4c29fede7/schema)
