> ## Documentation Index
> Fetch the complete documentation index at: https://api.smartlead.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Bulk Update Warmup

> Turn warmup on or off for up to 1000 email accounts in one all-or-nothing request

Applies one warmup setting to many email accounts at once. The request is all or nothing: if any id is not yours, or has no warmup configuration yet, nothing is changed and you get a 400 that lists the bad ids.

> [!WARNING]
>
> When `warmup_enabled` is `true`, every account gets the settings you send (or the defaults below) and its ramp-up starts again from the beginning. To keep an account's current ramp-up progress, use the per-account [Warmup Settings](https://api.smartlead.ai/api-reference/email-accounts/warmup-settings.md) endpoint instead.

## Query Parameters

**api\_key** `string` *required*

Your SmartLead API key

## Request Body

**email\_account\_ids** `array` *required*

Email account ids (positive integers, no duplicates). 1 to 1000 ids.

**warmup\_enabled** `boolean` *required*

`true` turns warmup on with `settings`; `false` turns it off (status `INACTIVE`) and ignores `settings`. Must be a real boolean, not the string `"true"`.

**settings** `object`

Required when `warmup_enabled` is `true`. Fields you leave out use the default shown.

**settings**

**total\_warmup\_per\_day** `integer`

Warmup emails per day, 1 to 50. Default 40.

**is\_rampup\_enabled** `boolean`

Ramp up the daily volume gradually. Default `false`.

**daily\_rampup** `integer`

Daily ramp-up increase, 5 to 20. Used only when `is_rampup_enabled` is `true`. Default 5.

**reply\_rate\_percentage** `integer`

Warmup reply rate, 20 to 100. Default 20.

**auto\_adjust\_warmup** `boolean`

Automatically adjust warmup volume based on performance. Left unchanged when omitted.

**use\_custom\_domain** `boolean`

Warm up the account's custom domain tracking link. Left unchanged when omitted.

**send\_warmups\_only\_on\_weekdays** `boolean`

Send warmup emails on weekdays only. Left unchanged when omitted.

**warmup\_key\_id** `string`

Warmup service key identifier, 5 to 36 characters. Left unchanged when omitted.

```bash cURL theme={null}
curl -X POST "https://server.smartlead.ai/api/v1/email-accounts/warmup/bulk?api_key=YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email_account_ids": [101, 102, 103],
    "warmup_enabled": true,
    "settings": { "total_warmup_per_day": 30, "is_rampup_enabled": true, "daily_rampup": 5 }
  }'
```

```python Python theme={null}
import requests

response = requests.post(
    "https://server.smartlead.ai/api/v1/email-accounts/warmup/bulk",
    params={"api_key": "YOUR_API_KEY"},
    json={"email_account_ids": [101, 102, 103], "warmup_enabled": False},
)
print(response.json())
```

```json 200 theme={null}
{
  "ok": true,
  "message": "Email warmup details updated successfully!",
  "updated_count": 3
}
```

```json 400 - Unknown or not your accounts theme={null}
{
  "ok": false,
  "errorCode": "ACCOUNTS_NOT_FOUND_OR_UNAUTHORIZED",
  "message": "One or more email_account_ids were not found or do not belong to the caller.",
  "details": { "invalid_ids": [103] }
}
```

```json 400 - No warmup configuration yet theme={null}
{
  "ok": false,
  "errorCode": "WARMUP_NOT_CONFIGURED",
  "message": "One or more email_account_ids have no warmup configuration. Use single-update first.",
  "details": { "invalid_ids": [102] }
}
```

```json 500 theme={null}
{
  "ok": false,
  "message": "Internal error while updating warmup details."
}
```

## Related Endpoints

* [Warmup Settings](https://api.smartlead.ai/api-reference/email-accounts/warmup-settings.md) - update one account and keep its ramp-up progress
* [Warmup Stats](https://api.smartlead.ai/api-reference/email-accounts/warmup-stats.md)
* [List Email Accounts](https://api.smartlead.ai/api-reference/email-accounts/get-all.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.