---
title: "The PDF behind a signing link"
method: GET
path: "/api/v1/firme/sign/{token}/document"
tags: ["Signatures (app routes)"]
---

# The PDF behind a signing link

`GET /api/v1/firme/sign/{token}/document`

## Request

- Base URL: `https://api.custodo.ai`
- URL: `https://api.custodo.ai/api/v1/firme/sign/{token}/document`
- Auth: none required

A short-lived link to the original, or to the PDF as signed so far.

## Path parameters

- `token` string, required

## Query parameters

- `which` 'source' | 'signed' | 'certificate'
- `key` string

## Response `200`

A download link.

- object
  - `ok` true, required
  - `data` FirmeDownloadTicket, required
    - `url` string, required: Works without authentication for 300 seconds.
    - `filename` string, required
    - `expiresIn` number, required

## Other responses

- `400`: The request did not validate: `error.details` names the fields.
- `403`: The module is off for this organisation, the credential lacks the permission, or the tier does not cover it.
- `404`: Nothing with that id in this organisation.
- `429`: The API key has spent its minute, or its day. See `Retry-After`.

---

[API](https://skmtc.dev/custodo/apis/custodo-integrazioni.md) · [All operations](https://skmtc.dev/custodo/apis/custodo-integrazioni/llms.txt) · [OpenAPI document](https://skmtc.dev/custodo/apis/custodo-integrazioni/revisions/16d336d3ec2a?raw)
