POST
/
v1
/
users
Create User
curl --request POST \
  --url https://public.api.serval.com/v1/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>"
}'
{
  "userId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
firstName
string

The first name of the user.

lastName
string

The last name of the user.

email
string

The email address of the user.

Response

Success

userId
string

The ID of the newly created Serval user.