Me
GET
/auth/me/
const url = 'https://example.com/api/auth/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/auth/me/ \ --header 'Authorization: Bearer <token>'Return the currently authenticated user’s profile and roles.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Successful Response
Media type application/json
UserResponse
object
id
required
Id
string format: uuid
username
required
Username
string
is_active
required
Is Active
boolean
status
required
Status
Account status: active, pending, disabled
string
created_at
required
Created At
string format: date-time
roles
required
Roles
Assigned role names, e.g. [‘admin’, ‘editor’]
Array<string>
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "username": "example", "email": "example", "is_active": true, "status": "example", "last_login_at": "2026-04-15T12:00:00Z", "created_at": "2026-04-15T12:00:00Z", "roles": [ "example" ]}