Create an Orbit audience destination
curl --request POST \
--url https://api.aws53.cloud/v1/intent/audiences/{audienceId}/destinations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"destinationType": "webhook",
"name": "Example contact webhook",
"url": "https://integrations.example.test/intent",
"eventTypes": [
"intent.audience.contact.upserted"
],
"timeoutMs": 10000
}
'import requests
url = "https://api.aws53.cloud/v1/intent/audiences/{audienceId}/destinations"
payload = {
"destinationType": "webhook",
"name": "Example contact webhook",
"url": "https://integrations.example.test/intent",
"eventTypes": ["intent.audience.contact.upserted"],
"timeoutMs": 10000
}
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({
destinationType: 'webhook',
name: 'Example contact webhook',
url: 'https://integrations.example.test/intent',
eventTypes: ['intent.audience.contact.upserted'],
timeoutMs: 10000
})
};
fetch('https://api.aws53.cloud/v1/intent/audiences/{audienceId}/destinations', 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.aws53.cloud/v1/intent/audiences/{audienceId}/destinations",
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([
'destinationType' => 'webhook',
'name' => 'Example contact webhook',
'url' => 'https://integrations.example.test/intent',
'eventTypes' => [
'intent.audience.contact.upserted'
],
'timeoutMs' => 10000
]),
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.aws53.cloud/v1/intent/audiences/{audienceId}/destinations"
payload := strings.NewReader("{\n \"destinationType\": \"webhook\",\n \"name\": \"Example contact webhook\",\n \"url\": \"https://integrations.example.test/intent\",\n \"eventTypes\": [\n \"intent.audience.contact.upserted\"\n ],\n \"timeoutMs\": 10000\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.aws53.cloud/v1/intent/audiences/{audienceId}/destinations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"destinationType\": \"webhook\",\n \"name\": \"Example contact webhook\",\n \"url\": \"https://integrations.example.test/intent\",\n \"eventTypes\": [\n \"intent.audience.contact.upserted\"\n ],\n \"timeoutMs\": 10000\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aws53.cloud/v1/intent/audiences/{audienceId}/destinations")
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 \"destinationType\": \"webhook\",\n \"name\": \"Example contact webhook\",\n \"url\": \"https://integrations.example.test/intent\",\n \"eventTypes\": [\n \"intent.audience.contact.upserted\"\n ],\n \"timeoutMs\": 10000\n}"
response = http.request(request)
puts response.read_body{
"data": {
"destination": {
"id": "22222222-2222-4222-8222-222222222222",
"organizationId": "33333333-3333-4333-8333-333333333333",
"audienceId": "11111111-1111-4111-8111-111111111111",
"name": "Example contact webhook",
"destinationType": "webhook",
"status": "draft",
"validationPolicy": "valid_or_catchall",
"configRevision": 1,
"approvedConfigHash": null,
"lastSuccessfulRunId": null,
"initialSyncCompletedAt": null,
"stats": {
"totalSynced": 0,
"totalSkipped": 0,
"totalFailed": 0,
"consecutiveErrors": 0,
"lastDeliveredAt": null,
"lastErrorCode": null,
"lastErrorMessage": null,
"lastErrorAt": null
},
"webhook": {
"url": "https://integrations.example.test/intent",
"signingVersion": "v1",
"eventTypes": [
"intent.audience.contact.upserted"
],
"timeoutMs": 10000
},
"pipedream": null,
"createdAt": "2026-01-15T12:00:00.000Z",
"updatedAt": "2026-01-15T12:00:00.000Z"
},
"webhookSecret": "whsec_example_not_a_real_secret"
},
"meta": {
"timestamp": "2026-01-15T12:00:00.000Z",
"request_id": "example-request"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "<string>",
"request_id": "<string>"
}
}Destinations
Create an Orbit audience destination
Creates a draft webhook or EmailOctopus destination for an audience owned by the authenticated organization. Requires a non-viewer member using bearer authentication. Webhook URLs must resolve to public addresses and subscribe to contact upserts. A new webhook signing secret is returned only in this response. No contacts are delivered until activation. Requests share a 120-per-60-second allowance per source IP within this integration, destination, or delivery route family.
POST
/
v1
/
intent
/
audiences
/
{audienceId}
/
destinations
Create an Orbit audience destination
curl --request POST \
--url https://api.aws53.cloud/v1/intent/audiences/{audienceId}/destinations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"destinationType": "webhook",
"name": "Example contact webhook",
"url": "https://integrations.example.test/intent",
"eventTypes": [
"intent.audience.contact.upserted"
],
"timeoutMs": 10000
}
'import requests
url = "https://api.aws53.cloud/v1/intent/audiences/{audienceId}/destinations"
payload = {
"destinationType": "webhook",
"name": "Example contact webhook",
"url": "https://integrations.example.test/intent",
"eventTypes": ["intent.audience.contact.upserted"],
"timeoutMs": 10000
}
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({
destinationType: 'webhook',
name: 'Example contact webhook',
url: 'https://integrations.example.test/intent',
eventTypes: ['intent.audience.contact.upserted'],
timeoutMs: 10000
})
};
fetch('https://api.aws53.cloud/v1/intent/audiences/{audienceId}/destinations', 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.aws53.cloud/v1/intent/audiences/{audienceId}/destinations",
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([
'destinationType' => 'webhook',
'name' => 'Example contact webhook',
'url' => 'https://integrations.example.test/intent',
'eventTypes' => [
'intent.audience.contact.upserted'
],
'timeoutMs' => 10000
]),
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.aws53.cloud/v1/intent/audiences/{audienceId}/destinations"
payload := strings.NewReader("{\n \"destinationType\": \"webhook\",\n \"name\": \"Example contact webhook\",\n \"url\": \"https://integrations.example.test/intent\",\n \"eventTypes\": [\n \"intent.audience.contact.upserted\"\n ],\n \"timeoutMs\": 10000\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.aws53.cloud/v1/intent/audiences/{audienceId}/destinations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"destinationType\": \"webhook\",\n \"name\": \"Example contact webhook\",\n \"url\": \"https://integrations.example.test/intent\",\n \"eventTypes\": [\n \"intent.audience.contact.upserted\"\n ],\n \"timeoutMs\": 10000\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aws53.cloud/v1/intent/audiences/{audienceId}/destinations")
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 \"destinationType\": \"webhook\",\n \"name\": \"Example contact webhook\",\n \"url\": \"https://integrations.example.test/intent\",\n \"eventTypes\": [\n \"intent.audience.contact.upserted\"\n ],\n \"timeoutMs\": 10000\n}"
response = http.request(request)
puts response.read_body{
"data": {
"destination": {
"id": "22222222-2222-4222-8222-222222222222",
"organizationId": "33333333-3333-4333-8333-333333333333",
"audienceId": "11111111-1111-4111-8111-111111111111",
"name": "Example contact webhook",
"destinationType": "webhook",
"status": "draft",
"validationPolicy": "valid_or_catchall",
"configRevision": 1,
"approvedConfigHash": null,
"lastSuccessfulRunId": null,
"initialSyncCompletedAt": null,
"stats": {
"totalSynced": 0,
"totalSkipped": 0,
"totalFailed": 0,
"consecutiveErrors": 0,
"lastDeliveredAt": null,
"lastErrorCode": null,
"lastErrorMessage": null,
"lastErrorAt": null
},
"webhook": {
"url": "https://integrations.example.test/intent",
"signingVersion": "v1",
"eventTypes": [
"intent.audience.contact.upserted"
],
"timeoutMs": 10000
},
"pipedream": null,
"createdAt": "2026-01-15T12:00:00.000Z",
"updatedAt": "2026-01-15T12:00:00.000Z"
},
"webhookSecret": "whsec_example_not_a_real_secret"
},
"meta": {
"timestamp": "2026-01-15T12:00:00.000Z",
"request_id": "example-request"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {
"timestamp": "<string>",
"request_id": "<string>"
}
}Authorizations
bearerAuthapiKeyAuth
Dashboard access token. Send as Authorization: Bearer .
Path Parameters
Audience identifier within the authenticated organization.
Example:
"11111111-1111-4111-8111-111111111111"
Body
application/json
- Option 1
- Option 2
Available options:
webhook Required string length:
1 - 160Minimum array length:
1Available options:
intent.audience.sync.started, intent.audience.contact.upserted, intent.audience.sync.completed Required range:
1000 <= x <= 30000Was this page helpful?