POST
/
v1
/
users
curl --location --request POST 'https://api.stateset.com/v1/users' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "8"
}'
{
    "id": "8"
}

Body

id
string
This is the id of the user. It is used to identify the user.
active
boolean
Indicates if the user is currently active
avatar
string
URL or path to the user’s avatar image
bio
string
Biography or description of the user
birthday
date
Date of birth of the user
country
string
Country of residence of the user
email
string
Email address of the user
firstName
string
First name of the user
lastName
string
Last name of the user
last_seen
date
Date and time when the user was last seen
last_typed
date
Date and time when the user last typed a message
location
string
Location or address of the user
organization
string
Organization or company the user belongs to
phone
string
Phone number of the user
regions
string
Regions or areas associated with the user
title
string
Title or job position of the user
twitter
string
Twitter handle or username of the user
username
string
Unique username of the user

Response

id
string
This is the id of the user. It is used to identify the user.
active
boolean
Indicates if the user is currently active
avatar
string
URL or path to the user’s avatar image
bio
string
Biography or description of the user
birthday
date
Date of birth of the user
country
string
Country of residence of the user
email
string
Email address of the user
firstName
string
First name of the user
lastName
string
Last name of the user
last_seen
date
Date and time when the user was last seen
last_typed
date
Date and time when the user last typed a message
location
string
Location or address of the user
organization
string
Organization or company the user belongs to
phone
string
Phone number of the user
regions
string
Regions or areas associated with the user
title
string
Title or job position of the user
twitter
string
Twitter handle or username of the user
username
string
Unique username of the user
curl --location --request POST 'https://api.stateset.com/v1/users' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "8"
}'
{
    "id": "8"
}