subscriptionIddomainIdautoRenewserviceProviderconfirm: true)confirm is set to true:confirm: false)confirm is set to false:subscriptionId or domainIdconfirm: truedomainIdautoRenew parameter to specify renewal preferencessubscriptionId, mailboxes are added seamlessly to the existing plan| Parameter | Type | Required | Description |
|---|---|---|---|
| subscriptionId | string | Conditional* | ID of the active subscription to add mailboxes to |
| domainId | string | Conditional* | ID of the domain used to create a new subscription |
| autoRenew | boolean | Conditional** | Auto-renewal setting for new subscriptions (Scenario 2 only) |
| confirm | boolean | Required | true: Process immediately, false: Create without processing |
subscriptionId or domainId must be provided based on your subscription statusdomainId (Scenario 2) to create a new subscriptiononWarmup)onWarmup: true on individual mailbox objects.{
"mailboxes": {
"example.org": [
{ "username": "alice", "firstName": "Alice", "lastName": "Smith", "onWarmup": true },
{ "username": "bob", "firstName": "Bob", "lastName": "Jones", "onWarmup": false }
]
}
}| Field | Type | Required | Description |
|---|---|---|---|
onWarmup | boolean | No | If true, enrolls the mailbox in email warmup after provisioning. Defaults to false. |
POST /mailboxes/{mailboxId}/warmupcurl --location 'https://customers.coldmailreseller.com/api/v1/integration/orders/create-mailbox-order/json?userId=H8M9JV2S9HMPYFQW393AZHQVD4XM' \
--header 'cmr-x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"mailboxes": {
"property1": [
{
"username": "bob",
"firstName": "Bob",
"lastName": "Smith",
"onWarmup": true
}
],
"property2": [
{
"username": "bob",
"firstName": "Bob",
"lastName": "Smith",
"onWarmup": true
}
]
},
"subscriptionId": "sub_V2M9KP3XAQZL",
"domainId": "dom_V2M9KP3XAQZL",
"serviceProvider": "GOOGLE",
"domains": [
{
"domain": "acmecorp.com",
"years": 1
}
],
"autoRenew": true,
"confirm": true,
"google": {
"googleOauthRoute": "string",
"clientId": "string",
"appName": "string"
},
"microsoftOauthRoute": "https://yourapp.com/oauth/microsoft/callback",
"billingCycle": "MONTHLY"
}'{
"status": 200,
"message": "Order created and queued for processing, make sure to have enough balance in your wallet!",
"data": {
"orderId": "ord_R8K2LQPZA9XM",
"unavailableDomains": [
"string"
]
},
"actionId": "ACT_7a078272-0fa7-4db4-a85b-c78697dacea1"
}