Get profile details
curl --request GET \
--url https://prod-platform-core-api.20x.business/api/v1/profile \
--header 'Authorization: Bearer <token>'import requests
url = "https://prod-platform-core-api.20x.business/api/v1/profile"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://prod-platform-core-api.20x.business/api/v1/profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data.user": {},
"data.tenant": {},
"data.onboarding": {},
"data.wallet": {}
}Account
Get profile details
Tenant details, onboarding state and wallet summary
GET
/
profile
Get profile details
curl --request GET \
--url https://prod-platform-core-api.20x.business/api/v1/profile \
--header 'Authorization: Bearer <token>'import requests
url = "https://prod-platform-core-api.20x.business/api/v1/profile"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://prod-platform-core-api.20x.business/api/v1/profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data.user": {},
"data.tenant": {},
"data.onboarding": {},
"data.wallet": {}
}Returns your account context: tenant details, onboarding progress and a wallet
summary.
This is the quickest way to confirm a new key works and to discover your tenant
ID.
What you get depends on how you authenticate
object
The signed-in user.
null when you authenticate with an API key — a key
belongs to a tenant, not a person, so no user identity is returnedobject
Tenant id, name, slug, status, country and currency
object
Onboarding flags —
hasIntegration, hasFlow, hasTestedCall, completedobject
Wallet id, balance, currency and low-balance threshold
curl https://prod-platform-core-api.20x.business/api/v1/profile \
-H "Authorization: Bearer $AGENTIC_OS_API_KEY"
requests.get(
"https://prod-platform-core-api.20x.business/api/v1/profile",
headers={"Authorization": f"Bearer {API_KEY}"},
)
await fetch("https://prod-platform-core-api.20x.business/api/v1/profile", {
headers: { Authorization: `Bearer ${API_KEY}` },
});
Response with an API key
{
"success": true,
"message": "Tenant profile fetched successfully",
"data": {
"user": null,
"tenant": {
"id": "c3fb83c6-…",
"name": "Acme Corp",
"currency": "USD",
"status": "ACTIVE"
},
"onboarding": { "hasIntegration": true, "completed": true },
"wallet": { "balance": "142.50", "currency": "USD" }
}
}

