docusign.account-signatures.put-account-signature-by-id ​
Updates an account stamp specified by the signatureId query parameter.
Updates an account stamp by ID.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-docusign |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
base_url | string | Yes | — | Docusign API root, e.g. https://<host>/api |
api_token | string | No | — | Bearer token; omit to use the workflow's token env var |
accountid | string | Yes | — | The external account number (int) or account ID GUID. |
signatureid | string | Yes | — | The ID of the account stamp. |
close_existing_signature | string | No | — | When true, closes the current signature. |
datestampproperties | json | No | — | Specifies the area in which a date stamp is placed. This parameter uses pixel positioning to draw a rectangle at the center of the stamp area. The stamp is superimposed on top of this central area. This property contains the following information about the central rectangle: - DateAreaX: The X axis position of the top-left corner. - DateAreaY: The Y axis position of the top-left corner. - DateAreaWidth: The width of the rectangle. - DateAreaHeight: The height of the rectangle. |
disallowuserresizestamp | string | No | — | When true, users may not resize the stamp. |
externalid | string | No | — | Optionally specify an external identifier for the user's signature. |
imagetype | string | No | — | Specificies the type of image. Valid values: - stamp_image - signature_image - initials_image |
isdefault | string | No | — | Boolean that specifies whether the signature is the default signature for the user. |
nrdsid | string | No | — | The National Association of Realtors (NAR) membership ID for a user who is a realtor. |
nrdslastname | string | No | — | The realtor's last name. |
phoneticname | string | No | — | The phonetic spelling of the signatureName. |
signaturefont | string | No | — | The font type to use for the signature if the signature is not drawn. The following font styles are supported. The quotes are to indicate that these values are strings, not enums. - "1_DocuSign" - "2_DocuSign" - "3_DocuSign" - "4_DocuSign" - "5_DocuSign" - "6_DocuSign" - "7_DocuSign" - "8_DocuSign" - "Mistral" - "Rage Italic" |
signaturegroups | list | No | — | — |
signatureid_2 | string | No | — | Specifies the signature ID associated with the signature name. You can use the signature ID in the URI in place of the signature name, and the value stored in the signatureName property in the body is used. This allows the use of special characters (such as "&", "<", ">") in a the signature name. Note that with each update to signatures, the returned signature ID might change, so the caller will need to trigger off the signature name to get the new signature ID. |
signatureinitials | string | No | — | Specifies the user's signature in initials format. |
signaturename | string | No | — | Specifies the user's signature name. |
signaturetype | string | No | — | Specifies the type of signature. |
signatureusers | list | No | — | — |
stampformat | string | No | — | The format of a stamp. Valid values are: - NameHanko: The stamp represents only the signer's name. - NameDateHanko: The stamp represents the signer's name and the date. |
stampsizemm | string | No | — | The physical height of the stamp image (in millimeters) that the stamp vendor recommends for displaying the image in PDF documents. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
base_url | string | Yes | — | Docusign API root, e.g. https://<host>/api |
api_token | string | No | — | Bearer token; omit to use the workflow's token env var |
accountid | string | Yes | — | The external account number (int) or account ID GUID. |
signatureid | string | Yes | — | The ID of the account stamp. |
close_existing_signature | string | No | — | When true, closes the current signature. |
datestampproperties | json | No | — | Specifies the area in which a date stamp is placed. This parameter uses pixel positioning to draw a rectangle at the center of the stamp area. The stamp is superimposed on top of this central area. This property contains the following information about the central rectangle: - DateAreaX: The X axis position of the top-left corner. - DateAreaY: The Y axis position of the top-left corner. - DateAreaWidth: The width of the rectangle. - DateAreaHeight: The height of the rectangle. |
disallowuserresizestamp | string | No | — | When true, users may not resize the stamp. |
externalid | string | No | — | Optionally specify an external identifier for the user's signature. |
imagetype | string | No | — | Specificies the type of image. Valid values: - stamp_image - signature_image - initials_image |
isdefault | string | No | — | Boolean that specifies whether the signature is the default signature for the user. |
nrdsid | string | No | — | The National Association of Realtors (NAR) membership ID for a user who is a realtor. |
nrdslastname | string | No | — | The realtor's last name. |
phoneticname | string | No | — | The phonetic spelling of the signatureName. |
signaturefont | string | No | — | The font type to use for the signature if the signature is not drawn. The following font styles are supported. The quotes are to indicate that these values are strings, not enums. - "1_DocuSign" - "2_DocuSign" - "3_DocuSign" - "4_DocuSign" - "5_DocuSign" - "6_DocuSign" - "7_DocuSign" - "8_DocuSign" - "Mistral" - "Rage Italic" |
signaturegroups | list | No | — | — |
signatureid_2 | string | No | — | Specifies the signature ID associated with the signature name. You can use the signature ID in the URI in place of the signature name, and the value stored in the signatureName property in the body is used. This allows the use of special characters (such as "&", "<", ">") in a the signature name. Note that with each update to signatures, the returned signature ID might change, so the caller will need to trigger off the signature name to get the new signature ID. |
signatureinitials | string | No | — | Specifies the user's signature in initials format. |
signaturename | string | No | — | Specifies the user's signature name. |
signaturetype | string | No | — | Specifies the type of signature. |
signatureusers | list | No | — | — |
stampformat | string | No | — | The format of a stamp. Valid values are: - NameHanko: The stamp represents only the signer's name. - NameDateHanko: The stamp represents the signer's name and the date. |
stampsizemm | string | No | — | The physical height of the stamp image (in millimeters) that the stamp vendor recommends for displaying the image in PDF documents. |
status_code | integer | No | — | HTTP status code of the completed call |
response | json | No | — | Parsed JSON response body |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_at | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
failed_at_state | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | Waiting to call PUT /v2.1/accounts/{accountId}/signatures/ |
completed | No | Yes | Yes | — | HTTP call succeeded |
failed | No | Yes | No | — | HTTP call failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | Perform PUT /v2.1/accounts/{accountId}/signatures/ |
* (any state) | fail | failed | Record the failure reason |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "docusign.account-signatures.put-account-signature-by-id",
"initial_data": {
"base_url": "value",
"accountid": "value",
"signatureid": "value"
}
}