Get the current user
GET
/api/v1/meReturns the user the token belongs to. The shape differs from the
members list: id is the numeric database ID rather than a prefixed
ID, and content is a rendered HTML snippet of the user’s name and
avatar. Use GET /api/v1/users/{id} for the full member record.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”200
The current user
The current user
Response body
Media typeapplication/json
object
id
integer
Numeric database ID, not a prefixed ID
name
string
avatar_url
string
A data URI of a generated letter avatar when no picture is uploaded
sgid
string
Signed global ID used by the rich text editor for mentions
content
string
Rendered HTML snippet of the user’s avatar and name
401
Missing, invalid or expired token
Missing, invalid or expired token
Response body
Media typeapplication/json
object
error
object
code
string
A stable machine-readable code
message
string
details
Array<string>
Present on validation errors; one entry per failed validation