# Docs - [Surepass Esign API](/): Digitally sign PDF documents with Aadhaar OTP or Suresign auto-signing. - [Getting started](/getting-started): The end-to-end Esign flow — upload a PDF, initialize a session, track signers, and download the signed document. - [Templates](/templates): Save reusable signer layouts once and initialize Esign sessions from them at runtime. - [Stamps](/stamps): Procure e-stamps — order, track, and download stamp PDFs, and reserve them into Esign flows. - [LLMs.txt](/llms): AI-readable versions of this documentation for ChatGPT, Claude, Cursor, and other tools. - **API Reference** - Files: Upload PDF documents and image assets used in Esign flows. - [Upload PDF](/api-reference/files/uploadPdf): Upload a PDF file (max size 50MB) for Esign. - [Upload asset](/api-reference/files/uploadAsset): Upload an image asset (JPEG or PNG). Use the returned `client_id` as: - Esign: Initialize Esign sessions, track signer status, and download signed documents. - [Initialize Esign](/api-reference/esign/initializeEsign): Start an Esign session for one or more signers on an uploaded document. - [Get signer details](/api-reference/esign/getEsignDetails): Retrieve signer status and metadata for a specific Esign session. - [Download signed PDF](/api-reference/esign/downloadSignedPdf): Download the final signed PDF after the Esign session completes. - Templates: Save reusable signer/element blueprints and initialize Esign sessions from them. - [Save template](/api-reference/templates/saveTemplate): Save a reusable template blueprint for a file. A template stores the - [Update template](/api-reference/templates/updateTemplate): Update an existing template. `name`, `folder`, `file_id`, and - [Initialize Esign from template](/api-reference/templates/initializeFromTemplate): Start an Esign session using a previously saved template. The template - Stamps: Procure e-stamps — look up supported states and articles, create orders, track status, and download stamp PDFs. - [List state codes](/api-reference/stamps/listStateCodes): List the state codes supported for stamp procurement. - [List articles](/api-reference/stamps/listArticles): List the supported articles for a state. Use the returned `article_id` - [Create stamp order](/api-reference/stamps/createStampOrder): Create a stamp procurement order and start the background procurement - [Get order status](/api-reference/stamps/getStampOrderStatus): Get the latest state of a procurement order. Once the background - [List stamp orders](/api-reference/stamps/listStampOrders): List procurement orders for the authenticated user, paginated. - [Download stamp PDF](/api-reference/stamps/downloadStampPdf): Get the vendor-provided download URL for a completed stamp PDF. PDF ## OpenAPI - [OpenAPI specification](/openapi.yaml): machine-readable spec for every endpoint — schemas, examples, and error codes