List Profile

List Profile

GET https://api.ocamba.com/v1/hood/profiles
Returns a list of profiles

Tip

Sortable fields are: id, status, container_name, app_type, app_name, country_code, region_name, city_name, isp, conn_type_name, browser_name, device_name, user_lang, ad_last_serverd, ad_last_clicked, ad_last_impression, push_unsubscription_time, push_last_touched, ad_served, ad_impressions, ad_clicks, ad_spam_clicks, ad_conversions, income, cost, engagement_score, conversion_score, create_time, update_time.

Filterable fields are: id, status, container_id, container_name, app_type, app_name, country_code, country_name, region, region_name, city, city_name, asn, conn_type, os_id, os_name, os_version, browser_id, browser_version, device_id, user_lang, lang_name, timezone, last_session_time, total_sessions, total_pageviews, total_goals, comment, utm_source, utm_medium, utm_campaign, utm_term, utm_content, ad_last_serverd, ad_last_clicked, ad_last_impression, push_unsubscription_time, push_last_touched, push_wokenup, is_wokenup, push_clicks, click_id, retargeting, remote_user_id, ad_served, ad_impressions, ad_clicks, ad_spam_clicks, ad_conversions, income, cost, custom_data, engagement_score, conversion_score, subscription, create_time, update_time.

Rate limits:

  • Burst: 10/s
  • Steady: 150/m

Query parameters

parameters

Response schemas

curl -X GET \
 "https://api.ocamba.com/v1/hood/profiles" \
  -H "Authorization: Bearer {TOKEN}"
const url = 'https://api.ocamba.com/v1/hood/profiles';
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");
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": 48315,
  "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",
      "user_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"
    },
    {
      "id": "17430653667643974137",
      "company_id": "6197120",
      "status": "1",
      "container_id": "0",
      "app_type": "web",
      "app_name": "",
      "country_code": "RS",
      "country_name": "Serbia",
      "region": "0",
      "city": "0",
      "asn": "0",
      "isp": "",
      "os_id": "0",
      "browser_id": "0",
      "device_id": "0",
      "user_lang": "en",
      "lang_name": "English",
      "timezone": "",
      "total_sessions": "0",
      "total_pageviews": "0",
      "total_goals": "0",
      "comment": "",
      "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": [
              "mobile_phone_number",
              "email"
          ]
      },
      "mobile_phone_number": "* * * * * * * * * *",
      "organization_domain": "",
      "email": "* * * * * * * * * *",
      "subscription": {
          "sms": {
              "status": "active",
              "create_time": "2025-03-27 08:49:26"
          },
          "email": {
              "status": "active",
              "create_time": "2025-03-27 08:50:55"
          }
      },
      "engagement_score": 0,
      "conversion_score": "0",
      "income": "0",
      "cost": "0",
      "organization_id": "0",
      "organization_name": "",
      "create_time": "2025-03-27 08:49:26",
      "update_time": "2025-03-27 08:58:23",
      "total_engagements": "0"
    },
    {
      "id": "17430651587361573865",
      "company_id": "6197120",
      "status": "1",
      "container_id": "0",
      "app_type": "web",
      "app_name": "",
      "country_code": "RS",
      "country_name": "Serbia",
      "region": "0",
      "city": "0",
      "asn": "0",
      "isp": "",
      "os_id": "0",
      "browser_id": "0",
      "device_id": "0",
      "user_lang": "en",
      "lang_name": "English",
      "timezone": "",
      "total_sessions": "0",
      "total_pageviews": "0",
      "total_goals": "0",
      "comment": "",
      "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": [
              "mobile_phone_number",
              "email"
          ]
      },
      "mobile_phone_number": "* * * * * * * * * *",
      "organization_domain": "",
      "email": "* * * * * * * * * *",
      "subscription": {
          "sms": {
              "status": "active",
              "create_time": "2025-03-27 08:45:58"
          },
          "email": {
              "status": "active",
              "create_time": "2025-03-27 08:47:12"
          }
      },
      "engagement_score": 0,
      "conversion_score": "0",
      "income": "0",
      "cost": "0",
      "organization_id": "0",
      "organization_name": "",
      "create_time": "2025-03-27 08:45:58",
      "update_time": "2025-03-27 08:47:11",
      "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