Sign document(s) with EDS

Customer can sign document if document has signature field inside assigned to the particular customer. Using this endpoint customer sign document(s) with EDS.

Request

To sign document send request to the following endpoint.

URL

Method

PUT

Request URL

/api/v1/envelope/{envelopeUuid}/sign

envelopeUuid (required)

Envelope UUID - documents from which you want to sign

Headers

Authorization (require)

Bearer “token” – token, which get after Authorization

Mailbox (require)

mailboxUuid: mailbox id

Content-Type

application/json

Body (array)

documentId

id of the document you want to sign (string)

signatureName

name of the signature field in the document

signatures

array with signatures data (gets from the public key of the signature)

data

binary (base64) data with signature by which we sign document (part of signatures array)

source

type of source we send (available sources: binary, text), (part of signatures array)

stamp

attribute of the signature (boolean, if stamp=true, it’s stamp if not, it isn’t)

Request structure example

[
    {
        "documentId": "string",
        "signatureName": "string",
        "signatures": [
            {
                "data": "string",
                "source": "binary",
                "stamp": true
            }
        ]
    }
]

Response

If data in request is valid in response you will see Status code: 200 OK