Skip to main content
GET
Returns details of the currently authenticated user.

Request

string
required
Bearer <token> - JWT access token

Response

string
User ID
string
Email address
string
First name
string
Last name
string
User role
string
Account status (active, inactive, suspended)
string
Phone number
string
Last login timestamp (ISO 8601)
string
Account creation timestamp
boolean
Whether user has PEP account access

Examples


Use Cases

  • Validate session on page load
  • Display user info in dashboard header
  • Check user permissions

Errors

Authorizations

Authorization
string
header
required

API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'

Response

OK

account_id
string

For processors

agent_id
string
created_at
string
email
string
first_name
string
id
string
last_login_at
string
last_name
string
name
string

For processors

pep_access_authorized
boolean
phone_number
string
role
string
status
string
user_type
string

"admin" or "processor"