Gets the details of a Gable user by their email address. Users are automatically created in Gable the first time they log in. Use PATCH /v0/settings/user to update a user’s details.
cURL
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>", "firstName": "<string>", "lastName": "<string>", "githubHandle": "<string>", "status": "ACTIVE", "role": "ADMIN" }
ACTIVE
INVITED
DELETED
ADMIN
EDITOR
VIEWER