#
API Answer
When submiting a new contract to the API, you will receive an answer with a signing link for each recipient. This list will be provided in the "hydra:member" variable.
You have to send these links to the recipients on your side. That way you can customize the e-mails send to your clients (logo, color, text).
EXAMPLE
{
"@context": "/api/contexts/Contract",
"@id": "/api/contracts",
"@type": "hydra:Collection",
"hydra:member": [
{
"email": "fabien@deepblock.eu",
"phone": "0600000000",
"firstname": "Fabien",
"lastname": "SERNY",
"link": "https://{endpoint}/sign/1005951***804***46769341"
}
],
"hydra:totalItems": 1,
"hydra:search": {
"@type": "hydra:IriTemplate",
"hydra:template": "/api/contracts/create{?status,status[]}",
"hydra:variableRepresentation": "BasicRepresentation",
"hydra:mapping": [
{
"@type": "IriTemplateMapping",
"variable": "status",
"property": "status",
"required": false
},
{
"@type": "IriTemplateMapping",
"variable": "status[]",
"property": "status",
"required": false
}
]
}
}
#
Positioning Signature (isPdfTag)
When you use the "isPdfTag" parameter in your request without adding the matching tags in the PDF document, instead of the signing link, the API answer will return you another link allowing you to place the signature tag directly in your document.