Docly

Create signature request

Estimated reading: 1 minute

This endpoint allows you to create signature request(s) from your saved templates

POST

https://api.bunnydoc.com/v1/createSignatureRequestFromTemplate

Headers

Authorization: Api-Key {API_KEY}

The `signatureRequestLink` will only contain a URL if “SHOW ME LINKS” are enabled in your account settings.

Request Payload (Sample)

{
    "templateId" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "title" : "Example title here",
    "emailMessage" : "Example email message here",
    "signingOrder" : false,
     "recipients" : [
        {
            "role" : "role1",
            "name" : "Signer1",
            "email" : "[email protected]", 
            "accessCode" : ""
        },
        { 
            "role" : "role2",
            "name" : "Signer2",
            "email" : "[email protected]", 
            "accessCode" : ""
        }
    ]
}

Response

{
    "error": 0,
    "message": "Envelope has been sent to recipients.",

    "envelopeId" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "recipients": [
        {
            "name": "Signer1",
            "email": "[email protected]",
            "signatureRequestLink": "Signing URL"
        },
        {
            "name": "Signer12",
            "email": "[email protected]",
            "signatureRequestLink": "Signing URL"
        }
    ]
}