View Conversion event
View Conversion event
GET
https://api.ocamba.com/v2/adex/conversion-events/{id}
Retrieves the details of a Concersion event that has previously been created if a valid identifier was provided
Path parameters
parametersQuery parameters
parametersResponse schemas
›
200
application/json
GET https://api.ocamba.com/v2/adex/conversion-events/{id} HTTP/1.1
Host: api.ocamba.com
Authorization: Bearer YOUR_SECRET_TOKEN
curl -X GET "https://api.ocamba.com/v2/adex/conversion-events/{id}" \
-H "Authorization: Bearer $TOKEN"
fetch("https://api.ocamba.com/v2/adex/conversion-events/{id}", {
method: "GET",
headers: { Authorization: `Bearer ${TOKEN}` }
}).then(r => r.json());
$ch = curl_init("https://api.ocamba.com/v2/adex/conversion-events/{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
HTTP/1.1 200 OK
Content-Type: application/json
{
"total": 1,
"items": [
{
"id": "2209735596",
"company_id": "6197120",
"conversion_id": "13694",
"full_name": "Direct purchase",
"partner": "Direct",
"name": "purchase",
"system": 0,
"create_time": "2021-10-29 15:40:10",
"update_time": "2021-10-29 15:40:10"
}
]
}
Responses
Tip
1
If you don’t know the conversion event id, list the events to find it.