POST
/
v2
/
session
/
apps
/
{appID}
/
users
curl --request POST \
  --url https://api.prelude.dev/v2/session/apps/{appID}/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "identifiers": [
    {
      "type": "phone_number",
      "value": "+306912345678"
    }
  ],
  "profile": {},
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "id": "usr_01jqebhswje1ka1z7ahr9rfsgt"
}

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.

Example:

"54e9ujn"

Body

application/json
identifiers
object[]
required
profile
object
id
string

Response

201
application/json
Created
id
string
required

An app's user's unique identifier. It is prefixed with 'usr_'

Example:

"usr_01jqebhswje1ka1z7ahr9rfsgt"