curl --request POST \
--url https://api.orbit.devotel.io/api/v1/cdp/conversions/forward/{platform} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"events": [
{
"event_name": "<string>",
"user": {
"email": "<string>",
"phone": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>",
"external_id": "<string>",
"madid": "<string>",
"fbc": "<string>",
"fbp": "<string>",
"gclid": "<string>",
"ttclid": "<string>",
"ttp": "<string>",
"ip": "<string>",
"user_agent": "<string>"
},
"event_time": 1,
"event_id": "<string>",
"value": 1,
"currency": "<string>",
"order_id": "<string>",
"action_source": "<string>",
"event_source_url": "<string>"
}
]
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/cdp/conversions/forward/{platform}"
payload = { "events": [
{
"event_name": "<string>",
"user": {
"email": "<string>",
"phone": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>",
"external_id": "<string>",
"madid": "<string>",
"fbc": "<string>",
"fbp": "<string>",
"gclid": "<string>",
"ttclid": "<string>",
"ttp": "<string>",
"ip": "<string>",
"user_agent": "<string>"
},
"event_time": 1,
"event_id": "<string>",
"value": 1,
"currency": "<string>",
"order_id": "<string>",
"action_source": "<string>",
"event_source_url": "<string>"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
events: [
{
event_name: '<string>',
user: {
email: '<string>',
phone: '<string>',
first_name: '<string>',
last_name: '<string>',
city: '<string>',
state: '<string>',
zip: '<string>',
country: '<string>',
external_id: '<string>',
madid: '<string>',
fbc: '<string>',
fbp: '<string>',
gclid: '<string>',
ttclid: '<string>',
ttp: '<string>',
ip: '<string>',
user_agent: '<string>'
},
event_time: 1,
event_id: '<string>',
value: 1,
currency: '<string>',
order_id: '<string>',
action_source: '<string>',
event_source_url: '<string>'
}
]
})
};
fetch('https://api.orbit.devotel.io/api/v1/cdp/conversions/forward/{platform}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/cdp/conversions/forward/{platform}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'events' => [
[
'event_name' => '<string>',
'user' => [
'email' => '<string>',
'phone' => '<string>',
'first_name' => '<string>',
'last_name' => '<string>',
'city' => '<string>',
'state' => '<string>',
'zip' => '<string>',
'country' => '<string>',
'external_id' => '<string>',
'madid' => '<string>',
'fbc' => '<string>',
'fbp' => '<string>',
'gclid' => '<string>',
'ttclid' => '<string>',
'ttp' => '<string>',
'ip' => '<string>',
'user_agent' => '<string>'
],
'event_time' => 1,
'event_id' => '<string>',
'value' => 1,
'currency' => '<string>',
'order_id' => '<string>',
'action_source' => '<string>',
'event_source_url' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/cdp/conversions/forward/{platform}"
payload := strings.NewReader("{\n \"events\": [\n {\n \"event_name\": \"<string>\",\n \"user\": {\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"country\": \"<string>\",\n \"external_id\": \"<string>\",\n \"madid\": \"<string>\",\n \"fbc\": \"<string>\",\n \"fbp\": \"<string>\",\n \"gclid\": \"<string>\",\n \"ttclid\": \"<string>\",\n \"ttp\": \"<string>\",\n \"ip\": \"<string>\",\n \"user_agent\": \"<string>\"\n },\n \"event_time\": 1,\n \"event_id\": \"<string>\",\n \"value\": 1,\n \"currency\": \"<string>\",\n \"order_id\": \"<string>\",\n \"action_source\": \"<string>\",\n \"event_source_url\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.orbit.devotel.io/api/v1/cdp/conversions/forward/{platform}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"events\": [\n {\n \"event_name\": \"<string>\",\n \"user\": {\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"country\": \"<string>\",\n \"external_id\": \"<string>\",\n \"madid\": \"<string>\",\n \"fbc\": \"<string>\",\n \"fbp\": \"<string>\",\n \"gclid\": \"<string>\",\n \"ttclid\": \"<string>\",\n \"ttp\": \"<string>\",\n \"ip\": \"<string>\",\n \"user_agent\": \"<string>\"\n },\n \"event_time\": 1,\n \"event_id\": \"<string>\",\n \"value\": 1,\n \"currency\": \"<string>\",\n \"order_id\": \"<string>\",\n \"action_source\": \"<string>\",\n \"event_source_url\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/conversions/forward/{platform}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"events\": [\n {\n \"event_name\": \"<string>\",\n \"user\": {\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"country\": \"<string>\",\n \"external_id\": \"<string>\",\n \"madid\": \"<string>\",\n \"fbc\": \"<string>\",\n \"fbp\": \"<string>\",\n \"gclid\": \"<string>\",\n \"ttclid\": \"<string>\",\n \"ttp\": \"<string>\",\n \"ip\": \"<string>\",\n \"user_agent\": \"<string>\"\n },\n \"event_time\": 1,\n \"event_id\": \"<string>\",\n \"value\": 1,\n \"currency\": \"<string>\",\n \"order_id\": \"<string>\",\n \"action_source\": \"<string>\",\n \"event_source_url\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ts": "2023-11-07T05:31:56Z",
"requested": 123,
"matched": 123,
"skipped": 123,
"batches": 123,
"dispatched": 123,
"dispatch_skipped": 123,
"error": "<string>"
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}Forward CDP track events as ad-platform conversions
Maps each supplied CDP track event to the network’s server-side conversion shape (Meta Conversions API / Google offline conversions / TikTok Events API / LinkedIn Conversions API / Snapchat CAPI / Pinterest Conversions API / Reddit Conversions API). Every PII identifier is SHA-256-hashed before it leaves the process — cleartext is never persisted, logged, or sent; click / device-context tokens are passed through raw as the networks require. Events with no matchable identifier are skipped, never blind-sent. The payload is batched and dispatched to the network via Nango when a connection is wired. The run is appended to a capped forward history. Owner / admin / developer only.
curl --request POST \
--url https://api.orbit.devotel.io/api/v1/cdp/conversions/forward/{platform} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"events": [
{
"event_name": "<string>",
"user": {
"email": "<string>",
"phone": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>",
"external_id": "<string>",
"madid": "<string>",
"fbc": "<string>",
"fbp": "<string>",
"gclid": "<string>",
"ttclid": "<string>",
"ttp": "<string>",
"ip": "<string>",
"user_agent": "<string>"
},
"event_time": 1,
"event_id": "<string>",
"value": 1,
"currency": "<string>",
"order_id": "<string>",
"action_source": "<string>",
"event_source_url": "<string>"
}
]
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/cdp/conversions/forward/{platform}"
payload = { "events": [
{
"event_name": "<string>",
"user": {
"email": "<string>",
"phone": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>",
"external_id": "<string>",
"madid": "<string>",
"fbc": "<string>",
"fbp": "<string>",
"gclid": "<string>",
"ttclid": "<string>",
"ttp": "<string>",
"ip": "<string>",
"user_agent": "<string>"
},
"event_time": 1,
"event_id": "<string>",
"value": 1,
"currency": "<string>",
"order_id": "<string>",
"action_source": "<string>",
"event_source_url": "<string>"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
events: [
{
event_name: '<string>',
user: {
email: '<string>',
phone: '<string>',
first_name: '<string>',
last_name: '<string>',
city: '<string>',
state: '<string>',
zip: '<string>',
country: '<string>',
external_id: '<string>',
madid: '<string>',
fbc: '<string>',
fbp: '<string>',
gclid: '<string>',
ttclid: '<string>',
ttp: '<string>',
ip: '<string>',
user_agent: '<string>'
},
event_time: 1,
event_id: '<string>',
value: 1,
currency: '<string>',
order_id: '<string>',
action_source: '<string>',
event_source_url: '<string>'
}
]
})
};
fetch('https://api.orbit.devotel.io/api/v1/cdp/conversions/forward/{platform}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/cdp/conversions/forward/{platform}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'events' => [
[
'event_name' => '<string>',
'user' => [
'email' => '<string>',
'phone' => '<string>',
'first_name' => '<string>',
'last_name' => '<string>',
'city' => '<string>',
'state' => '<string>',
'zip' => '<string>',
'country' => '<string>',
'external_id' => '<string>',
'madid' => '<string>',
'fbc' => '<string>',
'fbp' => '<string>',
'gclid' => '<string>',
'ttclid' => '<string>',
'ttp' => '<string>',
'ip' => '<string>',
'user_agent' => '<string>'
],
'event_time' => 1,
'event_id' => '<string>',
'value' => 1,
'currency' => '<string>',
'order_id' => '<string>',
'action_source' => '<string>',
'event_source_url' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/cdp/conversions/forward/{platform}"
payload := strings.NewReader("{\n \"events\": [\n {\n \"event_name\": \"<string>\",\n \"user\": {\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"country\": \"<string>\",\n \"external_id\": \"<string>\",\n \"madid\": \"<string>\",\n \"fbc\": \"<string>\",\n \"fbp\": \"<string>\",\n \"gclid\": \"<string>\",\n \"ttclid\": \"<string>\",\n \"ttp\": \"<string>\",\n \"ip\": \"<string>\",\n \"user_agent\": \"<string>\"\n },\n \"event_time\": 1,\n \"event_id\": \"<string>\",\n \"value\": 1,\n \"currency\": \"<string>\",\n \"order_id\": \"<string>\",\n \"action_source\": \"<string>\",\n \"event_source_url\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.orbit.devotel.io/api/v1/cdp/conversions/forward/{platform}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"events\": [\n {\n \"event_name\": \"<string>\",\n \"user\": {\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"country\": \"<string>\",\n \"external_id\": \"<string>\",\n \"madid\": \"<string>\",\n \"fbc\": \"<string>\",\n \"fbp\": \"<string>\",\n \"gclid\": \"<string>\",\n \"ttclid\": \"<string>\",\n \"ttp\": \"<string>\",\n \"ip\": \"<string>\",\n \"user_agent\": \"<string>\"\n },\n \"event_time\": 1,\n \"event_id\": \"<string>\",\n \"value\": 1,\n \"currency\": \"<string>\",\n \"order_id\": \"<string>\",\n \"action_source\": \"<string>\",\n \"event_source_url\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/conversions/forward/{platform}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"events\": [\n {\n \"event_name\": \"<string>\",\n \"user\": {\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"country\": \"<string>\",\n \"external_id\": \"<string>\",\n \"madid\": \"<string>\",\n \"fbc\": \"<string>\",\n \"fbp\": \"<string>\",\n \"gclid\": \"<string>\",\n \"ttclid\": \"<string>\",\n \"ttp\": \"<string>\",\n \"ip\": \"<string>\",\n \"user_agent\": \"<string>\"\n },\n \"event_time\": 1,\n \"event_id\": \"<string>\",\n \"value\": 1,\n \"currency\": \"<string>\",\n \"order_id\": \"<string>\",\n \"action_source\": \"<string>\",\n \"event_source_url\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ts": "2023-11-07T05:31:56Z",
"requested": 123,
"matched": 123,
"skipped": 123,
"batches": 123,
"dispatched": 123,
"dispatch_skipped": 123,
"error": "<string>"
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}Authorizations
Dashboard JWT token from Clerk
Path Parameters
facebook, google, tiktok, linkedin, snapchat, pinterest, reddit Body
Conversion-forward request. platform comes from the URL param; destination_id and the event_mappings are resolved from the tenant's stored config, never the body.
1 - 1000 elementsShow child attributes
Show child attributes