GET
/
v1
/
users
/
:id
curl --location --request GET 'https://api.stateset.com/v1/users/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "limit": 10,
    "offset": 0,
    "order_direction": "asc"
}'
{
  "id": 1,
  "active": true,
  "avatar": "",
  "bio": "This is the bio of the user.",
  "birthday": "2020-01-01",
  "country": "US",
  "email": "someone@there.com",
}

Body

limit
string
required

This is the limit of the users.

offset
string
required

This is the offset of the users.

order_direction
string
required

This is the order direction of the users.

Response

id
number

This is the id of the user.

active
boolean

This is the active of the user.

avatar
string

This is the avatar of the user.

bio
string

This is the bio of the user.

birthday
string

This is the birthday of the user.

country
string

This is the country of the user.

email
string

This is the email of the user.

firstName
string

This is the firstName of the user.

lastName
string

This is the lastName of the user.

last_seen
string

This is the last_seen of the user.

last_typed
string

This is the last_typed of the user.

location
string

This is the location of the user.

organization
string

This is the organization of the user.

phone
string

This is the phone of the user.

regions
string

This is the regions of the user.

title
string

This is the title of the user.

twitter
string

This is the twitter of the user.

username
string

This is the username of the user.

Users

NameTypeDescription
idText (Primary Key, Unique)Unique identifier for the user
activeBooleanIndicates if the user is currently active
avatarTextURL or path to the user’s avatar image
bioTextBiography or description of the user
birthdayDateDate of birth of the user
countryTextCountry of residence of the user
emailTextEmail address of the user
firstNameTextFirst name of the user
lastNameTextLast name of the user
last_seenDate/TimeDate and time when the user was last seen
last_typedDate/TimeDate and time when the user last typed a message
locationTextLocation or address of the user
organizationTextOrganization or company the user belongs to
phoneTextPhone number of the user
regionsTextRegions or areas associated with the user
titleTextTitle or job position of the user
twitterTextTwitter handle or username of the user
usernameTextUnique username of the user