POST
/
users
curl --request POST \
  --url https://api.sandbox.goteal.co/users \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "name": "John Smith",
  "email": "john.smith@company.com"
}'
{
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2019-05-17T00:00:00.000Z",
  "name": "John Smith",
  "email": "john.smith@company.com"
}

Authorizations

X-API-KEY
string
headerrequired

Body

application/json
name
string
required

The full name of the user. It doens't have to be unique for the client.

email
string
required

The email of the user. It doesn't have to be uniqe for the client.

Response

201 - application/json
user_id
string
required

Unique identifier for user

created_at
string
required

Creation time in UTC of the user

name
string
required

The full name of the user. It doens't have to be unique for the client.

email
string
required

The email of the user. It doesn't have to be uniqe for the client.