---
title: "Adds user Signature and initials images to a Signature."
method: POST
path: "/v2.1/accounts/{accountId}/users/{userId}/signatures"
tags: ["UserSignatures"]
---

# Adds user Signature and initials images to a Signature.

`POST /v2.1/accounts/{accountId}/users/{userId}/signatures`

Adds a user signature image and/or user initials image to the specified user. 

The userId property specified in the endpoint must match the authenticated user's `userId` and the user must be a member of the account.

The rules and processes associated with this are:

* If `Content-Type` is set to `application/json`, then the default behavior for creating a default signature image, based on the name and a Docusign font, is used.
* If `Content-Type` is set to `multipart/form-data`, then the request must contain a first part with the user signature information, followed by parts that contain the images.

For each Image part, the Content-Disposition header has a "filename" value that is used to map to the `signatureName` and/or `signatureInitials` properties in the JSON to the image. 

For example: 
`Content-Disposition: file; filename="Ron Test20121127083900"`

If no matching image (by filename value) is found, then the image is not set. One, both, or neither of the signature and initials images can be set with this call.

The Content-Transfer-Encoding: base64 header, set in the header for the part containing the image, can be set to indicate that the images are formatted as base64 instead of as binary.

If successful, 200-OK is returned, and a JSON structure containing the signature information is provided, note that the signatureId can change with each API POST, PUT, or DELETE since the changes to the signature structure cause the current signature to be closed, and a new signature record to be created.

## Path parameters

- `accountId` string, required
- `userId` string, required

## Request body

- UserSignaturesInformation
  - `userSignatures` UserSignature[] — An array of `userSignature` objects.
    - `adoptedDateTime` string — The date and time the user adopted their signature.
    - `createdDateTime` string — The UTC DateTime when the item was created.
    - `customField` string
    - `dateStampProperties` DateStampProperties — 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.
      - `dateAreaHeight` string — The height of the rectangle.
      - `dateAreaWidth` string — The width of the rectangle.
      - `dateAreaX` string — The X axis position of the top-left corner.
      - `dateAreaY` string — The Y axis position of the top-left corner.
    - `disallowUserResizeStamp` string — When **true,** users may not resize the stamp.
    - `errorDetails` ErrorDetails — This object describes errors that occur. It is only valid for responses and ignored in requests.
      - `errorCode` string — The code associated with the error condition.
      - `message` string — A brief message describing the error condition.
    - `externalID` string — Optionally specify an external identifier for the user's signature.
    - `imageBase64` string — A Base64-encoded representation of the signature image.
    - `imageType` string — Specificies the type of image. Valid values: - `stamp_image` - `signature_image` - `initials_image`
    - `initials150ImageId` string — The ID of the user's initials image.
    - `initialsImageUri` string — The URI for retrieving the image of the user's initials.
    - `isDefault` string — Boolean that specifies whether the signature is the default signature for the user.
    - `lastModifiedDateTime` string — The date and time that the item was last modified.
    - `nrdsId` string — The National Association of Realtors (NAR) membership ID for a user who is a realtor.
    - `nrdsLastName` string — The realtor's last name.
    - `nrdsStatus` string — The realtor's NAR membership status. The value `active` verifies that the user is a current NAR member. Valid values are: - `Active` - `Inactive` - `Terminate` - `Provisional` - `Deceased` - `Suspend` - `Unknown`
    - `phoneticName` string — The phonetic spelling of the `signatureName`.
    - `signature150ImageId` string — The ID of the user's signature image.
    - `signatureFont` string — The font type for the signature, if the signature is not drawn. The supported font types are: "7_DocuSign", "1_DocuSign", "6_DocuSign", "8_DocuSign", "3_DocuSign", "Mistral", "4_DocuSign", "2_DocuSign", "5_DocuSign", "Rage Italic"
    - `signatureId` string — 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.
    - `signatureImageUri` string — An endpoint URI that you can use to retrieve the user's signature image.
    - `signatureInitials` string — The initials associated with the signature.
    - `signatureName` string — Specifies the user's signature name.
    - `signatureRights` string — The rights that the user has to the signature. Valid values are: - `none` - `read` - `admin`
    - `signatureType` string — Specifies the type of signature.
    - `stampFormat` string — 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.
    - `stampImageUri` string — The URI for retrieving the image of the user's stamp.
    - `stampSizeMM` string — The physical height of the stamp image (in millimeters) that the stamp vendor recommends for displaying the image in PDF documents.
    - `stampType` string — The type of stamp. Valid values are: - `signature`: A signature image. This is the default value. - `stamp`: A stamp image. - null
    - `status` string — Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.

## Response `201`

Successful response.

## Other responses

- `400` — Error encountered.

---

[API](https://skmtc.net/docusign/apis/docusign-esignature-rest-api.md) · [All operations](https://skmtc.net/docusign/apis/docusign-esignature-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/docusign/docusign-esignature-rest-api/revisions/77f1998c313d/schema)
