curl --request POST \
--url https://api.reply.io/v3/email-accounts/procurement/pre-warmed-domains/estimate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"serviceProvider": "Google",
"domain": {
"domainName": "trademomentum.co",
"forwardTo": "https://example.com"
}
}
'import requests
url = "https://api.reply.io/v3/email-accounts/procurement/pre-warmed-domains/estimate"
payload = {
"serviceProvider": "Google",
"domain": {
"domainName": "trademomentum.co",
"forwardTo": "https://example.com"
}
}
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({
serviceProvider: 'Google',
domain: {domainName: 'trademomentum.co', forwardTo: 'https://example.com'}
})
};
fetch('https://api.reply.io/v3/email-accounts/procurement/pre-warmed-domains/estimate', 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.reply.io/v3/email-accounts/procurement/pre-warmed-domains/estimate",
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([
'serviceProvider' => 'Google',
'domain' => [
'domainName' => 'trademomentum.co',
'forwardTo' => 'https://example.com'
]
]),
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.reply.io/v3/email-accounts/procurement/pre-warmed-domains/estimate"
payload := strings.NewReader("{\n \"serviceProvider\": \"Google\",\n \"domain\": {\n \"domainName\": \"trademomentum.co\",\n \"forwardTo\": \"https://example.com\"\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.reply.io/v3/email-accounts/procurement/pre-warmed-domains/estimate")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"serviceProvider\": \"Google\",\n \"domain\": {\n \"domainName\": \"trademomentum.co\",\n \"forwardTo\": \"https://example.com\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reply.io/v3/email-accounts/procurement/pre-warmed-domains/estimate")
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 \"serviceProvider\": \"Google\",\n \"domain\": {\n \"domainName\": \"trademomentum.co\",\n \"forwardTo\": \"https://example.com\"\n }\n}"
response = http.request(request)
puts response.read_body{
"currency": "USD",
"domain": {
"domainName": "outreach-hq.com",
"price": 1299
},
"mailboxSeats": {
"currentCount": 0,
"addedCount": 2,
"totalCount": 2,
"unitPrice": 400
},
"emailAccountSeats": {
"currentCount": 3,
"addedCount": 2,
"totalCount": 5,
"unitPrice": 1500
},
"subtotal": 4065,
"discount": 0,
"total": 4065
}Estimate pre-warmed domain cost
New. This endpoint shipped recently. If anything about it is unclear or could work better for you, tell us in the developer Slack.
channels:read scope (or a broader one that includes it).
Prices one pre-warmed bundle — the domain plus the mailboxes that are already warming on it — without ordering anything. Nothing is charged and no order is created.
Send the same body you would send to the purchase: serviceProvider and domain.domainName, exactly as the available pre-warmed domains list returns them. The mailboxes are not chosen here: a bundle is sold whole, so mailboxSeats.addedCount is however many mailboxes that bundle carries.
Amounts are in cents. domain.price is the annual domain price and mailboxSeats.unitPrice the monthly price of one mailbox seat, both as listed for the bundle. What the purchase actually charges is total, which the billing provider prorates to the rest of the current term — so it is normally not the sum of the list prices.
curl --request POST \
--url https://api.reply.io/v3/email-accounts/procurement/pre-warmed-domains/estimate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"serviceProvider": "Google",
"domain": {
"domainName": "trademomentum.co",
"forwardTo": "https://example.com"
}
}
'import requests
url = "https://api.reply.io/v3/email-accounts/procurement/pre-warmed-domains/estimate"
payload = {
"serviceProvider": "Google",
"domain": {
"domainName": "trademomentum.co",
"forwardTo": "https://example.com"
}
}
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({
serviceProvider: 'Google',
domain: {domainName: 'trademomentum.co', forwardTo: 'https://example.com'}
})
};
fetch('https://api.reply.io/v3/email-accounts/procurement/pre-warmed-domains/estimate', 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.reply.io/v3/email-accounts/procurement/pre-warmed-domains/estimate",
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([
'serviceProvider' => 'Google',
'domain' => [
'domainName' => 'trademomentum.co',
'forwardTo' => 'https://example.com'
]
]),
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.reply.io/v3/email-accounts/procurement/pre-warmed-domains/estimate"
payload := strings.NewReader("{\n \"serviceProvider\": \"Google\",\n \"domain\": {\n \"domainName\": \"trademomentum.co\",\n \"forwardTo\": \"https://example.com\"\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.reply.io/v3/email-accounts/procurement/pre-warmed-domains/estimate")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"serviceProvider\": \"Google\",\n \"domain\": {\n \"domainName\": \"trademomentum.co\",\n \"forwardTo\": \"https://example.com\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reply.io/v3/email-accounts/procurement/pre-warmed-domains/estimate")
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 \"serviceProvider\": \"Google\",\n \"domain\": {\n \"domainName\": \"trademomentum.co\",\n \"forwardTo\": \"https://example.com\"\n }\n}"
response = http.request(request)
puts response.read_body{
"currency": "USD",
"domain": {
"domainName": "outreach-hq.com",
"price": 1299
},
"mailboxSeats": {
"currentCount": 0,
"addedCount": 2,
"totalCount": 2,
"unitPrice": 400
},
"emailAccountSeats": {
"currentCount": 3,
"addedCount": 2,
"totalCount": 5,
"unitPrice": 1500
},
"subtotal": 4065,
"discount": 0,
"total": 4065
}Authorizations
Body
Same shape and rules for the estimate and the purchase, so one body can be posted to both.
Response
Price breakdown for the bundle
Every amount is in cents — 1299 means twelve dollars and ninety-nine cents.