---
updatedAt: 2026-11-12T11:23:33.000Z
agentTools:
  projectIndex: https://docs.decentro.tech/llms.txt
---

# Download PDF Files

### Hosts for Staging and Production Environments

| Environment | Host                     |
| :---------- | :----------------------- |
| Staging     | in.staging.decentro.tech |
| Production  | in.decentro.tech         |

> 📘 Validity
>
> Kindly note that the validity to Download the file using this API is 7 days from the date of the transaction.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "decentro-staging",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://in.staging.decentro.tech"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/v2/common/download/{decentro_transaction_id}.pdf": {
      "get": {
        "summary": "Download PDF Files",
        "description": "",
        "operationId": "kyc-and-onboarding-api-reference-utilities-download-pdf-files",
        "parameters": [
          {
            "name": "client_id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "client_secret",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "decentro_transaction_id",
            "in": "path",
            "description": "The Decentro Transaction ID received in the response to the original request that generated the PDF file. The Transaction ID may have been received in any KYC API, including but not limited to the Validate API with document type set to GSTIN Detailed, Udyam, etc., HyperStream workflow",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ]
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```