Skip to main content
GET
/
admin
/
me
Get current logged-in user details
curl --request GET \
  --url https://olive-gateway-a6ba.onrender.com/api/v1/admin/me \
  --header 'Authorization: <api-key>'
{
  "account_id": "<string>",
  "agent_id": "<string>",
  "created_at": "<string>",
  "email": "<string>",
  "first_name": "<string>",
  "id": "<string>",
  "last_login_at": "<string>",
  "last_name": "<string>",
  "name": "<string>",
  "pep_access_authorized": true,
  "phone_number": "<string>",
  "role": "<string>",
  "status": "<string>",
  "user_type": "<string>"
}

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"