Skip to main content
Create a docket with the PDF and the signers, let the signers sign, then download the signed PDF from your server.
1

Set your credentials

Use https://dev.idto.ai (staging) while you build and https://prod.idto.ai (production) when you go live. Keep the client ID and API key on your server only. Never ship them to a browser or a mobile app.
.env
2

Create the docket and fetch the document

send_invite=True sends the signer a signing invitation. Keep the docket_id from the response, you need it to download the signed copy.
200
3

Download the signed copy

POST /verify/esign/document with the docket_id. Until every signer has signed, signing_status is pending and content is null:
200
When signing is complete, signing_status is completed and content is the base64 PDF. Save it in your own storage right away.

Good to know

  • Creating a docket is charged. Fetching the document is not.
  • Fetch and store the signed copy soon after signing completes. Signed copies are not kept indefinitely, and a fetch for an expired copy returns 410.
  • See eSign workflow for signer positions and signing order.
Was this page helpful? Email us at tech@idto.ai with the page link.
Last modified on October 4, 2026