Get broadcast warmup details
curl --request GET \
--url https://api.instantly.ai/api/v2/email-marketing/broadcasts/{id}/warmup \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.instantly.ai/api/v2/email-marketing/broadcasts/{id}/warmup"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.instantly.ai/api/v2/email-marketing/broadcasts/{id}/warmup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.instantly.ai/api/v2/email-marketing/broadcasts/{id}/warmup")
.header("Authorization", "Bearer <token>")
.asString();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.instantly.ai/api/v2/email-marketing/broadcasts/{id}/warmup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.instantly.ai/api/v2/email-marketing/broadcasts/{id}/warmup"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"broadcast_id": "01234567-89ab-cdef-0123-456789abcdef",
"warmup_state": null,
"subscriber_count": 5000,
"progress": {
"current_day": 2,
"total_days": 7,
"warmup_days": 7,
"daily_sent": 150,
"daily_limit": 260,
"total_sent": 310
},
"schedule": [
{
"day": 1,
"percentage": 8,
"daily_limit": 160,
"projected_sent": 160,
"remaining": 4840,
"phase": "warmup"
}
]
}{
"statusCode": 400,
"error": "Bad Request",
"message": "limit: must be at most 50",
"code": "VALIDATION_ERROR"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "Missing Authorization header"
}{
"statusCode": 402,
"error": "Payment Required",
"message": "Workspace does not have an active paid plan"
}{
"statusCode": 403,
"error": "Forbidden",
"message": "Workspace suspended due to a high bounce or spam complaint rate. Please contact support.",
"code": "WORKSPACE_SUSPENDED"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Broadcast not found",
"code": "BROADCAST_NOT_FOUND"
}{
"statusCode": 408,
"error": "Request Timeout",
"message": "An internal error occurred"
}{
"statusCode": 409,
"error": "Conflict",
"message": "The resource has changed. Reload it and try again.",
"code": "CONFLICT"
}{
"statusCode": 429,
"error": "Too Many Requests",
"message": "Rate limit exceeded"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "An internal error occurred"
}Inbound & Lifecycle: Broadcast
Get broadcast warmup details
Returns the sending schedule and live progress for a broadcast. Warmup gradually ramps up daily sending volume to protect domain reputation. Capacity-limited sends can also have a schedule and progress when warmup is not needed. Returns 404 with code SUBSCRIBERS_NOT_FOUND for an existing broadcast that has no audience yet or whose subscriber group was deleted.
Requires one of the following scopes: email_marketing_broadcasts:read, email_marketing_broadcasts:all, all:read, all:all
GET
/
api
/
v2
/
email-marketing
/
broadcasts
/
{id}
/
warmup
Get broadcast warmup details
curl --request GET \
--url https://api.instantly.ai/api/v2/email-marketing/broadcasts/{id}/warmup \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.instantly.ai/api/v2/email-marketing/broadcasts/{id}/warmup"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.instantly.ai/api/v2/email-marketing/broadcasts/{id}/warmup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.instantly.ai/api/v2/email-marketing/broadcasts/{id}/warmup")
.header("Authorization", "Bearer <token>")
.asString();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.instantly.ai/api/v2/email-marketing/broadcasts/{id}/warmup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.instantly.ai/api/v2/email-marketing/broadcasts/{id}/warmup"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"broadcast_id": "01234567-89ab-cdef-0123-456789abcdef",
"warmup_state": null,
"subscriber_count": 5000,
"progress": {
"current_day": 2,
"total_days": 7,
"warmup_days": 7,
"daily_sent": 150,
"daily_limit": 260,
"total_sent": 310
},
"schedule": [
{
"day": 1,
"percentage": 8,
"daily_limit": 160,
"projected_sent": 160,
"remaining": 4840,
"phase": "warmup"
}
]
}{
"statusCode": 400,
"error": "Bad Request",
"message": "limit: must be at most 50",
"code": "VALIDATION_ERROR"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "Missing Authorization header"
}{
"statusCode": 402,
"error": "Payment Required",
"message": "Workspace does not have an active paid plan"
}{
"statusCode": 403,
"error": "Forbidden",
"message": "Workspace suspended due to a high bounce or spam complaint rate. Please contact support.",
"code": "WORKSPACE_SUSPENDED"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Broadcast not found",
"code": "BROADCAST_NOT_FOUND"
}{
"statusCode": 408,
"error": "Request Timeout",
"message": "An internal error occurred"
}{
"statusCode": 409,
"error": "Conflict",
"message": "The resource has changed. Reload it and try again.",
"code": "CONFLICT"
}{
"statusCode": 429,
"error": "Too Many Requests",
"message": "Rate limit exceeded"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "An internal error occurred"
}Authorizations
Path Parameters
Response
Warmup schedule and progress for the broadcast