Skip to main content
GET
/
api
/
v1
/
user
Get User
curl --request GET \
  --url https://api.example.com/api/v1/user \
  --header 'Authorization: Basic <encoded-value>'
{
  "email": "jsmith@example.com",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "role": "user",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

200 - application/json

Successful Response

email
string<email>
required
id
string<uuid>
role
enum<string>
default:user
Available options:
admin,
developer,
user
created_at
string<date-time>