Skip to main content
POST
Returns signing_status for a docket’s document and, once every signer has signed, the signed PDF as base64 in content. This is the only way to get the signed PDF: the return_url redirect never carries it. Call it after the eSign completed webhook arrives, or after the signer returns to your return_url.

Environments

Behaviour

  • document_id is optional. Without it, idto uses the document returned when the docket was created. Send it for a docket with more than one document.
  • On pending, document_id echoes what you sent, so it is null if you sent none.
  • Once all signers have signed, idto keeps an archived copy and serves it from there, so later calls keep returning the PDF.
  • The call is read-only and not billed, so you can repeat it. Poll no more than once a minute; the webhook is the faster signal.

Errors

404, 410 and 502 bodies are {"detail": {"status": "error", "message": "..."}}. Retry a 502 with backoff. A 410 is final: contact support with the docket_id.
Was this page helpful? Email us at tech@idto.ai with the page link.

Authorizations

X-Client-ID
string
header
default:<client-id>
required

The Client ID shown on the API Credentials page of the idto dashboard. It is not your account or customer ID, which returns 401. Send it on every server-to-server request together with X-API-Key. Staging and production client IDs are different.

X-API-Key
string
header
default:<api-key>
required

Your API key from the idto dashboard (API credentials). Keep it on your server; never ship it in a browser or mobile app. Send it on every server-to-server request together with X-Client-ID.

Body

application/json
docket_id
string
required
document_id
string

Response

The document's signing status, and the signed PDF once every signer has signed.

status
enum<string>
required
Available options:
success
signing_status
enum<string>
required
Available options:
pending,
signed
content
string | null
required

Base64-encoded signed PDF when signing_status is signed, else null.

content_type
enum<string>
required
Available options:
pdf
document_id
string | null

The document. On a pending response this echoes the document_id you sent, so it is null when you sent none.

Last modified on October 4, 2026