Skip to main content
POST
/
v0
/
settings
/
user
Gets the details of a Gable user
curl --request POST \
  --url https://{hostname}.gable.ai/v0/settings/user \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "email": "<string>"
}
'
{
  "email": "<string>",
  "status": "ACTIVE",
  "role": "ADMIN",
  "firstName": "<string>",
  "lastName": "<string>",
  "githubHandle": "<string>"
}

Authorizations

X-API-KEY
string
header
required

Body

application/json

Get user by email address

email
string
required

The email address of the user, which is the primary ID in Gable

Response

User was found with the given email address

email
string
required

The email address of the user

status
enum<string>
required

The status of the user

Available options:
ACTIVE,
INVITED,
DELETED
role
enum<string>
required

The role of the user

Available options:
ADMIN,
EDITOR,
VIEWER
firstName
string

The first name of the user, if available

lastName
string

The last name of the user, if available

githubHandle
string

The GitHub handle of the user or team, if available