curl --request POST \
--url https://api.orbit.devotel.io/api/v1/cdp/offers/decideimport requests
url = "https://api.orbit.devotel.io/api/v1/cdp/offers/decide"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.orbit.devotel.io/api/v1/cdp/offers/decide', 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/offers/decide",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/cdp/offers/decide"
req, _ := http.NewRequest("POST", url, nil)
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/offers/decide")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/offers/decide")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"contact_id": "cnt_014JEXAMPLE000",
"cohort": "treatment",
"holdout": false,
"suppressed": false,
"holdout_percent": 10,
"holdout_bucket": 94,
"chosen": {
"offer_id": "welcome-back-10",
"value": 10,
"priority": 5
},
"evaluated_count": 2,
"eligible_count": 1,
"evaluations": [
{
"offer_id": "welcome-back-10",
"value": 10,
"priority": 5,
"eligible": true,
"ineligible_reason": null,
"rank": 1
},
{
"offer_id": "free-trial-upgrade",
"value": 25,
"priority": null,
"eligible": false,
"ineligible_reason": "channel_mismatch",
"rank": null
}
]
},
"meta": {
"request_id": "req_EXAMPLE",
"timestamp": "2026-09-02T12:00:00.000Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "<string>",
"status": 429,
"retry_after": 2
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}Decide the best eligible offer for one contact
Real-time offer decision engine: given one contact, the caller’s context (channel, locale, segment memberships, redemption counts, cart value, available SKUs), and a candidate catalog of offers — each with its own eligibility constraints (active window, per-contact cap, budget, mutual-exclusivity group, segment/channel/locale/cart/SKU gates) — it returns the single best offer the contact is eligible for plus a full ranked audit of why every other offer was ranked or rejected, and an optional deterministic holdout-cohort assignment (holdout.percent + salt) so treatment-vs-holdout lift can be measured. Stateless and read-only: the caller owns the inputs, and delivery of the chosen offer stays with the caller’s campaign wiring. Owner / admin / developer only.
curl --request POST \
--url https://api.orbit.devotel.io/api/v1/cdp/offers/decideimport requests
url = "https://api.orbit.devotel.io/api/v1/cdp/offers/decide"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.orbit.devotel.io/api/v1/cdp/offers/decide', 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/offers/decide",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/cdp/offers/decide"
req, _ := http.NewRequest("POST", url, nil)
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/offers/decide")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/offers/decide")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"contact_id": "cnt_014JEXAMPLE000",
"cohort": "treatment",
"holdout": false,
"suppressed": false,
"holdout_percent": 10,
"holdout_bucket": 94,
"chosen": {
"offer_id": "welcome-back-10",
"value": 10,
"priority": 5
},
"evaluated_count": 2,
"eligible_count": 1,
"evaluations": [
{
"offer_id": "welcome-back-10",
"value": 10,
"priority": 5,
"eligible": true,
"ineligible_reason": null,
"rank": 1
},
{
"offer_id": "free-trial-upgrade",
"value": 25,
"priority": null,
"eligible": false,
"ineligible_reason": "channel_mismatch",
"rank": null
}
]
},
"meta": {
"request_id": "req_EXAMPLE",
"timestamp": "2026-09-02T12:00:00.000Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "<string>",
"status": 429,
"retry_after": 2
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}Response
The chosen offer, per-offer eligibility evaluations, and the holdout-cohort assignment.
The chosen offer, per-offer eligibility evaluations, and the holdout-cohort assignment.