Get authenticated user details
GET
/api/v1/me
const url = 'https://example.com/api/v1/me';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/me \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Authenticated user profile.
Media type application/json
object
data
required
object
id
required
integer format: int64
username
required
string
auth_type
required
How the user authenticates to the application.
string
first_name
required
string
last_name
required
string
full_name
required
string
email
required
string format: email
primary_affiliation
Primary Northwestern affiliation for the user.
string
departments
Array<string>
job_titles
Array<string>
created_at
string format: date-time
updated_at
string format: date-time
roles
Array<object>
object
id
required
integer format: int64
name
required
string
assignment_locked
boolean
role_type
One of:
object
slug
required
string
label
required
string
created_at
string format: date-time
updated_at
string format: date-time
permissions
Included when permissions are eager loaded.
Array<object>
object
id
required
integer format: int64
name
required
Machine-friendly permission name.
string
label
required
Human readable permission label.
string
description
string
scope
required
Whether this permission applies system-wide or only to the authenticated user’s context.
string
system_managed
required
boolean
api_relevant
required
Whether this permission impacts API access patterns.
boolean
created_at
string format: date-time
updated_at
string format: date-time
users_count
Included when a user count aggregate is loaded.
integer
Example
{ "data": { "id": 1, "username": "waw1234", "auth_type": "api", "first_name": "NUIT", "last_name": "API", "full_name": "NUIT API", "email": null, "primary_affiliation": "not-matched", "departments": [], "job_titles": [], "created_at": "2025-11-06T15:20:00+00:00", "updated_at": "2025-04-09T18:45:10+00:00", "roles": [ { "id": 1, "name": "API Role", "role_type": { "slug": "api-integration", "label": "API Integration" }, "created_at": "2025-11-06T15:20:00+00:00", "updated_at": "2025-11-06T15:20:00+00:00", "permissions": [ { "id": 1, "name": "view-users", "label": "View Users", "description": "Allows viewing all user profiles and their details.", "scope": "system-wide", "system_managed": false, "api_relevant": true, "created_at": "2025-11-06T15:20:00+00:00", "updated_at": "2025-11-06T15:20:00+00:00" } ] } ] }}Missing or invalid bearer token.
Media type application/json
Standard RFC 9457 problem details envelope.
object
type
required
RFC 9457 compliant problem details response builder.
string format: uri
title
required
string
status
required
integer
detail
string
instance
required
string format: uri-reference
trace_id
Unique identifier for the API request (if available).
string
Example
{ "type": "about:blank", "title": "Unauthorized", "status": 401, "detail": "Authentication failed", "instance": "/api/v1/me", "trace_id": "b4f5aa7a-1470-4d92-8d3c-98e7c7de9f5f"}