cURL
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" }
Create a user in the application.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The id of the app the request refers to.
"54e9ujn"
"fvua38g"
Created
The response is of type object.
object