POST
/
users
/
{userID}
/
identifiers
Create a login identifier for a user
curl --request POST \
  --url https://backendapi.corbado.io/v2/users/{userID}/identifiers \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "identifierType": "email",
  "identifierValue": "<string>",
  "status": "pending"
}'
{
  "identifierID": "ide-4693224802260150919",
  "type": "email",
  "value": "jane@doe.com",
  "status": "pending",
  "userID": "usr-4693224802260150919"
}

Authorizations

Authorization
string
header
required

Basic authentication is used to authenticate requests to the Backend API. The username is the project ID and the password is the API secret.

The project ID and API secret can be found in the Developer Panel.

Path Parameters

userID
string
required

Unique identifier of the user. Format: usr-<number>.

Example:

"usr-4693224802260150919"

Body

application/json

Response

200
application/json

Identifier has been created.

The response is of type object.