Skip to main content
POST
/
v2
/
session
/
apps
/
{appID}
/
users
/
{userID}
/
identifiers
Create identifier
curl --request POST \
  --url https://api.prelude.dev/v2/session/apps/{appID}/users/{userID}/identifiers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "identifier": {
    "type": "phone_number",
    "value": "<string>"
  }
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

appID
string
required

The id of the app the request refers to. An application's unique identifier.

userID
string
required

The id of the user the request refers to. An app's user's unique identifier. It is prefixed with 'usr_'

Body

application/json
identifier
object
required

Response

Created