Get current logged-in user details
curl --request GET \
--url https://olive-gateway-a6ba.onrender.com/api/v1/admin/me \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/admin/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/admin/me"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"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>"
}{}{}Admin
Get current logged-in user details
Returns details of the currently authenticated user
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>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/admin/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/admin/me"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"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
API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'
⌘I