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>"
}
}Retrieves the authenticated user’s profile information.
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>"
}
}