Skip to main content
GET
/
auth
/
profile
Get user profile
curl --request GET \
  --url http://localhost:3000/auth/profile \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 123,
  "message": "OK",
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "jsmith@example.com",
    "name": "<string>",
    "avatar_url": "<string>",
    "status": "active",
    "created_at": "2023-11-07T05:31:56Z",
    "last_login": "2023-11-07T05:31:56Z",
    "role": "admin",
    "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "job_title": "<string>",
    "timezone": "<string>",
    "organization": {},
    "needs_onboarding": true,
    "auth_provider": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Default Response

statusCode
number
message
string
default:OK
data
object