View a Profile
View a Profile
GET
https://api.ocamba.com/v1/hood/profiles/{id}
Returns a profile specified by ID
Tip
If you don’t know the profile id, list the profiles to find it.
Rate limits:
- Burst: 10/s
- Steady: 150/m
Path parameters
parametersQuery parameters
parametersResponse schemas
›
200
application/json
›
400
application/json
›
500
application/json
curl -X GET \
"https://api.ocamba.com/v1/hood/profiles/{id}" \
-H "Authorization: Bearer {TOKEN}"const url = 'https://api.ocamba.com/v1/hood/profiles/{id}';
const options = {
method: 'GET',
headers: {
Authorization: `Bearer {TOKEN}`
}
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}$ch = curl_init("https://api.ocamba.com/v1/hood/profiles/{id}");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer {TOKEN}"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);Responses
200 OK
{
"total": 1,
"items": [
{
"id": "17430661718130753551",
"company_id": "6197120",
"status": "1",
"container_id": "0",
"app_type": "web",
"app_name": "",
"country_code": "A0",
"country_name": "Unknown",
"region": "0",
"city": "0",
"asn": "0",
"isp": "",
"os_id": "0",
"browser_id": "0",
"device_id": "0",
"profile_lang": "en",
"lang_name": "English",
"timezone": "",
"total_sessions": "0",
"total_pageviews": "0",
"total_goals": "0",
"push_status_str": "unknown",
"push_wokenup": "0",
"push_clicks": "0",
"ad_served": "0",
"ad_impressions": "0",
"ad_spam_impressions": "0",
"ad_clicks": "0",
"ad_spam_clicks": "0",
"ad_conversions": "0",
"metadata": {
"encrypted": [
"email"
]
},
"email": "* * * * * * * * * *",
"subscription": {
"email": {
"status": "active",
"create_time": "2025-03-27 09:02:51"
}
},
"engagement_score": 0,
"conversion_score": "0",
"income": "0",
"cost": "0",
"create_time": "2025-03-27 09:02:51",
"update_time": "2025-03-27 09:02:51",
"total_engagements": "0"
}
]
}
400 Bad Request
{
"code": 400,
"title": "Bad request.",
"message": "The request is not valid.",
"trace_id": "99a84211-f73d-4ff8-acdf-eb3e06bb9d62"
}
500 Internal Server Error
{
"code": 500,
"title": "Internal server error.",
"trace_id": "99a84211-f73d-4ff8-acdf-eb3e06bb9d62"
}
Responses