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

# Download completed signing PDF

> Memerlukan paket COMPLETED dalam cakupan aplikasi serta pengguna/kepemilikan terpetanya. Sebelum selesai, respons FINAL_DOCUMENT_NOT_READY (409); dokumen berubah menghasilkan DOCUMENT_CHANGED (409). Pembacaan Production memerlukan bukti paket Production tersimpan.



## OpenAPI

````yaml /openapi-id.json get /api/v1/signature-packages/{id}/document
openapi: 3.0.3
info:
  title: DekaSign integration and session API
  version: '2026-10-28'
  description: >-
    API Production memerlukan paket berbayar aktif, key/aplikasi Production,
    cakupan dan kapabilitas yang diizinkan. Operasi manajemen desain tertentu
    hanya untuk sandbox. Desain template dan keputusan approval manusia tidak
    diambil alih API key. Rute sesi memakai identitas terpisah. Spesifikasi ini
    tidak memberikan akses atau mengaktifkan kapabilitas.
servers:
  - url: https://{workspace}.dekasign.com
    description: Gunakan workspace organisasi yang diizinkan untuk aplikasi integrasi Anda.
    variables:
      workspace:
        default: your-workspace
security: []
paths:
  /api/v1/signature-packages/{id}/document:
    get:
      tags:
        - signature-packages
      summary: Download completed signing PDF
      description: >-
        Memerlukan paket COMPLETED dalam cakupan aplikasi serta
        pengguna/kepemilikan terpetanya. Sebelum selesai, respons
        FINAL_DOCUMENT_NOT_READY (409); dokumen berubah menghasilkan
        DOCUMENT_CHANGED (409). Pembacaan Production memerlukan bukti paket
        Production tersimpan.
      operationId: get_signature_packages_id_document
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 150
          description: ID dalam cakupan workspace.
        - name: X-Dekasign-Environment
          in: header
          required: true
          schema:
            type: string
            enum:
              - sandbox
              - production
      responses:
        '200':
          description: Hasil terotorisasi saat ini.
          content:
            application/pdf:
              schema:
                type: string
                format: binary
        '400':
          description: Operasi atau layout tidak valid.
        '401':
          description: Kredensial/sesi tidak valid atau kedaluwarsa.
        '403':
          description: Scope, environment, tenant atau kewenangan ditolak.
        '404':
          description: Tidak ditemukan atau di luar lingkup aplikasi.
        '409':
          description: >-
            Hasil belum siap, integritas gagal, versi berubah, atau konfigurasi
            sumber tidak tersedia.
        '422':
          description: Schema atau idempotency key wajib tidak valid.
        '429':
          description: Batas laju permintaan tercapai.
        '503':
          description: >-
            Kapabilitas lingkungan belum tersedia atau layanan sementara tidak
            tersedia.
      security:
        - SandboxBearer: []
        - ProductionBearer: []
components:
  securitySchemes:
    SandboxBearer:
      type: http
      scheme: bearer
      description: Key sandbox dks_test_, hanya untuk server.
    ProductionBearer:
      type: http
      scheme: bearer
      description: Key Production dks_live_, hanya di server.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.