/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature
Retrieves signature information for a signer or sign-in-person recipient.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| envelopeId | path | required | string | The envelope’s GUID. Example: |
| recipientId | path | required | string | A local reference used to map A For example, many envelopes assign the first recipient |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature
/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature_image
Retrieves the specified user signature image. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image.
The userId specified in the endpoint must match the authenticated user’s user ID and the user must be a member of the account.
The signatureIdOrName parameter accepts signature ID or signature name. DocuSign recommends you use signature ID (signatureId), since some names contain characters that don’t properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint.
For example: “Bob Smith” to “Bob%20Smith”
Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| envelopeId | path | required | string | The envelope’s GUID. Example: |
| recipientId | path | required | string | A local reference used to map A For example, many envelopes assign the first recipient |
| include_chrome | query | optional | string | When true, the response includes the chromed version of the signature image. |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature_image
/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature_image
Updates the signature image for an accountless signer. The supported image formats for this file are: gif, png, jpeg, and bmp. The file size must be less than 200K.
For the Authentication/Authorization for this call, the credentials must match the sender of the envelope, the recipient must be an accountless signer or in person signer. The account must have the CanSendEnvelope property set to true and the ExpressSendOnly property in SendingUser structure must be set to false.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| envelopeId | path | required | string | The envelope’s GUID. Example: |
| recipientId | path | required | string | A local reference used to map A For example, many envelopes assign the first recipient |
Successful response.
Error encountered.
PUT /v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature_image
/v2.1/accounts/{accountId}/favorite_templates
Remove one or more templates from the account favorites.
Your request should include each template to remove as a separate favoriteTemplatesContentItem JSON object, like this:
{
"favoriteTemplates": [
{
"templateId": "6bc0584f-xxxx-xxxx-xxxx-35ab28cc44e1"
},
{
"templateId": "8ae9b3452-xxxx-xxxx-xxx-ac0de23fa57f"
}
]
}
The response includes the IDs of the templates that were successfully removed from your favorites. To get the account’s remaining favorite templates, use the getFavoriteTemplates endpoint.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
#/components/requestBodies/favoriteTemplatesInfo
Successful response.
Error encountered.
DELETE /v2.1/accounts/{accountId}/favorite_templates
/v2.1/accounts/{accountId}/favorite_templates
Retrieves the list of favorite templates for the account.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/favorite_templates
/v2.1/accounts/{accountId}/favorite_templates
Set one or more templates as account favorites.
Your request should include each template as a separate favoriteTemplatesContentItem JSON object, like this:
{
"favoriteTemplates": [
{
"templateId": "6bc0584f-xxxx-xxxx-xxxx-35ab28cc44e1"
},
{
"templateId": "8ae9b3452-xxxx-xxxx-xxx-ac0de23fa57f"
}
]
}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
#/components/requestBodies/favoriteTemplatesInfo
Successful response.
Error encountered.
PUT /v2.1/accounts/{accountId}/favorite_templates
/v2.1/accounts/{accountId}/folders
Returns a list of the account’s folders.
Use the include query parameter to specify the kinds of folders to return.
By default, only the first level of subfolders is shown.
Set the sub_folder_depth query parameter to -1 to return the entire folder hierarchy.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| count | query | optional | string | The maximum number of results to return. |
| include | query | optional | string | A comma-separated list of folder types to include in the response.
|
| include_items | query | optional | string | Indicates whether folder items are included in the response. If this parameter is omitted, the default is false. |
| start_position | query | optional | string | The zero-based index of the The default value is |
| sub_folder_depth | query | optional | string | If missing or any value other than |
| template | query | optional | string | This parameter is deprecated as of version 2.1. Use |
| user_filter | query | optional | string | Narrows down the resulting folder list by the following values:
|
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/folders
/v2.1/accounts/{accountId}/folders/{folderId}
Gets information about items in the specified folder.
To include a list of the items in the folder, set the include_items query parameter to true.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| folderId | path | required | string | The ID of the folder. |
| from_date | query | optional | string | Reserved for DocuSign. |
| include_items | query | optional | string | Indicates whether folder items are included in the response. If this parameter is omitted, the default is false. |
| owner_email | query | optional | string | Reserved for DocuSign. |
| owner_name | query | optional | string | Reserved for DocuSign. |
| search_text | query | optional | string | Reserved for DocuSign. |
| start_position | query | optional | string | Reserved for DocuSign. |
| status | query | optional | string | Reserved for DocuSign. |
| to_date | query | optional | string | Reserved for DocuSign. |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/folders/{folderId}
/v2.1/accounts/{accountId}/folders/{folderId}
Moves a set of envelopes from their current folder to another folder.
The folderId path parameter is the destination folder.
The request body has an array of envelope IDs and the
ID of the source folder.
folders property in the request body.
If folderId is the special value recyclebin
the envelopes are moved to the Deleted folder.
Moving an in-process envelope
(envelope status of sent or delivered)
to the recyclebin
voids the envelope.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| folderId | path | required | string | The ID of the folder. |
application/json
foldersRequest
| Property | Type | Required |
|---|---|---|
| folders | array | optional |
| └ uri | string | optional |
| └ name | string | optional |
| └ type | string | optional |
| └ owner | object | optional |
| └ uri | string | optional |
| string | optional | |
| └ userId | string | optional |
| └ userName | string | optional |
| └ userType | string | optional |
| └ accountId | string | optional |
| └ ipAddress | string | optional |
| └ userStatus | string | optional |
| └ accountName | string | optional |
| └ loginStatus | string | optional |
| └ errorDetails | object | optional |
| └ message | string | optional |
| └ errorCode | string | optional |
| └ membershipId | string | optional |
| └ sendActivationEmail | string | optional |
| └ activationAccessCode | string | optional |
| └ filter | object | optional |
| └ order | string | optional |
| └ status | string | optional |
| └ expires | string | optional |
| └ orderBy | string | optional |
| └ folderIds | string | optional |
| └ isTemplate | string | optional |
| └ searchText | string | optional |
| └ toDateTime | string | optional |
| └ fromDateTime | string | optional |
| └ searchTarget | string | optional |
| └ actionRequired | string | optional |
| └ folders | array | optional |
| └ folderId | string | optional |
| └ hasAccess | string | optional |
| └ itemCount | string | optional |
| └ folderItems | array | optional |
| └ status | string | optional |
| └ subject | string | optional |
| └ folderId | string | optional |
| └ folderUri | string | optional |
| └ ownerName | string | optional |
| └ envelopeId | string | optional |
| └ recipients | object | optional |
| └ seals | array | optional |
| └ agents | array | optional |
| └ editors | array | optional |
| └ signers | array | optional |
| └ notaries | array | optional |
| └ witnesses | array | optional |
| └ carbonCopies | array | optional |
| └ errorDetails | object | optional |
| └ participants | array | optional |
| └ intermediaries | array | optional |
| └ recipientCount | string | optional |
| └ inPersonSigners | array | optional |
| └ certifiedDeliveries | array | optional |
| └ currentRoutingOrder | string | optional |
| └ senderName | string | optional |
| └ templateId | string | optional |
| └ envelopeUri | string | optional |
| └ senderEmail | string | optional |
| └ templateUri | string | optional |
| └ senderUserId | string | optional |
| └ sentDateTime | string | optional |
| └ is21CFRPart11 | string | optional |
| └ recipientsUri | string | optional |
| └ senderCompany | string | optional |
| └ expireDateTime | string | optional |
| └ createdDateTime | string | optional |
| └ completedDateTime | string | optional |
| └ …1 more | object | optional |
| └ errorDetails | object | optional |
| └ message | string | optional |
| └ errorCode | string | optional |
| └ hasSubFolders | string | optional |
| └ parentFolderId | string | optional |
| └ subFolderCount | string | optional |
| └ parentFolderUri | string | optional |
| envelopeIds | array | optional |
| fromFolderId | string | optional |
Successful response.
Error encountered.
PUT /v2.1/accounts/{accountId}/folders/{folderId}
/v2.1/accounts/{accountId}/search_folders/{searchFolderId}
Retrieves a list of items that match the criteria specified in the query.
If the user ID of the user making the call is the
same as the user ID for any returned recipient,
then the userId property is added to the returned
information for those recipients.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| searchFolderId | path | required | string | Specifies the envelope group that is searched by the request. These are logical groupings, not actual folder names. Valid values are: drafts, awaiting_my_signature, completed, out_for_signature. |
| all | query | optional | string | Specifies that all envelopes that match the criteria are returned. |
| count | query | optional | string | The maximum number of results to return. Use Valid values: |
| from_date | query | optional | string | Specifies the start of the date range to return. If no value is provided, the default search is the previous 30 days. |
| include_recipients | query | optional | string | When true, the recipient information is returned in the response. |
| order | query | optional | string | Specifies the order in which the list is returned. Valid values are: |
| order_by | query | optional | string | Specifies the property used to sort the list. Valid values are: |
| start_position | query | optional | string | The zero-based index of the Use with The default value is |
| to_date | query | optional | string | Specifies the end of the date range to return. |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/search_folders/{searchFolderId}
/v2.1/accounts/{accountId}/groups/{groupId}/brands
This method deletes one or more brands from a group.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| groupId | path | required | string | The ID of the group. |
#/components/requestBodies/brandsRequest
Successful response.
Error encountered.
DELETE /v2.1/accounts/{accountId}/groups/{groupId}/brands
/v2.1/accounts/{accountId}/groups/{groupId}/brands
This method returns information about the brands associated with a group.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| groupId | path | required | string | The ID of the group. |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/groups/{groupId}/brands
/v2.1/accounts/{accountId}/groups/{groupId}/brands
This method adds one or more existing brands to a group based on the groupId.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| groupId | path | required | string | The ID of the group being accessed. |
#/components/requestBodies/brandsRequest
Successful response.
Error encountered.
PUT /v2.1/accounts/{accountId}/groups/{groupId}/brands
/v2.1/accounts/{accountId}/groups/{groupId}/users
Deletes one or more users from a group. This request takes a userInfoList that contains the users that you want to delete.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| groupId | path | required | string | The ID of the group being accessed. |
#/components/requestBodies/userInfoList
Successful response.
Error encountered.
DELETE /v2.1/accounts/{accountId}/groups/{groupId}/users
/v2.1/accounts/{accountId}/groups/{groupId}/users
Retrieves a list of users in a group.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| groupId | path | required | string | The ID of the group being accessed. |
| count | query | optional | string | The maximum number of results to return. Use Valid values: |
| start_position | query | optional | string | The zero-based index of the Use with The default value is |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/groups/{groupId}/users
/v2.1/accounts/{accountId}/groups/{groupId}/users
Adds one or more existing DocuSign users to an existing group.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| groupId | path | required | string | The ID of the group being accessed. |
#/components/requestBodies/userInfoList
Successful response.
Error encountered.
PUT /v2.1/accounts/{accountId}/groups/{groupId}/users
/v2.1/accounts/{accountId}/groups
Deletes an existing user group.
When you delete a group, you include only the groupId in the request body.
Example:
{
"groups": [
{
"groupId": "12345"
}
}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
#/components/requestBodies/groupInformation
Successful response.
Error encountered.
DELETE /v2.1/accounts/{accountId}/groups
/v2.1/accounts/{accountId}/groups
Gets information about groups associated with the account.
To get the users in a group: 1. Use this endpoint to get the group ID. 2. Use [listGroupUsers](https://raw.githubusercontent.com) to get the list of users.| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| count | query | optional | string | The maximum number of results to return. Use Valid values: |
| group_type | query | optional | string | The type of group to return. Valid values:
|
| include_usercount | query | optional | string | When true, every group returned in the response includes a |
| search_text | query | optional | string | Filters the results of a GET request based on the text that you specify. |
| start_position | query | optional | string | The zero-based index of the Use with The default value is |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/groups
/v2.1/accounts/{accountId}/groups
Creates one or more groups for the account.
Groups help you manage users.
For example, you can use groups
to limit user access to templates.
You can associate a group with a
permission profile,
which sets the user permissions for users in that group
without having to set the userSettings property for each user.
You are not required to set permission profiles for a group,
but it makes it easier to manage user permissions
for a large number of users.
groupName and
permissionProfileId
properties in the request body.
All other properties are ignored.
Example request:
{
"groups": [
{ "groupName": "montagues" },
{ "groupName": "capulets" },
{ "groupName": "nobles",
"permissionProfileId": 1597 }
]
}
Use AccountPermissionProfiles: list
to get a list of permission profiles and their IDs.
It is an error if the permissionProfileId does not exist.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
#/components/requestBodies/groupInformation
Successful response.
Error encountered.
POST /v2.1/accounts/{accountId}/groups
/v2.1/accounts/{accountId}/groups
Updates the group name and modifies, or sets, the permission profile for the group.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
#/components/requestBodies/groupInformation
Successful response.
Error encountered.
PUT /v2.1/accounts/{accountId}/groups
/v2.1/accounts/{accountId}/identity_verification
This method returns a list of Identity Verification workflows that are available to an account.
Note: To use this method, you must either be an account administrator or a sender.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| identity_verification_workflow_status | query | optional | string | Filters the workflows returned according to status. Valid values:
|
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/identity_verification
/v2.1/accounts/{accountId}/billing_invoices
Retrieves a list of invoices for the account. If the from date or to date queries are not specified, the response returns invoices for the last 365 days.
Privileges required: account administrator
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| from_date | query | optional | string | Specifies the date/time of the earliest invoice in the account to retrieve. |
| to_date | query | optional | string | Specifies the date/time of the latest invoice in the account to retrieve. |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/billing_invoices
/v2.1/accounts/{accountId}/billing_invoices/{invoiceId}
Retrieves the specified invoice.
Note: If the pdfAvailable property in the response is set to true, you can download a PDF version of the invoice. To download the PDF, make the call again and change the value of the Accept property in the header to Accept: application/pdf.
Privileges required: account administrator
The response returns a list of charges and information about the charges. Quantities are usually shown as ‘unlimited’ or an integer. Amounts are shown in the currency set for the account.
Response
The following table provides a description of the different chargeName property values. The information will grow as more chargeable items are added to the system.
| chargeName | Description |
|---|---|
| id_check | ID Check Charge |
| in_person_signing | In Person Signing charge |
| envelopes Included | Sent Envelopes for the account |
| age_verify | Age verification check |
| ofac | OFAC Check |
| id_confirm | ID confirmation check |
| student_authentication | STAN PIN authentication check |
| wet_sign_fax | Pages for returning signed documents by fax |
| attachment_fax | Pages for returning attachments by fax |
| phone_authentication | Phone authentication charge |
| powerforms | PowerForm envelopes sent |
| signer_payments | Payment processing charge |
| outbound_fax | Send by fax charge |
| bulk_recipient_envelopes | Bulk Recipient Envelopes sent |
| sms_authentications | SMS authentication charge |
| saml_authentications | SAML authentication charge |
| express_signer_certificate | DocuSign Express Certificate charge |
| personal_signer_certificate | Personal Signer Certificate charge |
| safe_certificate | SAFE BioPharma Signer Certificate charge |
| seats | Included active seats charge |
| open_trust_certificate | OpenTrust Signer Certificate charge |
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| invoiceId | path | required | string | The ID of the invoice. |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/billing_invoices/{invoiceId}
/v2.1/accounts/{accountId}/billing_invoices_past_due
Returns a list past due invoices for the account and notes if payment can be made through the REST API.
Privileges Required: account administrator
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/billing_invoices_past_due
/v2.1/current_user/notary
Gets settings for a notary user.
The current user must be a notary.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| include_jurisdictions | query | optional | string | When true, the response will include a |
Successful response.
Error encountered.
GET /v2.1/current_user/notary
/v2.1/current_user/notary
Registers the current user as a notary.
#/components/requestBodies/notary
Successful response.
Error encountered.
POST /v2.1/current_user/notary
/v2.1/current_user/notary
Updates notary information for the current user.
#/components/requestBodies/notary
Successful response.
Error encountered.
PUT /v2.1/current_user/notary
/v2.1/current_user/notary/journals
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| count | query | optional | string | The maximum number of results to return. |
| search_text | query | optional | string | Use this parameter to search for specific text. |
| start_position | query | optional | string | The position within the total result set from which to start returning values. The value thumbnail may be used to return the page image. |
Successful response.
Error encountered.
GET /v2.1/current_user/notary/journals
/v2.1/current_user/notary/jurisdictions
Returns a list of jurisdictions that the notary is registered in.
The current user must be a notary.
Successful response.
Error encountered.
GET /v2.1/current_user/notary/jurisdictions
/v2.1/current_user/notary/jurisdictions
Creates a jurisdiction object.
#/components/requestBodies/notaryJurisdiction
Successful response.
Error encountered.
POST /v2.1/current_user/notary/jurisdictions
/v2.1/current_user/notary/jurisdictions/{jurisdictionId}
Deletes the specified jurisdiction.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| jurisdictionId | path | required | string | The ID of the jurisdiction.
|
Successful response.
Error encountered.
DELETE /v2.1/current_user/notary/jurisdictions/{jurisdictionId}
/v2.1/current_user/notary/jurisdictions/{jurisdictionId}
Gets a jurisdiction object for the current user. The following restrictions apply:
jurisdictionId must be a jurisdiction that the notary is registered for.| Name | In | Required | Type | Description |
|---|---|---|---|---|
| jurisdictionId | path | required | string | The ID of the jurisdiction.
|
Successful response.
Error encountered.
GET /v2.1/current_user/notary/jurisdictions/{jurisdictionId}
/v2.1/current_user/notary/jurisdictions/{jurisdictionId}
Updates the jurisdiction information about a notary.
The following restrictions apply:
jurisdictionId path parameter must be a jurisdiction that the notary is registered for.jurisdictionId path parameter must match the request body’s jurisdiction.jurisdictionId.The request body must have a full jurisdiction object for the jurisdiction property.
The best way to do this is to use getNotaryJurisdiction to obtain the current values and update the properties you want to change.
For example, assume getNotaryJurisdiction returns this:
{
"jurisdiction": {
"jurisdictionId": "15",
"name": "Iowa",
"county": "",
"enabled": "true",
"countyInSeal": "false",
"commissionIdInSeal": "true",
"stateNameInSeal": "true",
"notaryPublicInSeal": "true",
"allowSystemCreatedSeal": "true",
"allowUserUploadedSeal": "false"
},
"commissionId": "123456",
"commissionExpiration": "2020-08-31T07:00:00.0000000Z",
"registeredName": "Bob Notary",
"county": "Adams",
"sealType": "system_created"
}
If you want to change the name of the notary from “Bob Notary” to “Robert Notary”, your request body would be:
{
"jurisdiction": {
"jurisdictionId": "15",
"name": "Iowa",
"county": "",
"enabled": "true",
"countyInSeal": "false",
"commissionIdInSeal": "true",
"stateNameInSeal": "true",
"notaryPublicInSeal": "true",
"allowSystemCreatedSeal": "true",
"allowUserUploadedSeal": "false"
},
"commissionId": "123456",
"commissionExpiration": "2020-08-31T07:00:00.0000000Z",
"registeredName": "Robert Notary",
"county": "Adams",
"sealType": "system_created"
}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| jurisdictionId | path | required | string | The ID of the jurisdiction.
|
#/components/requestBodies/notaryJurisdiction
Successful response.
Error encountered.
PUT /v2.1/current_user/notary/jurisdictions/{jurisdictionId}
/v2.1/accounts/{accountId}/payment_gateway_accounts
This method returns a list of payment gateway accounts and basic information about them.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/payment_gateway_accounts
/v2.1/accounts/{accountId}/billing_payments
Retrieves a list containing information about one or more payments. If the from date or to date queries are not used, the response returns payment information for the last 365 days.
Privileges required: account administrator
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| from_date | query | optional | string | Specifies the date/time of the earliest payment in the account to retrieve. |
| to_date | query | optional | string | Specifies the date/time of the latest payment in the account to retrieve. |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/billing_payments
/v2.1/accounts/{accountId}/billing_payments
Posts a payment to a past due invoice.
This method can only be used if the paymentAllowed value for a past due invoice is true. This can be determined calling Billing::listInvoicesPastDue.
The response returns information for a single payment
if a payment ID was used in the endpoint, or a list of payments.
If the from date or to date queries or payment ID are not used,
the response returns payment information for the last 365 days.
If the request was for a single payment ID, the nextUri and previousUri properties are not returned.
Privileges required: account administrator
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
application/json
billingPaymentRequest
| Property | Type | Required |
|---|---|---|
| paymentAmount | string | optional |
Successful response.
Error encountered.
POST /v2.1/accounts/{accountId}/billing_payments
/v2.1/accounts/{accountId}/billing_payments/{paymentId}
Retrieves the information for a specified payment.
Privileges required: account administrator
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| paymentId | path | required | string | The ID of the payment. |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/billing_payments/{paymentId}
/v2.1/accounts/{accountId}/powerforms/{powerFormId}/form_data
This method enables Powerform Administrators or the sender of a PowerForm to download the data that recipients have entered into a PowerForm.
You specify the format in which you want to retrieve the data in the Accept header. This header accepts the following values:
application/json: JSON formatapplication/xml: XML formattext/csv: Comma-separated value (CSV) formatNote: Only PowerForm Administrators or the PowerForm Sender can download the data associated with a PowerForm.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| powerFormId | path | required | string | The ID of the PowerForm. |
| data_layout | query | optional | string | The layout in which to return the PowerForm data. Valid values are:
|
| from_date | query | optional | string | The start date for a date range in UTC DateTime format. Note: If this property is null, no date filtering is applied. |
| to_date | query | optional | string | The end date of a date range in UTC DateTime format. The default value is |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/powerforms/{powerFormId}/form_data
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
application/json
powerFormsRequest
| Property | Type | Required |
|---|---|---|
| powerForms | array | optional |
| └ uri | string | optional |
| └ name | string | optional |
| └ isActive | string | optional |
| └ lastUsed | string | optional |
| └ createdBy | string | optional |
| └ emailBody | string | optional |
| └ envelopes | array | optional |
| └ holder | string | optional |
| └ sender | object | optional |
| └ uri | string | optional |
| string | optional | |
| └ userId | string | optional |
| └ userName | string | optional |
| └ userType | string | optional |
| └ accountId | string | optional |
| └ ipAddress | string | optional |
| └ userStatus | string | optional |
| └ accountName | string | optional |
| └ loginStatus | string | optional |
| └ errorDetails | object | optional |
| └ membershipId | string | optional |
| └ sendActivationEmail | string | optional |
| └ activationAccessCode | string | optional |
| └ status | string | optional |
| └ brandId | string | optional |
| └ folders | array | optional |
| └ uri | string | optional |
| └ name | string | optional |
| └ type | string | optional |
| └ owner | object | optional |
| └ filter | object | optional |
| └ folders | array | optional |
| └ folderId | string | optional |
| └ hasAccess | string | optional |
| └ itemCount | string | optional |
| └ folderItems | array | optional |
| └ errorDetails | object | optional |
| └ hasSubFolders | string | optional |
| └ parentFolderId | string | optional |
| └ subFolderCount | string | optional |
| └ parentFolderUri | string | optional |
| └ location | string | optional |
| └ workflow | object | optional |
| └ resumeDate | string | optional |
| └ workflowSteps | array | optional |
| └ workflowStatus | string | optional |
| └ scheduledSending | object | optional |
| └ currentWorkflowStepId | string | optional |
| └ anySigner | string | optional |
| └ brandLock | string | optional |
| └ powerForm | object | optional |
| └ emailBlurb | string | optional |
| └ envelopeId | string | optional |
| └ hasWavFile | string | optional |
| └ purgeState | string | optional |
| └ recipients | object | optional |
| └ seals | array | optional |
| └ agents | array | optional |
| └ editors | array | optional |
| └ signers | array | optional |
| └ notaries | array | optional |
| └ witnesses | array | optional |
| └ carbonCopies | array | optional |
| └ errorDetails | object | optional |
| └ participants | array | optional |
| └ intermediaries | array | optional |
| └ recipientCount | string | optional |
| └ inPersonSigners | array | optional |
| └ certifiedDeliveries | array | optional |
| └ currentRoutingOrder | string | optional |
| └ allowMarkup | string | optional |
| └ envelopeUri | string | optional |
| └ expireAfter | string | optional |
| └ hasComments | string | optional |
| └ messageLock | string | optional |
| └ …59 more | object | optional |
| └ timesUsed | string | optional |
| └ recipients | array | optional |
| └ name | string | optional |
| string | optional | |
| └ roleName | string | optional |
| └ accessCode | string | optional |
| └ emailLocked | string | optional |
| └ routingOrder | string | optional |
| └ recipientType | string | optional |
| └ userNameLocked | string | optional |
| └ idCheckRequired | string | optional |
| └ accessCodeLocked | string | optional |
| └ accessCodeRequired | string | optional |
| └ idCheckConfigurationName | string | optional |
| └ templateRequiresIdLookup | string | optional |
| └ senderName | string | optional |
| └ templateId | string | optional |
| └ powerFormId | string | optional |
| └ signingMode | string | optional |
| └ emailSubject | string | optional |
| └ errorDetails | object | optional |
| └ message | string | optional |
| └ errorCode | string | optional |
| └ instructions | string | optional |
| └ powerFormUrl | string | optional |
| └ senderUserId | string | optional |
| └ templateName | string | optional |
| └ maxUseEnabled | string | optional |
| └ …5 more | object | optional |
Successful response.
Error encountered.
DELETE /v2.1/accounts/{accountId}/powerforms
/v2.1/accounts/{accountId}/powerforms
This method returns a list of PowerForms that are available to the user.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| from_date | query | optional | string | The start date for a date range. Note: If no value is provided, no date filtering is applied. |
| order | query | optional | string | The order in which to sort the results. Valid values are:
|
| order_by | query | optional | string | The file attribute to use to sort the results. Valid values are:
|
| search_fields | query | optional | string | A comma-separated list of additional properties to include in a search.
|
| search_text | query | optional | string | Use this parameter to search for specific text. |
| to_date | query | optional | string | The end date for a date range. Note: If no value is provided, this property defaults to the current date. |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/powerforms
/v2.1/accounts/{accountId}/powerforms
This method creates a new PowerForm.
You create a PowerForm from an existing DocuSign template, 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.
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.
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?.
For more information about creating PowerForms, see Create a PowerForm.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
#/components/requestBodies/powerForm
Successful response.
Error encountered.
POST /v2.1/accounts/{accountId}/powerforms
/v2.1/accounts/{accountId}/powerforms/senders
This method returns a list of users who have sent PowerForms.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| start_position | query | optional | string | The position within the total result set from which to start returning values. The value thumbnail may be used to return the page image. |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/powerforms/senders
/v2.1/accounts/{accountId}/powerforms/{powerFormId}
This method deletes a PowerForm.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| powerFormId | path | required | string | The ID of the PowerForm. |
Successful response.
Error encountered.
DELETE /v2.1/accounts/{accountId}/powerforms/{powerFormId}
/v2.1/accounts/{accountId}/powerforms/{powerFormId}
This method returns detailed information about a specific PowerForm.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| powerFormId | path | required | string | The ID of the PowerForm. |
Successful response.
Error encountered.
GET /v2.1/accounts/{accountId}/powerforms/{powerFormId}
/v2.1/accounts/{accountId}/powerforms/{powerFormId}
This method updates an existing PowerForm.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| accountId | path | required | string | The external account number (int) or account ID GUID. |
| powerFormId | path | required | string | The ID of the PowerForm. |
#/components/requestBodies/powerForm
Successful response.
Error encountered.
PUT /v2.1/accounts/{accountId}/powerforms/{powerFormId}
/v2.1/diagnostics/request_logs
Deletes the request log files.
Successful response.
Error encountered.
DELETE /v2.1/diagnostics/request_logs
/v2.1/diagnostics/request_logs
Retrieves a list of log entries as a JSON or XML object or as a zip file containing the entries.
If the Accept header is set to application/zip, the response is a zip file containing individual text files, each representing an API request.
If the Accept header is set to application/json or application/xml, the response returns list of log entries in either JSON or XML. An example JSON response body is shown below.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| encoding | query | optional | string | Reserved for DocuSign. |
Successful response.
Error encountered.
GET /v2.1/diagnostics/request_logs
/v2.1/diagnostics/request_logs/{requestLogId}
Retrieves information for a single log entry.
Request
The requestLogId property can be retrieved by getting the list of log entries. The Content-Transfer-Encoding header can be set to base64 to retrieve the API request/response as base 64 string. Otherwise the bytes of the request/response are returned.
Response
If the Content-Transfer-Encoding header was set to base64, the log is returned as a base64 string.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| requestLogId | path | required | string | The ID of the log entry. |
Successful response.
Error encountered.
GET /v2.1/diagnostics/request_logs/{requestLogId}
/v2.1/diagnostics/settings
Retrieves the current API request logging setting for the user and remaining log entries.
Response
The response includes the current API request logging setting for the user, along with the maximum log entries and remaining log entries.
Successful response.
Error encountered.
GET /v2.1/diagnostics/settings
/v2.1/diagnostics/settings
Enables or disables API request logging for troubleshooting.
When enabled (apiRequestLogging is true),
REST API requests and responses for the user are added to a log.
A log can have up to 50 requests/responses
and the current number of log entries can be determined
by getting the settings.
Logging is automatically disabled when the log limit of 50 is reached.
You can call
Diagnostics: getRequestLog
or
Diagnostics: listRequestLogs
to download the log files (individually or as a zip file).
Call Diagnostics: deleteRequestLogs
to clear the log by deleting current entries.
Private information, such as passwords and integration key information,
which is normally located in the call header is omitted from the request/response log.
API request logging only captures requests from the authenticated user.
Any call that does not authenticate the user and resolve a userId is not logged.
application/json
diagnosticsSettingsInformation
| Property | Type | Required |
|---|---|---|
| apiRequestLogging | string | optional |
| apiRequestLogMaxEntries | string | optional |
| apiRequestLogRemainingEntries | string | optional |
Successful response.
Error encountered.
PUT /v2.1/diagnostics/settings