Power Forms

Deletes one or more PowerForms

DELETE
/v2.1/accounts/{accountId}/powerforms

This method deletes one or more PowerForms. The request body takes an array of PowerForm objects that are deleted based on the powerFormId.

Authorization

OAuth2
AuthorizationBearer <token>

OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.

In: header

Path Parameters

accountId*string

The external account number (int) or account ID GUID.

Response Body

application/json

application/json

curl -X DELETE "https://example.com/v2.1/accounts/string/powerforms"
{  "endPosition": 0,  "nextUri": "string",  "powerForms": [    {      "createdBy": "string",      "createdDateTime": "string",      "emailBody": "string",      "emailSubject": "string",      "envelopes": [        {}      ],      "errorDetails": {        "errorCode": "string",        "message": "string"      },      "instructions": "string",      "isActive": "string",      "lastUsed": "string",      "limitUseInterval": "string",      "limitUseIntervalEnabled": "string",      "limitUseIntervalUnits": "string",      "maxUseEnabled": "string",      "name": "string",      "powerFormId": "string",      "powerFormUrl": "string",      "recipients": [        {          "accessCode": "string",          "accessCodeLocked": "string",          "accessCodeRequired": "string",          "email": "string",          "emailLocked": "string",          "idCheckConfigurationName": "string",          "idCheckRequired": "string",          "name": "string",          "recipientType": "string",          "roleName": "string",          "routingOrder": "string",          "templateRequiresIdLookup": "string",          "userNameLocked": "string"        }      ],      "senderName": "string",      "senderUserId": "string",      "signingMode": "string",      "templateId": "string",      "templateName": "string",      "timesUsed": "string",      "uri": "string",      "usesRemaining": "string"    }  ],  "previousUri": "string",  "resultSetSize": 0,  "startPosition": 0,  "totalSetSize": 0}

Creates a new PowerForm POST

This method creates a new PowerForm. You create a PowerForm from an existing Docusign [template](https://developers.docusign.com/docs/esign-rest-api/reference/templates/templates/create/), based on the `templateId` in the request body. PowerForms that you create from a template are referred to as *web PowerForms*. **Note:** The Docusign Admin console also supports creating a PowerForm by uploading a PDF file that has active form fields (referred to as a *PDF PowerForm*). However, PDF PowerForms are deprecated and are not supported in the API. **Note:** A PowerForm can have only one sender. (Because PowerForms are not necessarily sent by email, this user is also referred to as the PowerForm *initiator*.) If you need to associate multiple senders with a PowerForm, create multiple copies of the PowerForm by using the same template (one copy for each sender). By default, the sender is the PowerForm Administrator who creates the PowerForm. ### Signing modes You can use one of the following signing modes for a PowerForm: **`email`** This mode verifies the recipient's identity by using email authentication before the recipient can sign a document. The recipient enters their email address on the landing page and then clicks **Begin Signing** to begin the signing process. The system then sends an email message with a validation code to the recipient. If the recipient does not provide a valid email address, they do not receive the email message containing the access code and are not able to open and sign the document. Alternatively, you can make the process easier for signers by using email authentication only and omitting the access code. To do this, you append the `activateonly` flag to the PowerForm URL and set it to true by passing in the value `1`. When the flag is active, the first recipient receives an email with a link that initiates the signing session without having to enter access code. Example: `activateonly=1` **`direct`** This mode does not require any verification. After a recipient enters their email address on the landing page and clicks **Begin Signing,** a new browser tab opens and the recipient can immediately begin the signing process. Because the `direct` signing mode does not verify the recipient's identity by using email authentication, we strongly recommend that you use this mode only when the PowerForm is accessible behind a secure portal where the recipient's identity is already authenticated, or where another form of authentication is specified for the recipient in the Docusign template (for example, an access code, phone authentication, or ID check). **Note:** In the account settings, `enablePowerFormDirect` must be **true** to use `direct` as the `signingMode`. ### Redirect URLs You can control the URL to which signers are redirected after signing your PowerForm. However, the URL is specified elsewhere, outside of the PowerForm creation process. For details, see [How do I specify a URL to redirect to when a PowerForm is completed?](https://support.docusign.com/s/articles/How-do-I-specify-a-URL-to-redirect-to-when-a-Powerform-is-completed). ### More information For more information about creating PowerForms, see [Create a PowerForm](https://support.docusign.com/en/guides/ndse-user-guide-create-a-powerform).

Returns a single PowerForm GET

This method returns detailed information about a specific PowerForm.