PDF and Word
Upload PDF
Upload PDF as a contract.
POST
Before uploading a PDF, you need to create an empty contract and obtain its Contract Key.
To do this, use the Create Contract
request with the parameter
As a response, you’ll receive a ContractKey for the contract you created.
Use this key to upload your PDF to Sendforsign’s infrastructure.
Additionally, you will need to include FormData in the body of the request.
For example:
Or in typescript:
Where
"contractType": "pdf".
Here’s an example:
cURL
cURL
ts
pdfFile is the ArrayBuffer of your document.
Query parameters
Key of the client.
Key of the contract.