Skip to content

Current User

GET
/api/auth/me
curl --request GET \
--url https://example.com/api/auth/me \
--header 'Authorization: Bearer <token>'

Returns the user identified by the bearer token on the request.

Current user profile.

Media type application/json

The authenticated user attached to the current bearer token.

object
id
string format: uuid
merchantId
string format: uuid
email
string
nullable
fullName
string
nullable
role
string
Allowed values: Owner Admin Staff Viewer
Example
{
"role": "Owner"
}

No valid token on the request.

Media type application/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Example generated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}