Pricing, how it works and related APIs: Order Status & Document Access product page. Integrate with AI: copy the ready-made prompt. Markdown version: estamp-documents.md.
Where this API fits. Step 8 of 8 in the e-Stamp order flow. Calls need the documents.read scope on your API key. In sandbox the response is sample data, so you can build the whole flow before production access is approved. The order in which the calls must be made is in the e-Stamp order flow guide.
List documents for an order
Endpoint
GET /v1/orders/:id/documents
GET/v1/orders/:id/documentsScope documents.read₹5 per successful callLive
List generated documents (e.g. the e-Stamp certificate PDF) for a completed order.
Request
Request parameters
Request parameters| Field | Type | Description |
|---|
Authorizationrequired | header | Bearer <api-key> (e.g. sk_test_... in sandbox, sk_live_... in production). The x-api-key header is also accepted. |
Example
Make the call
curl -X GET "https://api-b2b.stampmitra.in/v1/orders/:id/documents" \
-H "Authorization: Bearer sk_test_xxxxxxxxxxxx"
Get a document download URL
Endpoint
GET /v1/orders/:id/documents/:documentId/download
GET/v1/orders/:id/documents/:documentId/downloadScope documents.read₹5 per successful callLive
Get a (typically short-lived, signed) URL to download a specific document.
Request
Request parameters
Request parameters| Field | Type | Description |
|---|
Authorizationrequired | header | Bearer <api-key> (e.g. sk_test_... in sandbox, sk_live_... in production). The x-api-key header is also accepted. |
Example
Make the call
curl -X GET "https://api-b2b.stampmitra.in/v1/orders/:id/documents/:documentId/download" \
-H "Authorization: Bearer sk_test_xxxxxxxxxxxx"
Response
Response example
{
"downloadUrl": "https://files.stampmitra.in/signed/doc_00789.pdf?token=abc123",
"expiresAt": "2026-10-15T09:56:07.000Z"
}
Response fields| Field | Type |
|---|
downloadUrl | string |
expiresAt | string |