Skip to main content
POST
/
users
Create a new User
curl --request POST \
  --url https://app.ledger.ai/api/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{}

Authorizations

Authorization
string
header
required

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

Query Parameters

filters
string

JSON post body:

{
"about"?: string
"auth0_user_id"?: string
"contact_preference"?: integer[]
"contact_times"?: integer-range[]
"data"?: object
"email": string
"family_name": string
"given_name": string
"invite_code_expires_at"?: timestamp
"invite_code"?: string
"nickname": string
"picture"?: string
"social_auth_provider"?: integer
"timezone"?: string
}

Possible errors:

Field "email": "Email is required"

Field "family_name": "Last Name is required"

Field "given_name": "First Name is required"

Field "nickname": "Nickname is required"

Body

application/json

Request payload

The body is of type object.

Response

Successful response

The response is of type object.