Skip to main content
GET
/
auth
/
me
Get current user info
curl --request GET \
  --url https://api-message.nativehub.live/api/v1/auth/me \
  --header 'Authorization: Bearer <token>'
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "account_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
  "tenant_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
  "username": "john.doe",
  "email": "[email protected]",
  "role": "admin",
  "permissions": [
    "messages.send",
    "campaigns.manage",
    "contacts.manage"
  ],
  "status": "active",
  "created_at": "2026-01-15T10:30:00Z",
  "updated_at": "2026-02-10T14:22:00Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

User information retrieved

id
string<uuid>
account_id
string<uuid>
tenant_id
string<uuid>
username
string
email
string<email>
role
string
permissions
string[]
status
string
created_at
string<date-time>
updated_at
string<date-time>