---
title: "Create a login identifier for a user"
method: POST
path: "/users/{userID}/identifiers"
tags: ["Identifiers"]
---

# Create a login identifier for a user

`POST /users/{userID}/identifiers`

Creates a new login identifier for a user with the given ID. Login identifiers can be of the type `email`, `phone`, or `username`. Separating login identifiers from users allows Corbado to manage multiple login identifiers of different types for each user.

You can set up login identifiers in the [Developer Panel](https://app.corbado.com/settings/userinterface?tab=Overview) or consult the [Documentation](/corbado-complete/overview/configuration/user-flow-configuration#2-login-identifiers-and-fallbacks) for more details.

## Path parameters

- `userID` string, required

## Request body

- IdentifierCreateReq
  - `identifierType` 'email' | 'phone' | 'username', required
  - `identifierValue` string, required
  - `status` 'pending' | 'primary' | 'verified', required

## Response `200`

Identifier has been created.

- Identifier
  - `identifierID` string, required — Unique identifier of the login identifier.
  - `type` 'email' | 'phone' | 'username', required
  - `value` string, required — Value of the identifier (here email address).
  - `status` 'pending' | 'primary' | 'verified', required
  - `userID` string, required — Unique identifier of the user.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/corbado/apis/corbado-backend-api.md) · [All operations](https://skmtc.net/corbado/apis/corbado-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/corbado/corbado-backend-api/versions/1f6143efe426/schema)
