---
title: "Applies a bulk action to all envelopes from a specified bulk send."
method: PUT
path: "/v2.1/accounts/{accountId}/bulk_send_batch/{bulkSendBatchId}/{bulkAction}"
tags: ["BulkSend"]
---

# Applies a bulk action to all envelopes from a specified bulk send.

`PUT /v2.1/accounts/{accountId}/bulk_send_batch/{bulkSendBatchId}/{bulkAction}`

## Request

- Base URL: `https://www.docusign.net/restapi`
- URL: `https://www.docusign.net/restapi/v2.1/accounts/{accountId}/bulk_send_batch/{bulkSendBatchId}/{bulkAction}`
- Auth: none declared

Use this endpoint to resend, correct, or void all envelopes from a specified bulk send.

## Path parameters

- `accountId` string, required
- `bulkAction` string, required
- `bulkSendBatchId` string, required

## Request body

- BulkSendBatchActionRequest
  - `action` string: The action to apply. Valid values: * `Resend` * `Correct` * `Void` This property is required and case-sensitive. The value must correspond to the `bulkAction` query parameter.
  - `notification` Notification: A complex element that specifies the notification settings for the envelope.
    - `expirations` Expirations: A complex element that specifies the expiration settings for the envelope. When an envelope expires, it is voided and no longer available for signing. **Note:** there is a short delay between when the envelope expires and when it is voided.
      - `expireAfter` string: An integer that sets the number of days the envelope is active. For this value to be used, `expireEnabled` must be explicitly set to **true.**
      - `expireEnabled` string: When **true,** the envelope expires in the number of days set by `expireAfter`. When **false** or not set, the envelope expires in the number of days specified by the [default expiration account setting](https://support.docusign.com/s/document-item?bundleId=pik1583277475390&topicId=rra1583277381176.html).
      - `expireWarn` string: An integer that specifying the number of days before the envelope expires that an expiration warning email is sent to the recipient. When 0 (zero), no warning email is sent.
    - `reminders` Reminders: A complex element that specifies reminder settings for the envelope.
      - `maximumReminderCount` string
      - `reminderDelay` string: An integer specifying the number of days after the recipient receives the envelope that reminder emails are sent to the recipient. The default value is 0.
      - `reminderEnabled` string: When **true,** reminders are enabled. The default value is **false.**
      - `reminderFrequency` string: An integer specifying the interval in days between reminder emails. The default value is 0.
      - `smartReminderEnabled` string
    - `useAccountDefaults` string: When **true,** the account default notification settings are used for the envelope, overriding the reminders and expirations settings. When **false,** the reminders and expirations settings specified in this request are used. The default value is **false.**
  - `voidReason` string: A string explaining why the envelope is voided. This value is shown in a message to the recipients. This property is required if `action` is `Void`.

## Response `200`

Successful response.

## Other responses

- `400`: Error encountered.

## Changes

- **2022-02-09** (v2) `9e346ce32fe7`: 1 info
  - endpoint added
- **2019-07-18** (v2) `8ad1b5a40f1b`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/docusign/apis/docusign-esignature-rest-api/changes/v2.1/accounts/:accountId/bulk_send_batch/:bulkSendBatchId/:bulkAction/put.md)

---

[API](https://skmtc.dev/docusign/apis/docusign-esignature-rest-api.md) - [All operations](https://skmtc.dev/docusign/apis/docusign-esignature-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/docusign/apis/docusign-esignature-rest-api/revisions/77f1998c313d?raw)
