> ## Documentation Index
> Fetch the complete documentation index at: https://docs.timelockdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Download TSA Token

No authentication required. Download the TSA (Time Stamp Authority) token in DER format (`.tsr` file) for a specific batch. This token provides RFC 3161 certified proof of the timestamp.


## OpenAPI

````yaml GET /merkle/tsa/{batchId}
openapi: 3.0.0
info:
  title: TimeLockData API
  description: Public API for evidence management and blockchain traceability
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.timelockdata.com/api/v1
    description: Production
security: []
tags: []
paths:
  /merkle/tsa/{batchId}:
    get:
      tags:
        - Merkle Tree
      summary: Download TSA token (.tsr) for a batch
      operationId: MerkleController_getTsaToken
      parameters:
        - name: batchId
          required: true
          in: path
          description: Batch UUID
          schema:
            type: string
      responses:
        '200':
          description: TSA token in DER format (application/timestamp-reply)
        '404':
          description: Batch not found or no TSA token available

````