order array specifies a domain and an optional forwarding URL.{
"order": [{ "domain": "prewarm-acmecorp.com", "forwardTo": "https://acmecorp.com" }],
"serviceProvider": "GOOGLE",
"google": { "googleOauthRoute": "https://yourapp.com/oauth/google", "clientId": "...", "appName": "YourApp" },
"autoRenew": true
}{
"order": [{ "domain": "prewarm-acmecorp.com" }],
"serviceProvider": "MICROSOFT",
"microsoftOauthRoute": "https://yourapp.com/oauth/microsoft"
}Note: Returns 201 on success. Requires sufficient wallet balance.
curl --location 'https://customers.coldmailreseller.com/api/v1/integration/pre-warmup/order?userId=H8M9JV2S9HMPYFQW393AZHQVD4XM' \
--header 'cmr-x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"order": [
{
"domain": "prewarm-acmecorp.com",
"forwardTo": "https://acmecorp.com"
}
],
"serviceProvider": "GOOGLE",
"autoRenew": true,
"google": {
"googleOauthRoute": "string",
"clientId": "string",
"appName": "string"
},
"microsoftOauthRoute": "string"
}'{
"status": 201,
"message": "Prewarmup order created and queued for processing, make sure to have enough balance in your wallet!",
"data": {
"orderId": "H8M9JV2S9HMPYFQW393AZHQVD4XM"
},
"actionId": "ACT_7a078272-0fa7-4db4-a85b-c78697dacea1"
}