List Conversions
List Conversions
GET
https://api.ocamba.com/v2/adex/conversions
Returns a list of Conversions
Query parameters
parametersResponse schemas
›
200
application/json
GET https://api.ocamba.com/v2/adex/conversions HTTP/1.1
Host: api.ocamba.com
Authorization: Bearer YOUR_SECRET_TOKEN
curl -X GET "https://api.ocamba.com/v2/adex/conversions" \
-H "Authorization: Bearer $TOKEN"
fetch("https://api.ocamba.com/v2/adex/conversions", {
method: "GET",
headers: { Authorization: `Bearer ${TOKEN}` }
}).then(r => r.json());
$ch = curl_init("https://api.ocamba.com/v2/adex/conversions");
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
HTTP/1.1 200 OK
Content-Type: application/json
{
"total": 31,
"items": [
{
"id": "13472",
"company_id": "6197120",
"account_id": "6197120",
"name": "Example Name",
"description": "The description of a Conversion has the max of 2000 characters",
"status": "active",
"method": "0",
"duplication_policy": null,
"event_counter": 0,
"create_time": "2021-10-29 15:40:10",
"update_time": "2021-10-29 15:40:10"
}
]
}
Responses
Tip
1
Searchable fields are name and description.
2
Sortable fields are name, status, duplication_policy, method, event_counter and create_time.
3
Filterable fields are id, name, status, duplication_policy, method, event_counter, create_time and update_time.