cURL
curl --request POST \
--url https://api.voyant.travel/email/v1/idempotency-conformance \
--header 'Authorization: Bearer <token>' \
--header 'Idempotency-Key: email-attempt-123' \
--header 'Content-Type: application/json' \
--data '{
"challenge": "<string>"
}'const response = await fetch("https://api.voyant.travel/email/v1/idempotency-conformance", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer <token>",
"Idempotency-Key": "email-attempt-123"
},
body: JSON.stringify({
"challenge": "<string>"
}),
});
const data = await response.json();import requests
response = requests.post(
"https://api.voyant.travel/email/v1/idempotency-conformance",
headers={
"Authorization": "Bearer <token>",
"Idempotency-Key": "email-attempt-123"
},
json={
"challenge": "<string>"
}
)
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.voyant.travel/email/v1/idempotency-conformance",
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([
'challenge' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$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.voyant.travel/email/v1/idempotency-conformance"
payload := strings.NewReader("{\n \"challenge\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
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.voyant.travel/email/v1/idempotency-conformance")
.header("Idempotency-Key", "<idempotency-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"challenge\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.voyant.travel/email/v1/idempotency-conformance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"challenge\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"protocolVersion": "voyant-cloud-email-idempotency/v1",
"operationId": "<string>",
"backendIdentity": "<string>",
"accountIdentity": "<string>",
"liveBackendIdentity": "<string>",
"liveAccountIdentity": "<string>",
"acceptedCount": 1,
"receipt": {
"transport": "sink",
"acceptance": "non-delivering-sink",
"challengeFingerprint": "<string>"
}
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Email
Prove durable email idempotency
Runs a safe non-delivering sink acceptance through the same persisted claim, replay, drift, lease, and settlement path as live email. Requires Resend configuration and scope: emails:send.
POST
/
email
/
v1
/
idempotency-conformance
cURL
curl --request POST \
--url https://api.voyant.travel/email/v1/idempotency-conformance \
--header 'Authorization: Bearer <token>' \
--header 'Idempotency-Key: email-attempt-123' \
--header 'Content-Type: application/json' \
--data '{
"challenge": "<string>"
}'const response = await fetch("https://api.voyant.travel/email/v1/idempotency-conformance", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer <token>",
"Idempotency-Key": "email-attempt-123"
},
body: JSON.stringify({
"challenge": "<string>"
}),
});
const data = await response.json();import requests
response = requests.post(
"https://api.voyant.travel/email/v1/idempotency-conformance",
headers={
"Authorization": "Bearer <token>",
"Idempotency-Key": "email-attempt-123"
},
json={
"challenge": "<string>"
}
)
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.voyant.travel/email/v1/idempotency-conformance",
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([
'challenge' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$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.voyant.travel/email/v1/idempotency-conformance"
payload := strings.NewReader("{\n \"challenge\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
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.voyant.travel/email/v1/idempotency-conformance")
.header("Idempotency-Key", "<idempotency-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"challenge\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.voyant.travel/email/v1/idempotency-conformance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"challenge\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"protocolVersion": "voyant-cloud-email-idempotency/v1",
"operationId": "<string>",
"backendIdentity": "<string>",
"accountIdentity": "<string>",
"liveBackendIdentity": "<string>",
"liveAccountIdentity": "<string>",
"acceptedCount": 1,
"receipt": {
"transport": "sink",
"acceptance": "non-delivering-sink",
"challengeFingerprint": "<string>"
}
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Voyant Cloud API token, passed as Authorization: Bearer <token>. Each token carries a fixed set of scopes; an operation rejects tokens missing its required scope.
Headers
Required string length:
1 - 256Body
application/json
Required string length:
1 - 1024Response
Persisted conformance evidence
Show child attributes
Show child attributes
⌘I