Retry Inbox Warmup
curl --request PATCH \
--url https://app.pixie.ai/api/email/accounts/{id}/retry-warmup \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.pixie.ai/api/email/accounts/{id}/retry-warmup"
headers = {"Authorization": "Bearer <token>"}
response = requests.patch(url, headers=headers)
print(response.text)const options = {method: 'PATCH', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.pixie.ai/api/email/accounts/{id}/retry-warmup', 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://app.pixie.ai/api/email/accounts/{id}/retry-warmup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
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://app.pixie.ai/api/email/accounts/{id}/retry-warmup"
req, _ := http.NewRequest("PATCH", 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))
}HttpResponse<String> response = Unirest.patch("https://app.pixie.ai/api/email/accounts/{id}/retry-warmup")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.pixie.ai/api/email/accounts/{id}/retry-warmup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"account": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "email",
"email_address": "[email protected]",
"status": "pending",
"warmup_status": "not_started",
"daily_limit": 4503599627370495,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"agentmail_inbox_id": "<string>",
"email_domains": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"status": "<string>"
}
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Email Inboxes
Retry Inbox Warmup
Re-attempt warmup enablement for an inbox stuck in pending / not_started.
PATCH
/
api
/
email
/
accounts
/
{id}
/
retry-warmup
Retry Inbox Warmup
curl --request PATCH \
--url https://app.pixie.ai/api/email/accounts/{id}/retry-warmup \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.pixie.ai/api/email/accounts/{id}/retry-warmup"
headers = {"Authorization": "Bearer <token>"}
response = requests.patch(url, headers=headers)
print(response.text)const options = {method: 'PATCH', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.pixie.ai/api/email/accounts/{id}/retry-warmup', 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://app.pixie.ai/api/email/accounts/{id}/retry-warmup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
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://app.pixie.ai/api/email/accounts/{id}/retry-warmup"
req, _ := http.NewRequest("PATCH", 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))
}HttpResponse<String> response = Unirest.patch("https://app.pixie.ai/api/email/accounts/{id}/retry-warmup")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.pixie.ai/api/email/accounts/{id}/retry-warmup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"account": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "email",
"email_address": "[email protected]",
"status": "pending",
"warmup_status": "not_started",
"daily_limit": 4503599627370495,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"agentmail_inbox_id": "<string>",
"email_domains": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"status": "<string>"
}
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}CLI:
pixie email account retry-warmup --id <id>
Overview
Retry path for inboxes whose initial warmup-enable call failed after the DB row was already written. The route:- Loads the account and verifies ownership (plus pulls its linked
email_domainsrow for context). - Gates on
status: "pending"ANDwarmup_status: "not_started"— any other combination returns 409. - Calls the warmup enablement path (idempotent; already-warming emails are accepted as success).
- Transitions the row to
status: "warming"/warmup_status: "warming"via compare-and-swap, so concurrent retries can’t double-apply.
AI agent notes
Warmup is a multi-day process. A successful retry only moves the account into
warming — it still has to accrue reputation over ~2–3 weeks before it graduates to active and can send. Track progress via getWarmupAnalytics.Idempotent. If warmup was already running from a prior partial attempt, the retry still returns 200 and transitions the DB row forward. Safe to call until success.Gate carefully. Retry is only valid when status === "pending" AND warmup_status === "not_started". If the account already warmed up, banned out, or graduated to active, this endpoint returns 409 — use getWarmupAnalytics to read current state instead.Status-vs-502 split.502means the warmup provider rejected the call — try again after a short backoff.500with the message “Warmup was enabled but failed to update account status” means the provider accepted but our DB write failed. Safe to retry immediately; a second warmup call is a no-op.
getWarmupAnalytics to watch reputation climb; launchCampaign once status === "active".Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Supabase UUID of the email account. Must be owned by the caller and currently in status: pending + warmup_status: not_started.
Minimum string length:
1Response
Warmup re-enabled. Returns the refreshed account row.
Account row after the retry. On success, status is warming and warmup_status is warming.
Show child attributes
Show child attributes
Was this page helpful?