Skip to content

Who the token belongs to

GET
/me
curl --request GET \
--url http://localhost:8100/api/v1/me \
--header 'Authorization: Bearer <token>'

Token owner

Media typeapplication/json
object
data
object
id
integer
name
string
email
string format: email
role
string
Allowed values: admin member viewer
locale
string
Allowed values: en pl
abilities
Array<string>
Allowed values: read write

Example

{
"data": {
"role": "admin",
"locale": "en",
"abilities": [
"read"
]
}
}

Missing or invalid token

Media typeapplication/json
object
message
string
errors
object
key
additional properties
Array<string>

Example generated

{
"message": "example",
"errors": {
"additionalProperty": [
"example"
]
}
}