View List

View List

GET https://api.ocamba.com/v2/adex/lists/{id}
Retrieves the details of a List that has previously been created if a valid identifier was provided

Tip
If you don’t know the list id, list the lists to find it.

Path parameters

parameters

Query parameters

parameters

Response schemas

curl -X GET \
 "https://api.ocamba.com/v2/adex/lists/{id}" \
  -H "Authorization: Bearer {TOKEN}"
const url = 'https://api.ocamba.com/v2/adex/lists/{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/v2/adex/lists/{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": "1862",
      "company_id": "6197120",
      "account_id": "93662681",
      "name": "test",
      "type": "category",
      "zone_count": 1,
      "create_time": "2020-10-29 07:39:52",
      "update_time": "2021-12-06 12:59:13"
    }
  ]
}
Responses