{
  "info": {
    "_postman_id": "5c1a7a8e-0f4b-4d52-9d3c-7d1f0e2b9a41",
    "name": "PDF Loft API",
    "description": "Run every PDF Loft tool, manage documents, send documents for signature and receive webhooks. Calls are authenticated with an API key sent as a Bearer token and count against the same task pool as the web apps.\n\nSet the apiKey variable to your API key (Settings, Developers in the web app). The baseUrl variable is https://api.pdfloft.wrxstack.com.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.pdfloft.wrxstack.com",
      "type": "string",
      "description": "The address of the API."
    },
    {
      "key": "apiKey",
      "value": "",
      "type": "string",
      "description": "Your API key, sent as a Bearer token. Keep it secret."
    }
  ],
  "item": [
    {
      "name": "Tools",
      "description": "Find and run PDF tools.",
      "item": [
        {
          "name": "List tools",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/tools",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "tools"
              ]
            },
            "description": "Every PDF tool, with the content types it reads, how many files one run takes, whether the API can run it now, and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools"
                  ]
                },
                "description": "Every PDF tool, with the content types it reads, how many files one run takes, whether the API can run it now, and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"items\": [\n    {\n      \"id\": \"merge\",\n      \"category\": \"organize\",\n      \"runsOn\": \"server\",\n      \"accepts\": [\n        \"accepts\"\n      ],\n      \"minFiles\": -9007199254740991,\n      \"batch\": true,\n      \"maxFiles\": -9007199254740991,\n      \"runnable\": true,\n      \"options\": {}\n    }\n  ]\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools"
                  ]
                },
                "description": "Every PDF tool, with the content types it reads, how many files one run takes, whether the API can run it now, and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools"
                  ]
                },
                "description": "Every PDF tool, with the content types it reads, how many files one run takes, whether the API can run it now, and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools"
                  ]
                },
                "description": "Every PDF tool, with the content types it reads, how many files one run takes, whether the API can run it now, and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools"
                  ]
                },
                "description": "Every PDF tool, with the content types it reads, how many files one run takes, whether the API can run it now, and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools"
                  ]
                },
                "description": "Every PDF tool, with the content types it reads, how many files one run takes, whether the API can run it now, and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools"
                  ]
                },
                "description": "Every PDF tool, with the content types it reads, how many files one run takes, whether the API can run it now, and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools"
                  ]
                },
                "description": "Every PDF tool, with the content types it reads, how many files one run takes, whether the API can run it now, and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools"
                  ]
                },
                "description": "Every PDF tool, with the content types it reads, how many files one run takes, whether the API can run it now, and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Get a tool",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/tools/:toolId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "tools",
                ":toolId"
              ],
              "variable": [
                {
                  "key": "toolId",
                  "value": "merge",
                  "description": "The tool id, such as merge, split or compress."
                }
              ]
            },
            "description": "One tool by its id, with the content types it reads, how many files a run takes and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools/{toolId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id, such as merge, split or compress."
                    }
                  ]
                },
                "description": "One tool by its id, with the content types it reads, how many files a run takes and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools/{toolId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"merge\",\n  \"category\": \"organize\",\n  \"runsOn\": \"server\",\n  \"accepts\": [\n    \"accepts\"\n  ],\n  \"minFiles\": -9007199254740991,\n  \"batch\": true,\n  \"maxFiles\": -9007199254740991,\n  \"runnable\": true,\n  \"options\": {}\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id, such as merge, split or compress."
                    }
                  ]
                },
                "description": "One tool by its id, with the content types it reads, how many files a run takes and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools/{toolId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id, such as merge, split or compress."
                    }
                  ]
                },
                "description": "One tool by its id, with the content types it reads, how many files a run takes and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools/{toolId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id, such as merge, split or compress."
                    }
                  ]
                },
                "description": "One tool by its id, with the content types it reads, how many files a run takes and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools/{toolId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id, such as merge, split or compress."
                    }
                  ]
                },
                "description": "One tool by its id, with the content types it reads, how many files a run takes and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools/{toolId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id, such as merge, split or compress."
                    }
                  ]
                },
                "description": "One tool by its id, with the content types it reads, how many files a run takes and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools/{toolId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id, such as merge, split or compress."
                    }
                  ]
                },
                "description": "One tool by its id, with the content types it reads, how many files a run takes and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools/{toolId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id, such as merge, split or compress."
                    }
                  ]
                },
                "description": "One tool by its id, with the content types it reads, how many files a run takes and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools/{toolId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id, such as merge, split or compress."
                    }
                  ]
                },
                "description": "One tool by its id, with the content types it reads, how many files a run takes and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools/{toolId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id, such as merge, split or compress."
                    }
                  ]
                },
                "description": "One tool by its id, with the content types it reads, how many files a run takes and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools/{toolId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id, such as merge, split or compress."
                    }
                  ]
                },
                "description": "One tool by its id, with the content types it reads, how many files a run takes and the options it takes as a JSON Schema.\n\nScope: tools:run\nEndpoint: GET /v1/tools/{toolId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Run a tool",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "type": "text",
                "description": "A new value for each new request. Repeat it only to retry the same request."
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "tools",
                ":toolId",
                "runs"
              ],
              "variable": [
                {
                  "key": "toolId",
                  "value": "merge",
                  "description": "The tool id."
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "202 Accepted",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Accepted",
              "code": 202,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"cm3x8k2f10001\",\n  \"tool\": \"merge\",\n  \"status\": \"queued\",\n  \"stage\": \"CONVERTING\",\n  \"progress\": 0,\n  \"error\": null,\n  \"results\": -9007199254740991,\n  \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n  \"finishedAt\": \"2026-11-04T10:00:00.000Z\",\n  \"resultExpiresAt\": \"2026-11-04T10:00:00.000Z\"\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 idempotency_key_invalid",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"idempotency_key_invalid\",\n  \"message\": \"The Idempotency-Key is not 1 to 255 visible ASCII characters.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 run.too_many_files",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"run.too_many_files\",\n  \"message\": \"The run names more files than one run of the tool takes on your plan.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 run.too_few_files",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"run.too_few_files\",\n  \"message\": \"The tool needs more files than the run names.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 tool.runs_on_device",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"tool.runs_on_device\",\n  \"message\": \"The tool has no server version, so it cannot be run through the API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 options.invalid",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"options.invalid\",\n  \"message\": \"The options do not fit the tool.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 tasks.exhausted",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"tasks.exhausted\",\n  \"message\": \"The account has used its tasks for this period.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 credits.exhausted",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"credits.exhausted\",\n  \"message\": \"The account has used its AI credits for this period.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 idempotency_in_progress",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"idempotency_in_progress\",\n  \"message\": \"A request with the same Idempotency-Key is still running.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 payload_too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"payload_too_large\",\n  \"message\": \"A JSON body is larger than 1 MB.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 file.too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"file.too_large\",\n  \"message\": \"A file is larger than your plan or the tool allows.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 unsupported_media_type",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"unsupported_media_type\",\n  \"message\": \"The body has a content type the route does not read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 file.type_refused",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"file.type_refused\",\n  \"message\": \"No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "422 idempotency_key_reused",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 422,\n  \"error\": \"idempotency_key_reused\",\n  \"message\": \"The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 tool.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"tool.unavailable\",\n  \"message\": \"The tool cannot run right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/tools/:toolId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "tools",
                    ":toolId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "toolId",
                      "value": "merge",
                      "description": "The tool id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ],\n  \"options\": {}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Starts a run on uploaded files and answers at once with the run. The options are those the tool lists at GET /v1/tools/{toolId}; options that do not fit are refused with options.invalid before anything is counted. The API runs the tool on the server, so the files are uploaded, processed and deleted two hours after the run, whatever the web app does for that tool. Tools that place pictures on a document (sign, editor) take the document first and the pictures after it. Poll the run, or subscribe to the job.completed and job.failed webhook events. A run counts against the same task pool as the web; the count is reserved now and committed when the run succeeds. A tool listed with batch true also takes many files: each file is its own run, the files that work come back in one ZIP (result 0) with a JSON report (result 1) that names, for each file in the order given, whether it worked and why not, and each file counts one task. A run in which every file fails fails with the first reason. A tool that starts from nothing, such as blank-pdf, takes no files. The redact tool takes terms, patterns (email, phone, card, national-id) and areas; with preview true it only lists the matches as JSON, in the same form as areas, and counts no task. The watermark tool takes a picture, as the last file, when image is true. The jpg-to-pdf tool reads JPEG, PNG, GIF, WebP, BMP, TIFF and HEIC; every page of a TIFF becomes a page, and an animated GIF gives its first frame unless frames is all.\n\nScope: tools:run\nEndpoint: POST /v1/tools/{toolId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 400 | tool.runs_on_device | The tool has no server version, so it cannot be run through the API. Every tool in the current list has one; the code is kept for a tool added later that runs in the browser only. | Choose a tool whose runnable field is true in GET /v1/tools. |\n| 400 | options.invalid | The options do not fit the tool. Nothing was counted. The fields array names each invalid option. | Compare the options with the JSON Schema that GET /v1/tools/{toolId} returns for the tool, then send the corrected options. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Files",
      "description": "Upload the files a run reads.",
      "item": [
        {
          "name": "Upload a file",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/pdf",
                "type": "text",
                "description": "The content type of the file you send."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/files",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "files"
              ]
            },
            "body": {
              "mode": "file"
            },
            "description": "Send the bytes of one file as the request body, with its Content-Type and an exact Content-Length (chunked uploads are not accepted). The largest file is your plan limit: 25 MB on Free up to 1 GB on Enterprise. The returned id goes into a run. An uploaded file that no run uses is deleted after ten minutes.\n\nScope: tools:run\nEndpoint: POST /v1/files\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "201 Created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/pdf",
                    "type": "text",
                    "description": "The content type of the file you send."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/files",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "files"
                  ]
                },
                "body": {
                  "mode": "file"
                },
                "description": "Send the bytes of one file as the request body, with its Content-Type and an exact Content-Length (chunked uploads are not accepted). The largest file is your plan limit: 25 MB on Free up to 1 GB on Enterprise. The returned id goes into a run. An uploaded file that no run uses is deleted after ten minutes.\n\nScope: tools:run\nEndpoint: POST /v1/files\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\",\n  \"sizeBytes\": 482113,\n  \"contentType\": \"application/pdf\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\"\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/pdf",
                    "type": "text",
                    "description": "The content type of the file you send."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/files",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "files"
                  ]
                },
                "body": {
                  "mode": "file"
                },
                "description": "Send the bytes of one file as the request body, with its Content-Type and an exact Content-Length (chunked uploads are not accepted). The largest file is your plan limit: 25 MB on Free up to 1 GB on Enterprise. The returned id goes into a run. An uploaded file that no run uses is deleted after ten minutes.\n\nScope: tools:run\nEndpoint: POST /v1/files\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/pdf",
                    "type": "text",
                    "description": "The content type of the file you send."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/files",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "files"
                  ]
                },
                "body": {
                  "mode": "file"
                },
                "description": "Send the bytes of one file as the request body, with its Content-Type and an exact Content-Length (chunked uploads are not accepted). The largest file is your plan limit: 25 MB on Free up to 1 GB on Enterprise. The returned id goes into a run. An uploaded file that no run uses is deleted after ten minutes.\n\nScope: tools:run\nEndpoint: POST /v1/files\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/pdf",
                    "type": "text",
                    "description": "The content type of the file you send."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/files",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "files"
                  ]
                },
                "body": {
                  "mode": "file"
                },
                "description": "Send the bytes of one file as the request body, with its Content-Type and an exact Content-Length (chunked uploads are not accepted). The largest file is your plan limit: 25 MB on Free up to 1 GB on Enterprise. The returned id goes into a run. An uploaded file that no run uses is deleted after ten minutes.\n\nScope: tools:run\nEndpoint: POST /v1/files\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/pdf",
                    "type": "text",
                    "description": "The content type of the file you send."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/files",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "files"
                  ]
                },
                "body": {
                  "mode": "file"
                },
                "description": "Send the bytes of one file as the request body, with its Content-Type and an exact Content-Length (chunked uploads are not accepted). The largest file is your plan limit: 25 MB on Free up to 1 GB on Enterprise. The returned id goes into a run. An uploaded file that no run uses is deleted after ten minutes.\n\nScope: tools:run\nEndpoint: POST /v1/files\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/pdf",
                    "type": "text",
                    "description": "The content type of the file you send."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/files",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "files"
                  ]
                },
                "body": {
                  "mode": "file"
                },
                "description": "Send the bytes of one file as the request body, with its Content-Type and an exact Content-Length (chunked uploads are not accepted). The largest file is your plan limit: 25 MB on Free up to 1 GB on Enterprise. The returned id goes into a run. An uploaded file that no run uses is deleted after ten minutes.\n\nScope: tools:run\nEndpoint: POST /v1/files\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/pdf",
                    "type": "text",
                    "description": "The content type of the file you send."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/files",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "files"
                  ]
                },
                "body": {
                  "mode": "file"
                },
                "description": "Send the bytes of one file as the request body, with its Content-Type and an exact Content-Length (chunked uploads are not accepted). The largest file is your plan limit: 25 MB on Free up to 1 GB on Enterprise. The returned id goes into a run. An uploaded file that no run uses is deleted after ten minutes.\n\nScope: tools:run\nEndpoint: POST /v1/files\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/pdf",
                    "type": "text",
                    "description": "The content type of the file you send."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/files",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "files"
                  ]
                },
                "body": {
                  "mode": "file"
                },
                "description": "Send the bytes of one file as the request body, with its Content-Type and an exact Content-Length (chunked uploads are not accepted). The largest file is your plan limit: 25 MB on Free up to 1 GB on Enterprise. The returned id goes into a run. An uploaded file that no run uses is deleted after ten minutes.\n\nScope: tools:run\nEndpoint: POST /v1/files\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 file.too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/pdf",
                    "type": "text",
                    "description": "The content type of the file you send."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/files",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "files"
                  ]
                },
                "body": {
                  "mode": "file"
                },
                "description": "Send the bytes of one file as the request body, with its Content-Type and an exact Content-Length (chunked uploads are not accepted). The largest file is your plan limit: 25 MB on Free up to 1 GB on Enterprise. The returned id goes into a run. An uploaded file that no run uses is deleted after ten minutes.\n\nScope: tools:run\nEndpoint: POST /v1/files\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"file.too_large\",\n  \"message\": \"A file is larger than your plan or the tool allows.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 file.type_refused",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/pdf",
                    "type": "text",
                    "description": "The content type of the file you send."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/files",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "files"
                  ]
                },
                "body": {
                  "mode": "file"
                },
                "description": "Send the bytes of one file as the request body, with its Content-Type and an exact Content-Length (chunked uploads are not accepted). The largest file is your plan limit: 25 MB on Free up to 1 GB on Enterprise. The returned id goes into a run. An uploaded file that no run uses is deleted after ten minutes.\n\nScope: tools:run\nEndpoint: POST /v1/files\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"file.type_refused\",\n  \"message\": \"No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/pdf",
                    "type": "text",
                    "description": "The content type of the file you send."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/files",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "files"
                  ]
                },
                "body": {
                  "mode": "file"
                },
                "description": "Send the bytes of one file as the request body, with its Content-Type and an exact Content-Length (chunked uploads are not accepted). The largest file is your plan limit: 25 MB on Free up to 1 GB on Enterprise. The returned id goes into a run. An uploaded file that no run uses is deleted after ten minutes.\n\nScope: tools:run\nEndpoint: POST /v1/files\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/pdf",
                    "type": "text",
                    "description": "The content type of the file you send."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/files",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "files"
                  ]
                },
                "body": {
                  "mode": "file"
                },
                "description": "Send the bytes of one file as the request body, with its Content-Type and an exact Content-Length (chunked uploads are not accepted). The largest file is your plan limit: 25 MB on Free up to 1 GB on Enterprise. The returned id goes into a run. An uploaded file that no run uses is deleted after ten minutes.\n\nScope: tools:run\nEndpoint: POST /v1/files\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/pdf",
                    "type": "text",
                    "description": "The content type of the file you send."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/files",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "files"
                  ]
                },
                "body": {
                  "mode": "file"
                },
                "description": "Send the bytes of one file as the request body, with its Content-Type and an exact Content-Length (chunked uploads are not accepted). The largest file is your plan limit: 25 MB on Free up to 1 GB on Enterprise. The returned id goes into a run. An uploaded file that no run uses is deleted after ten minutes.\n\nScope: tools:run\nEndpoint: POST /v1/files\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Jobs",
      "description": "Follow a run and download its results.",
      "item": [
        {
          "name": "List runs",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/jobs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "jobs"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, 1 to 100.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The nextCursor of the previous page.",
                  "disabled": true
                }
              ]
            },
            "description": "The runs started by the person who owns the key, newest first.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The runs started by the person who owns the key, newest first.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"items\": [\n    {\n      \"id\": \"cm3x8k2f10001\",\n      \"tool\": \"merge\",\n      \"status\": \"queued\",\n      \"stage\": \"CONVERTING\",\n      \"progress\": 0,\n      \"error\": null,\n      \"results\": -9007199254740991,\n      \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n      \"finishedAt\": \"2026-11-04T10:00:00.000Z\",\n      \"resultExpiresAt\": \"2026-11-04T10:00:00.000Z\"\n    }\n  ],\n  \"nextCursor\": \"nextCursor\"\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The runs started by the person who owns the key, newest first.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The runs started by the person who owns the key, newest first.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The runs started by the person who owns the key, newest first.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The runs started by the person who owns the key, newest first.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The runs started by the person who owns the key, newest first.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The runs started by the person who owns the key, newest first.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The runs started by the person who owns the key, newest first.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The runs started by the person who owns the key, newest first.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The runs started by the person who owns the key, newest first.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Get a run",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/jobs/:jobId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "jobs",
                ":jobId"
              ],
              "variable": [
                {
                  "key": "jobId",
                  "value": "cm3x8k2f10001",
                  "description": "The run id."
                }
              ]
            },
            "description": "The state of one run. Poll no faster than once a second.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "The state of one run. Poll no faster than once a second.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"cm3x8k2f10001\",\n  \"tool\": \"merge\",\n  \"status\": \"queued\",\n  \"stage\": \"CONVERTING\",\n  \"progress\": 0,\n  \"error\": null,\n  \"results\": -9007199254740991,\n  \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n  \"finishedAt\": \"2026-11-04T10:00:00.000Z\",\n  \"resultExpiresAt\": \"2026-11-04T10:00:00.000Z\"\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "The state of one run. Poll no faster than once a second.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "The state of one run. Poll no faster than once a second.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "The state of one run. Poll no faster than once a second.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "The state of one run. Poll no faster than once a second.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "The state of one run. Poll no faster than once a second.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "The state of one run. Poll no faster than once a second.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "The state of one run. Poll no faster than once a second.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "The state of one run. Poll no faster than once a second.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "The state of one run. Poll no faster than once a second.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "The state of one run. Poll no faster than once a second.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Cancel a run",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/jobs/:jobId/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "jobs",
                ":jobId",
                "cancel"
              ],
              "variable": [
                {
                  "key": "jobId",
                  "value": "cm3x8k2f10001",
                  "description": "The run id."
                }
              ]
            },
            "description": "Ends a queued or running run and gives its tasks back. Cancelling a finished run changes nothing.\n\nScope: tools:run\nEndpoint: POST /v1/jobs/{jobId}/cancel\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "Ends a queued or running run and gives its tasks back. Cancelling a finished run changes nothing.\n\nScope: tools:run\nEndpoint: POST /v1/jobs/{jobId}/cancel\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"cm3x8k2f10001\",\n  \"tool\": \"merge\",\n  \"status\": \"queued\",\n  \"stage\": \"CONVERTING\",\n  \"progress\": 0,\n  \"error\": null,\n  \"results\": -9007199254740991,\n  \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n  \"finishedAt\": \"2026-11-04T10:00:00.000Z\",\n  \"resultExpiresAt\": \"2026-11-04T10:00:00.000Z\"\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "Ends a queued or running run and gives its tasks back. Cancelling a finished run changes nothing.\n\nScope: tools:run\nEndpoint: POST /v1/jobs/{jobId}/cancel\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "Ends a queued or running run and gives its tasks back. Cancelling a finished run changes nothing.\n\nScope: tools:run\nEndpoint: POST /v1/jobs/{jobId}/cancel\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "Ends a queued or running run and gives its tasks back. Cancelling a finished run changes nothing.\n\nScope: tools:run\nEndpoint: POST /v1/jobs/{jobId}/cancel\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "Ends a queued or running run and gives its tasks back. Cancelling a finished run changes nothing.\n\nScope: tools:run\nEndpoint: POST /v1/jobs/{jobId}/cancel\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "Ends a queued or running run and gives its tasks back. Cancelling a finished run changes nothing.\n\nScope: tools:run\nEndpoint: POST /v1/jobs/{jobId}/cancel\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "Ends a queued or running run and gives its tasks back. Cancelling a finished run changes nothing.\n\nScope: tools:run\nEndpoint: POST /v1/jobs/{jobId}/cancel\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "Ends a queued or running run and gives its tasks back. Cancelling a finished run changes nothing.\n\nScope: tools:run\nEndpoint: POST /v1/jobs/{jobId}/cancel\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "Ends a queued or running run and gives its tasks back. Cancelling a finished run changes nothing.\n\nScope: tools:run\nEndpoint: POST /v1/jobs/{jobId}/cancel\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "Ends a queued or running run and gives its tasks back. Cancelling a finished run changes nothing.\n\nScope: tools:run\nEndpoint: POST /v1/jobs/{jobId}/cancel\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "Ends a queued or running run and gives its tasks back. Cancelling a finished run changes nothing.\n\nScope: tools:run\nEndpoint: POST /v1/jobs/{jobId}/cancel\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    }
                  ]
                },
                "description": "Ends a queued or running run and gives its tasks back. Cancelling a finished run changes nothing.\n\nScope: tools:run\nEndpoint: POST /v1/jobs/{jobId}/cancel\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Download a result",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/jobs/:jobId/results/:index",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "jobs",
                ":jobId",
                "results",
                ":index"
              ],
              "variable": [
                {
                  "key": "jobId",
                  "value": "cm3x8k2f10001",
                  "description": "The run id."
                },
                {
                  "key": "index",
                  "value": "0",
                  "description": "The result number, from 0."
                }
              ]
            },
            "description": "A signed link to one result file of a finished run, valid for five minutes. Results are deleted two hours after the run; save one as a document to keep it.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}/results/{index}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/results/:index",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "results",
                    ":index"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    },
                    {
                      "key": "index",
                      "value": "0",
                      "description": "The result number, from 0."
                    }
                  ]
                },
                "description": "A signed link to one result file of a finished run, valid for five minutes. Results are deleted two hours after the run; save one as a document to keep it.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}/results/{index}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"url\": \"https://example.com/file\",\n  \"expiresInSeconds\": 300\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/results/:index",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "results",
                    ":index"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    },
                    {
                      "key": "index",
                      "value": "0",
                      "description": "The result number, from 0."
                    }
                  ]
                },
                "description": "A signed link to one result file of a finished run, valid for five minutes. Results are deleted two hours after the run; save one as a document to keep it.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}/results/{index}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/results/:index",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "results",
                    ":index"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    },
                    {
                      "key": "index",
                      "value": "0",
                      "description": "The result number, from 0."
                    }
                  ]
                },
                "description": "A signed link to one result file of a finished run, valid for five minutes. Results are deleted two hours after the run; save one as a document to keep it.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}/results/{index}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/results/:index",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "results",
                    ":index"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    },
                    {
                      "key": "index",
                      "value": "0",
                      "description": "The result number, from 0."
                    }
                  ]
                },
                "description": "A signed link to one result file of a finished run, valid for five minutes. Results are deleted two hours after the run; save one as a document to keep it.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}/results/{index}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/results/:index",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "results",
                    ":index"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    },
                    {
                      "key": "index",
                      "value": "0",
                      "description": "The result number, from 0."
                    }
                  ]
                },
                "description": "A signed link to one result file of a finished run, valid for five minutes. Results are deleted two hours after the run; save one as a document to keep it.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}/results/{index}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/results/:index",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "results",
                    ":index"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    },
                    {
                      "key": "index",
                      "value": "0",
                      "description": "The result number, from 0."
                    }
                  ]
                },
                "description": "A signed link to one result file of a finished run, valid for five minutes. Results are deleted two hours after the run; save one as a document to keep it.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}/results/{index}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/results/:index",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "results",
                    ":index"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    },
                    {
                      "key": "index",
                      "value": "0",
                      "description": "The result number, from 0."
                    }
                  ]
                },
                "description": "A signed link to one result file of a finished run, valid for five minutes. Results are deleted two hours after the run; save one as a document to keep it.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}/results/{index}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/results/:index",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "results",
                    ":index"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    },
                    {
                      "key": "index",
                      "value": "0",
                      "description": "The result number, from 0."
                    }
                  ]
                },
                "description": "A signed link to one result file of a finished run, valid for five minutes. Results are deleted two hours after the run; save one as a document to keep it.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}/results/{index}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "410 result.expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/results/:index",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "results",
                    ":index"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    },
                    {
                      "key": "index",
                      "value": "0",
                      "description": "The result number, from 0."
                    }
                  ]
                },
                "description": "A signed link to one result file of a finished run, valid for five minutes. Results are deleted two hours after the run; save one as a document to keep it.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}/results/{index}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Gone",
              "code": 410,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 410,\n  \"error\": \"result.expired\",\n  \"message\": \"The result file was deleted two hours after the run finished.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/results/:index",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "results",
                    ":index"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    },
                    {
                      "key": "index",
                      "value": "0",
                      "description": "The result number, from 0."
                    }
                  ]
                },
                "description": "A signed link to one result file of a finished run, valid for five minutes. Results are deleted two hours after the run; save one as a document to keep it.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}/results/{index}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/results/:index",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "results",
                    ":index"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    },
                    {
                      "key": "index",
                      "value": "0",
                      "description": "The result number, from 0."
                    }
                  ]
                },
                "description": "A signed link to one result file of a finished run, valid for five minutes. Results are deleted two hours after the run; save one as a document to keep it.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}/results/{index}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/jobs/:jobId/results/:index",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "jobs",
                    ":jobId",
                    "results",
                    ":index"
                  ],
                  "variable": [
                    {
                      "key": "jobId",
                      "value": "cm3x8k2f10001",
                      "description": "The run id."
                    },
                    {
                      "key": "index",
                      "value": "0",
                      "description": "The result number, from 0."
                    }
                  ]
                },
                "description": "A signed link to one result file of a finished run, valid for five minutes. Results are deleted two hours after the run; save one as a document to keep it.\n\nScope: jobs:read\nEndpoint: GET /v1/jobs/{jobId}/results/{index}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Documents",
      "description": "The document library.",
      "item": [
        {
          "name": "List documents",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/documents",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "documents"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, 1 to 100.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The nextCursor of the previous page.",
                  "disabled": true
                },
                {
                  "key": "q",
                  "value": "",
                  "description": "Words to find at the start of a word in a name, or in the text of a document that has text. Every word must match.",
                  "disabled": true
                },
                {
                  "key": "folderId",
                  "value": "",
                  "description": "A folder id, or none for the documents at the top of the library. Every folder when omitted.",
                  "disabled": true
                },
                {
                  "key": "tag",
                  "value": "",
                  "description": "Only documents with this tag.",
                  "disabled": true
                },
                {
                  "key": "scope",
                  "value": "",
                  "description": "mine: documents the key owner made. team: documents shared with the account. Both when omitted.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "What to order by. updated when omitted.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "asc or desc. desc, except asc for name.",
                  "disabled": true
                }
              ]
            },
            "description": "The library documents the key can see: every account-wide document and the private documents of the key owner. Search by name and by the text of documents that have text, and filter by folder, tag and who made the document. The list is paged with a cursor and holds with thousands of documents; a search shows its best 500 matches.\n\nScope: documents:read\nEndpoint: GET /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    },
                    {
                      "key": "q",
                      "value": "",
                      "description": "Words to find at the start of a word in a name, or in the text of a document that has text. Every word must match.",
                      "disabled": true
                    },
                    {
                      "key": "folderId",
                      "value": "",
                      "description": "A folder id, or none for the documents at the top of the library. Every folder when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "tag",
                      "value": "",
                      "description": "Only documents with this tag.",
                      "disabled": true
                    },
                    {
                      "key": "scope",
                      "value": "",
                      "description": "mine: documents the key owner made. team: documents shared with the account. Both when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "What to order by. updated when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "asc or desc. desc, except asc for name.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The library documents the key can see: every account-wide document and the private documents of the key owner. Search by name and by the text of documents that have text, and filter by folder, tag and who made the document. The list is paged with a cursor and holds with thousands of documents; a search shows its best 500 matches.\n\nScope: documents:read\nEndpoint: GET /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"items\": [\n    {\n      \"id\": \"id\",\n      \"name\": \"Lease.pdf\",\n      \"visibility\": \"PRIVATE\",\n      \"currentVersion\": -9007199254740991,\n      \"sizeBytes\": -9007199254740991,\n      \"pageCount\": -9007199254740991,\n      \"folderId\": \"folderId\",\n      \"tags\": [\n        \"tags\"\n      ],\n      \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n      \"updatedAt\": \"2026-11-04T10:00:00.000Z\"\n    }\n  ],\n  \"nextCursor\": \"nextCursor\"\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    },
                    {
                      "key": "q",
                      "value": "",
                      "description": "Words to find at the start of a word in a name, or in the text of a document that has text. Every word must match.",
                      "disabled": true
                    },
                    {
                      "key": "folderId",
                      "value": "",
                      "description": "A folder id, or none for the documents at the top of the library. Every folder when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "tag",
                      "value": "",
                      "description": "Only documents with this tag.",
                      "disabled": true
                    },
                    {
                      "key": "scope",
                      "value": "",
                      "description": "mine: documents the key owner made. team: documents shared with the account. Both when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "What to order by. updated when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "asc or desc. desc, except asc for name.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The library documents the key can see: every account-wide document and the private documents of the key owner. Search by name and by the text of documents that have text, and filter by folder, tag and who made the document. The list is paged with a cursor and holds with thousands of documents; a search shows its best 500 matches.\n\nScope: documents:read\nEndpoint: GET /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    },
                    {
                      "key": "q",
                      "value": "",
                      "description": "Words to find at the start of a word in a name, or in the text of a document that has text. Every word must match.",
                      "disabled": true
                    },
                    {
                      "key": "folderId",
                      "value": "",
                      "description": "A folder id, or none for the documents at the top of the library. Every folder when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "tag",
                      "value": "",
                      "description": "Only documents with this tag.",
                      "disabled": true
                    },
                    {
                      "key": "scope",
                      "value": "",
                      "description": "mine: documents the key owner made. team: documents shared with the account. Both when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "What to order by. updated when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "asc or desc. desc, except asc for name.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The library documents the key can see: every account-wide document and the private documents of the key owner. Search by name and by the text of documents that have text, and filter by folder, tag and who made the document. The list is paged with a cursor and holds with thousands of documents; a search shows its best 500 matches.\n\nScope: documents:read\nEndpoint: GET /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    },
                    {
                      "key": "q",
                      "value": "",
                      "description": "Words to find at the start of a word in a name, or in the text of a document that has text. Every word must match.",
                      "disabled": true
                    },
                    {
                      "key": "folderId",
                      "value": "",
                      "description": "A folder id, or none for the documents at the top of the library. Every folder when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "tag",
                      "value": "",
                      "description": "Only documents with this tag.",
                      "disabled": true
                    },
                    {
                      "key": "scope",
                      "value": "",
                      "description": "mine: documents the key owner made. team: documents shared with the account. Both when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "What to order by. updated when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "asc or desc. desc, except asc for name.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The library documents the key can see: every account-wide document and the private documents of the key owner. Search by name and by the text of documents that have text, and filter by folder, tag and who made the document. The list is paged with a cursor and holds with thousands of documents; a search shows its best 500 matches.\n\nScope: documents:read\nEndpoint: GET /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    },
                    {
                      "key": "q",
                      "value": "",
                      "description": "Words to find at the start of a word in a name, or in the text of a document that has text. Every word must match.",
                      "disabled": true
                    },
                    {
                      "key": "folderId",
                      "value": "",
                      "description": "A folder id, or none for the documents at the top of the library. Every folder when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "tag",
                      "value": "",
                      "description": "Only documents with this tag.",
                      "disabled": true
                    },
                    {
                      "key": "scope",
                      "value": "",
                      "description": "mine: documents the key owner made. team: documents shared with the account. Both when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "What to order by. updated when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "asc or desc. desc, except asc for name.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The library documents the key can see: every account-wide document and the private documents of the key owner. Search by name and by the text of documents that have text, and filter by folder, tag and who made the document. The list is paged with a cursor and holds with thousands of documents; a search shows its best 500 matches.\n\nScope: documents:read\nEndpoint: GET /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    },
                    {
                      "key": "q",
                      "value": "",
                      "description": "Words to find at the start of a word in a name, or in the text of a document that has text. Every word must match.",
                      "disabled": true
                    },
                    {
                      "key": "folderId",
                      "value": "",
                      "description": "A folder id, or none for the documents at the top of the library. Every folder when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "tag",
                      "value": "",
                      "description": "Only documents with this tag.",
                      "disabled": true
                    },
                    {
                      "key": "scope",
                      "value": "",
                      "description": "mine: documents the key owner made. team: documents shared with the account. Both when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "What to order by. updated when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "asc or desc. desc, except asc for name.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The library documents the key can see: every account-wide document and the private documents of the key owner. Search by name and by the text of documents that have text, and filter by folder, tag and who made the document. The list is paged with a cursor and holds with thousands of documents; a search shows its best 500 matches.\n\nScope: documents:read\nEndpoint: GET /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    },
                    {
                      "key": "q",
                      "value": "",
                      "description": "Words to find at the start of a word in a name, or in the text of a document that has text. Every word must match.",
                      "disabled": true
                    },
                    {
                      "key": "folderId",
                      "value": "",
                      "description": "A folder id, or none for the documents at the top of the library. Every folder when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "tag",
                      "value": "",
                      "description": "Only documents with this tag.",
                      "disabled": true
                    },
                    {
                      "key": "scope",
                      "value": "",
                      "description": "mine: documents the key owner made. team: documents shared with the account. Both when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "What to order by. updated when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "asc or desc. desc, except asc for name.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The library documents the key can see: every account-wide document and the private documents of the key owner. Search by name and by the text of documents that have text, and filter by folder, tag and who made the document. The list is paged with a cursor and holds with thousands of documents; a search shows its best 500 matches.\n\nScope: documents:read\nEndpoint: GET /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    },
                    {
                      "key": "q",
                      "value": "",
                      "description": "Words to find at the start of a word in a name, or in the text of a document that has text. Every word must match.",
                      "disabled": true
                    },
                    {
                      "key": "folderId",
                      "value": "",
                      "description": "A folder id, or none for the documents at the top of the library. Every folder when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "tag",
                      "value": "",
                      "description": "Only documents with this tag.",
                      "disabled": true
                    },
                    {
                      "key": "scope",
                      "value": "",
                      "description": "mine: documents the key owner made. team: documents shared with the account. Both when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "What to order by. updated when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "asc or desc. desc, except asc for name.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The library documents the key can see: every account-wide document and the private documents of the key owner. Search by name and by the text of documents that have text, and filter by folder, tag and who made the document. The list is paged with a cursor and holds with thousands of documents; a search shows its best 500 matches.\n\nScope: documents:read\nEndpoint: GET /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    },
                    {
                      "key": "q",
                      "value": "",
                      "description": "Words to find at the start of a word in a name, or in the text of a document that has text. Every word must match.",
                      "disabled": true
                    },
                    {
                      "key": "folderId",
                      "value": "",
                      "description": "A folder id, or none for the documents at the top of the library. Every folder when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "tag",
                      "value": "",
                      "description": "Only documents with this tag.",
                      "disabled": true
                    },
                    {
                      "key": "scope",
                      "value": "",
                      "description": "mine: documents the key owner made. team: documents shared with the account. Both when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "What to order by. updated when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "asc or desc. desc, except asc for name.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The library documents the key can see: every account-wide document and the private documents of the key owner. Search by name and by the text of documents that have text, and filter by folder, tag and who made the document. The list is paged with a cursor and holds with thousands of documents; a search shows its best 500 matches.\n\nScope: documents:read\nEndpoint: GET /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    },
                    {
                      "key": "q",
                      "value": "",
                      "description": "Words to find at the start of a word in a name, or in the text of a document that has text. Every word must match.",
                      "disabled": true
                    },
                    {
                      "key": "folderId",
                      "value": "",
                      "description": "A folder id, or none for the documents at the top of the library. Every folder when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "tag",
                      "value": "",
                      "description": "Only documents with this tag.",
                      "disabled": true
                    },
                    {
                      "key": "scope",
                      "value": "",
                      "description": "mine: documents the key owner made. team: documents shared with the account. Both when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "What to order by. updated when omitted.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "asc or desc. desc, except asc for name.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The library documents the key can see: every account-wide document and the private documents of the key owner. Search by name and by the text of documents that have text, and filter by folder, tag and who made the document. The list is paged with a cursor and holds with thousands of documents; a search shows its best 500 matches.\n\nScope: documents:read\nEndpoint: GET /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Save a document",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "type": "text",
                "description": "A new value for each new request. Repeat it only to retry the same request."
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/documents",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "documents"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "201 Created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"id\",\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"PRIVATE\",\n  \"currentVersion\": -9007199254740991,\n  \"sizeBytes\": -9007199254740991,\n  \"pageCount\": -9007199254740991,\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ],\n  \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n  \"updatedAt\": \"2026-11-04T10:00:00.000Z\"\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 idempotency_key_invalid",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"idempotency_key_invalid\",\n  \"message\": \"The Idempotency-Key is not 1 to 255 visible ASCII characters.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 idempotency_in_progress",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"idempotency_in_progress\",\n  \"message\": \"A request with the same Idempotency-Key is still running.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 storage.full",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"storage.full\",\n  \"message\": \"Saving the document would take the library past the storage limit of the plan.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 storage.over_limit",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"storage.over_limit\",\n  \"message\": \"The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "410 result.expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Gone",
              "code": 410,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 410,\n  \"error\": \"result.expired\",\n  \"message\": \"The result file was deleted two hours after the run finished.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 payload_too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"payload_too_large\",\n  \"message\": \"A JSON body is larger than 1 MB.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 unsupported_media_type",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"unsupported_media_type\",\n  \"message\": \"The body has a content type the route does not read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 file.type_refused",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"file.type_refused\",\n  \"message\": \"No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "422 idempotency_key_reused",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 422,\n  \"error\": \"idempotency_key_reused\",\n  \"message\": \"The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"ACCOUNT\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves an uploaded PDF or a run result to the library. The file is scanned for viruses and counted against the library storage of your plan.\n\nScope: documents:write\nEndpoint: POST /v1/documents\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | storage.full | Saving the document would take the library past the storage limit of the plan. | Delete documents you no longer need with DELETE /v1/documents/{documentId}, or upgrade the plan. |\n| 409 | storage.over_limit | The library is already over its storage limit, so nothing new is saved until space is freed or the plan changes. | Delete documents or upgrade the plan, then save again. |\n| 410 | result.expired | The result file was deleted two hours after the run finished. | Run the tool again, or save the result as a document with POST /v1/documents before it expires. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Get a document",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/documents/:documentId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "documents",
                ":documentId"
              ],
              "variable": [
                {
                  "key": "documentId",
                  "value": "cm3x8k2f10002",
                  "description": "The document id."
                }
              ]
            },
            "description": "One document of the library, with the size and page count of its current version.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "One document of the library, with the size and page count of its current version.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"id\",\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"PRIVATE\",\n  \"currentVersion\": -9007199254740991,\n  \"sizeBytes\": -9007199254740991,\n  \"pageCount\": -9007199254740991,\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ],\n  \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n  \"updatedAt\": \"2026-11-04T10:00:00.000Z\"\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "One document of the library, with the size and page count of its current version.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "One document of the library, with the size and page count of its current version.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "One document of the library, with the size and page count of its current version.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "One document of the library, with the size and page count of its current version.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "One document of the library, with the size and page count of its current version.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "One document of the library, with the size and page count of its current version.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "One document of the library, with the size and page count of its current version.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "One document of the library, with the size and page count of its current version.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "One document of the library, with the size and page count of its current version.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "One document of the library, with the size and page count of its current version.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Delete a document",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/documents/:documentId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "documents",
                ":documentId"
              ],
              "variable": [
                {
                  "key": "documentId",
                  "value": "cm3x8k2f10002",
                  "description": "The document id."
                }
              ]
            },
            "description": "Deletes a document and every version of it.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "204 No Content",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes a document and every version of it.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "No Content",
              "code": 204,
              "_postman_previewlanguage": "text",
              "header": [],
              "body": ""
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes a document and every version of it.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes a document and every version of it.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes a document and every version of it.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes a document and every version of it.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes a document and every version of it.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes a document and every version of it.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes a document and every version of it.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes a document and every version of it.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes a document and every version of it.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes a document and every version of it.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes a document and every version of it.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Download a document",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/documents/:documentId/download",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "documents",
                ":documentId",
                "download"
              ],
              "query": [
                {
                  "key": "version",
                  "value": "",
                  "description": "A version number. The current version when omitted.",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "documentId",
                  "value": "cm3x8k2f10002",
                  "description": "The document id."
                }
              ]
            },
            "description": "A signed link to the current version of a document, or to the version named in the query. Valid for five minutes.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/download\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/download",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "download"
                  ],
                  "query": [
                    {
                      "key": "version",
                      "value": "",
                      "description": "A version number. The current version when omitted.",
                      "disabled": true
                    }
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "A signed link to the current version of a document, or to the version named in the query. Valid for five minutes.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/download\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"url\": \"https://example.com/file\",\n  \"expiresInSeconds\": 300\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/download",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "download"
                  ],
                  "query": [
                    {
                      "key": "version",
                      "value": "",
                      "description": "A version number. The current version when omitted.",
                      "disabled": true
                    }
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "A signed link to the current version of a document, or to the version named in the query. Valid for five minutes.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/download\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/download",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "download"
                  ],
                  "query": [
                    {
                      "key": "version",
                      "value": "",
                      "description": "A version number. The current version when omitted.",
                      "disabled": true
                    }
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "A signed link to the current version of a document, or to the version named in the query. Valid for five minutes.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/download\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/download",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "download"
                  ],
                  "query": [
                    {
                      "key": "version",
                      "value": "",
                      "description": "A version number. The current version when omitted.",
                      "disabled": true
                    }
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "A signed link to the current version of a document, or to the version named in the query. Valid for five minutes.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/download\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/download",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "download"
                  ],
                  "query": [
                    {
                      "key": "version",
                      "value": "",
                      "description": "A version number. The current version when omitted.",
                      "disabled": true
                    }
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "A signed link to the current version of a document, or to the version named in the query. Valid for five minutes.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/download\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/download",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "download"
                  ],
                  "query": [
                    {
                      "key": "version",
                      "value": "",
                      "description": "A version number. The current version when omitted.",
                      "disabled": true
                    }
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "A signed link to the current version of a document, or to the version named in the query. Valid for five minutes.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/download\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/download",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "download"
                  ],
                  "query": [
                    {
                      "key": "version",
                      "value": "",
                      "description": "A version number. The current version when omitted.",
                      "disabled": true
                    }
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "A signed link to the current version of a document, or to the version named in the query. Valid for five minutes.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/download\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/download",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "download"
                  ],
                  "query": [
                    {
                      "key": "version",
                      "value": "",
                      "description": "A version number. The current version when omitted.",
                      "disabled": true
                    }
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "A signed link to the current version of a document, or to the version named in the query. Valid for five minutes.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/download\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/download",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "download"
                  ],
                  "query": [
                    {
                      "key": "version",
                      "value": "",
                      "description": "A version number. The current version when omitted.",
                      "disabled": true
                    }
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "A signed link to the current version of a document, or to the version named in the query. Valid for five minutes.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/download\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/download",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "download"
                  ],
                  "query": [
                    {
                      "key": "version",
                      "value": "",
                      "description": "A version number. The current version when omitted.",
                      "disabled": true
                    }
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "A signed link to the current version of a document, or to the version named in the query. Valid for five minutes.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/download\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/download",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "download"
                  ],
                  "query": [
                    {
                      "key": "version",
                      "value": "",
                      "description": "A version number. The current version when omitted.",
                      "disabled": true
                    }
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "A signed link to the current version of a document, or to the version named in the query. Valid for five minutes.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/download\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Ask a question about a document",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "documents",
                ":documentId",
                "chat"
              ],
              "variable": [
                {
                  "key": "documentId",
                  "value": "cm3x8k2f10002",
                  "description": "The document id."
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"question\": {\n    \"id\": \"id\",\n    \"role\": \"USER\",\n    \"content\": \"content\",\n    \"citations\": [\n      -9007199254740991\n    ],\n    \"createdAt\": \"2026-11-04T10:00:00.000Z\"\n  },\n  \"answer\": {\n    \"id\": \"id\",\n    \"role\": \"USER\",\n    \"content\": \"content\",\n    \"citations\": [\n      -9007199254740991\n    ],\n    \"createdAt\": \"2026-11-04T10:00:00.000Z\"\n  }\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 credits.exhausted",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"credits.exhausted\",\n  \"message\": \"The account has used its AI credits for this period.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 payload_too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"payload_too_large\",\n  \"message\": \"A JSON body is larger than 1 MB.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 unsupported_media_type",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"unsupported_media_type\",\n  \"message\": \"The body has a content type the route does not read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "422 ai.declined",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 422,\n  \"error\": \"ai.declined\",\n  \"message\": \"The model declined to work on this document.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "422 document.unreadable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 422,\n  \"error\": \"document.unreadable\",\n  \"message\": \"The document has no text that could be read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 tool.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"tool.unavailable\",\n  \"message\": \"The tool cannot run right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"question\": \"What is the notice period?\",\n  \"language\": \"en\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks a question about a library document and answers with the question and the answer, both saved in the conversation of the key owner. The answer is written from the document alone and cites the pages it uses as [p3]; the citations list holds only pages the document has. A scanned page is read by text recognition, and a document that cannot be read is refused with document.unreadable. The call counts AI credits, one for a document of up to 25 pages and one more for each further 25, only when an answer is saved. It is unavailable where no model is set up.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | credits.exhausted | The account has used its AI credits for this period. The details give the limit and when it resets. | Wait for the reset time in the details, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | ai.declined | The model declined to work on this document. Nothing was counted. | Ask about other pages, or use a different document. |\n| 422 | document.unreadable | The document has no text that could be read. The details give the reason: scan_unreadable for a scan that could not be recognised, no_words for a document with no words, encrypted, damaged, too_many_pages or too_large. Nothing was counted. | For a scan, run the ocr tool first and ask about the result. Remove a password, repair a damaged file or split a long one. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | tool.unavailable | The tool cannot run right now. Nothing was counted against your tasks. | Try again after a short wait, using the same Idempotency-Key so the retry cannot run twice. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Read the conversation about a document",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "documents",
                ":documentId",
                "chat"
              ],
              "variable": [
                {
                  "key": "documentId",
                  "value": "cm3x8k2f10002",
                  "description": "The document id."
                }
              ]
            },
            "description": "The questions the key owner asked about a document and the answers, oldest first, up to the last 200. Other people's conversations about the same document are never returned.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The questions the key owner asked about a document and the answers, oldest first, up to the last 200. Other people's conversations about the same document are never returned.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"items\": [\n    {\n      \"id\": \"id\",\n      \"role\": \"USER\",\n      \"content\": \"content\",\n      \"citations\": [\n        -9007199254740991\n      ],\n      \"createdAt\": \"2026-11-04T10:00:00.000Z\"\n    }\n  ]\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The questions the key owner asked about a document and the answers, oldest first, up to the last 200. Other people's conversations about the same document are never returned.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The questions the key owner asked about a document and the answers, oldest first, up to the last 200. Other people's conversations about the same document are never returned.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The questions the key owner asked about a document and the answers, oldest first, up to the last 200. Other people's conversations about the same document are never returned.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The questions the key owner asked about a document and the answers, oldest first, up to the last 200. Other people's conversations about the same document are never returned.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The questions the key owner asked about a document and the answers, oldest first, up to the last 200. Other people's conversations about the same document are never returned.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The questions the key owner asked about a document and the answers, oldest first, up to the last 200. Other people's conversations about the same document are never returned.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The questions the key owner asked about a document and the answers, oldest first, up to the last 200. Other people's conversations about the same document are never returned.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The questions the key owner asked about a document and the answers, oldest first, up to the last 200. Other people's conversations about the same document are never returned.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The questions the key owner asked about a document and the answers, oldest first, up to the last 200. Other people's conversations about the same document are never returned.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The questions the key owner asked about a document and the answers, oldest first, up to the last 200. Other people's conversations about the same document are never returned.\n\nScope: documents:read\nEndpoint: GET /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Delete the conversation about a document",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "documents",
                ":documentId",
                "chat"
              ],
              "variable": [
                {
                  "key": "documentId",
                  "value": "cm3x8k2f10002",
                  "description": "The document id."
                }
              ]
            },
            "description": "Deletes the conversation of the key owner about a document. The document and other people's conversations are untouched.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "204 No Content",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes the conversation of the key owner about a document. The document and other people's conversations are untouched.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "No Content",
              "code": 204,
              "_postman_previewlanguage": "text",
              "header": [],
              "body": ""
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes the conversation of the key owner about a document. The document and other people's conversations are untouched.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes the conversation of the key owner about a document. The document and other people's conversations are untouched.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes the conversation of the key owner about a document. The document and other people's conversations are untouched.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes the conversation of the key owner about a document. The document and other people's conversations are untouched.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes the conversation of the key owner about a document. The document and other people's conversations are untouched.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes the conversation of the key owner about a document. The document and other people's conversations are untouched.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes the conversation of the key owner about a document. The document and other people's conversations are untouched.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes the conversation of the key owner about a document. The document and other people's conversations are untouched.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes the conversation of the key owner about a document. The document and other people's conversations are untouched.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes the conversation of the key owner about a document. The document and other people's conversations are untouched.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/chat",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "chat"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Deletes the conversation of the key owner about a document. The document and other people's conversations are untouched.\n\nScope: documents:write\nEndpoint: DELETE /v1/documents/{documentId}/chat\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "List folders",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/folders",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "folders"
              ]
            },
            "description": "The folders the key can see: every team folder and the private folders of the key owner, each with the number of documents the key can see in it. Folders nest one level, so a folder has a parentId only when it sits inside a top folder.\n\nScope: documents:read\nEndpoint: GET /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "description": "The folders the key can see: every team folder and the private folders of the key owner, each with the number of documents the key can see in it. Folders nest one level, so a folder has a parentId only when it sits inside a top folder.\n\nScope: documents:read\nEndpoint: GET /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"items\": [\n    {\n      \"id\": \"id\",\n      \"name\": \"Client contracts\",\n      \"parentId\": \"parentId\",\n      \"visibility\": \"PRIVATE\",\n      \"documentCount\": -9007199254740991\n    }\n  ]\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "description": "The folders the key can see: every team folder and the private folders of the key owner, each with the number of documents the key can see in it. Folders nest one level, so a folder has a parentId only when it sits inside a top folder.\n\nScope: documents:read\nEndpoint: GET /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "description": "The folders the key can see: every team folder and the private folders of the key owner, each with the number of documents the key can see in it. Folders nest one level, so a folder has a parentId only when it sits inside a top folder.\n\nScope: documents:read\nEndpoint: GET /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "description": "The folders the key can see: every team folder and the private folders of the key owner, each with the number of documents the key can see in it. Folders nest one level, so a folder has a parentId only when it sits inside a top folder.\n\nScope: documents:read\nEndpoint: GET /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "description": "The folders the key can see: every team folder and the private folders of the key owner, each with the number of documents the key can see in it. Folders nest one level, so a folder has a parentId only when it sits inside a top folder.\n\nScope: documents:read\nEndpoint: GET /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "description": "The folders the key can see: every team folder and the private folders of the key owner, each with the number of documents the key can see in it. Folders nest one level, so a folder has a parentId only when it sits inside a top folder.\n\nScope: documents:read\nEndpoint: GET /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "description": "The folders the key can see: every team folder and the private folders of the key owner, each with the number of documents the key can see in it. Folders nest one level, so a folder has a parentId only when it sits inside a top folder.\n\nScope: documents:read\nEndpoint: GET /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "description": "The folders the key can see: every team folder and the private folders of the key owner, each with the number of documents the key can see in it. Folders nest one level, so a folder has a parentId only when it sits inside a top folder.\n\nScope: documents:read\nEndpoint: GET /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "description": "The folders the key can see: every team folder and the private folders of the key owner, each with the number of documents the key can see in it. Folders nest one level, so a folder has a parentId only when it sits inside a top folder.\n\nScope: documents:read\nEndpoint: GET /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Create a folder",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "type": "text",
                "description": "A new value for each new request. Repeat it only to retry the same request."
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/folders",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "folders"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "201 Created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"id\",\n  \"name\": \"Client contracts\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\",\n  \"documentCount\": -9007199254740991\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 idempotency_key_invalid",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"idempotency_key_invalid\",\n  \"message\": \"The Idempotency-Key is not 1 to 255 visible ASCII characters.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 folder.invalid",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"folder.invalid\",\n  \"message\": \"A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 idempotency_in_progress",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"idempotency_in_progress\",\n  \"message\": \"A request with the same Idempotency-Key is still running.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 folder.limit_reached",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"folder.limit_reached\",\n  \"message\": \"The account already has the most folders it may keep.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 payload_too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"payload_too_large\",\n  \"message\": \"A JSON body is larger than 1 MB.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 unsupported_media_type",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"unsupported_media_type\",\n  \"message\": \"The body has a content type the route does not read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "422 idempotency_key_reused",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 422,\n  \"error\": \"idempotency_key_reused\",\n  \"message\": \"The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"parentId\": \"parentId\",\n  \"visibility\": \"PRIVATE\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a folder at the top of the library or inside a top folder. A folder inside a private folder is private. An account keeps up to 500 folders.\n\nScope: documents:write\nEndpoint: POST /v1/folders\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | folder.limit_reached | The account already has the most folders it may keep. | Delete a folder you no longer use with DELETE /v1/folders/{folderId}. Its documents are kept and return to the top of the library. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Delete a folder",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/folders/:folderId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "folders",
                ":folderId"
              ],
              "variable": [
                {
                  "key": "folderId",
                  "value": "cm3x8k2f10040",
                  "description": "The folder id."
                }
              ]
            },
            "description": "Deletes a folder and loses no document: its documents go to its parent folder, or to the top of the library, and its subfolders go to the top. Only the person who made the folder, or an owner or admin for a team folder, may delete it.\n\nScope: documents:write\nEndpoint: DELETE /v1/folders/{folderId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders/:folderId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders",
                    ":folderId"
                  ],
                  "variable": [
                    {
                      "key": "folderId",
                      "value": "cm3x8k2f10040",
                      "description": "The folder id."
                    }
                  ]
                },
                "description": "Deletes a folder and loses no document: its documents go to its parent folder, or to the top of the library, and its subfolders go to the top. Only the person who made the folder, or an owner or admin for a team folder, may delete it.\n\nScope: documents:write\nEndpoint: DELETE /v1/folders/{folderId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"documentsMoved\": -9007199254740991\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders/:folderId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders",
                    ":folderId"
                  ],
                  "variable": [
                    {
                      "key": "folderId",
                      "value": "cm3x8k2f10040",
                      "description": "The folder id."
                    }
                  ]
                },
                "description": "Deletes a folder and loses no document: its documents go to its parent folder, or to the top of the library, and its subfolders go to the top. Only the person who made the folder, or an owner or admin for a team folder, may delete it.\n\nScope: documents:write\nEndpoint: DELETE /v1/folders/{folderId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders/:folderId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders",
                    ":folderId"
                  ],
                  "variable": [
                    {
                      "key": "folderId",
                      "value": "cm3x8k2f10040",
                      "description": "The folder id."
                    }
                  ]
                },
                "description": "Deletes a folder and loses no document: its documents go to its parent folder, or to the top of the library, and its subfolders go to the top. Only the person who made the folder, or an owner or admin for a team folder, may delete it.\n\nScope: documents:write\nEndpoint: DELETE /v1/folders/{folderId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders/:folderId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders",
                    ":folderId"
                  ],
                  "variable": [
                    {
                      "key": "folderId",
                      "value": "cm3x8k2f10040",
                      "description": "The folder id."
                    }
                  ]
                },
                "description": "Deletes a folder and loses no document: its documents go to its parent folder, or to the top of the library, and its subfolders go to the top. Only the person who made the folder, or an owner or admin for a team folder, may delete it.\n\nScope: documents:write\nEndpoint: DELETE /v1/folders/{folderId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders/:folderId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders",
                    ":folderId"
                  ],
                  "variable": [
                    {
                      "key": "folderId",
                      "value": "cm3x8k2f10040",
                      "description": "The folder id."
                    }
                  ]
                },
                "description": "Deletes a folder and loses no document: its documents go to its parent folder, or to the top of the library, and its subfolders go to the top. Only the person who made the folder, or an owner or admin for a team folder, may delete it.\n\nScope: documents:write\nEndpoint: DELETE /v1/folders/{folderId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders/:folderId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders",
                    ":folderId"
                  ],
                  "variable": [
                    {
                      "key": "folderId",
                      "value": "cm3x8k2f10040",
                      "description": "The folder id."
                    }
                  ]
                },
                "description": "Deletes a folder and loses no document: its documents go to its parent folder, or to the top of the library, and its subfolders go to the top. Only the person who made the folder, or an owner or admin for a team folder, may delete it.\n\nScope: documents:write\nEndpoint: DELETE /v1/folders/{folderId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders/:folderId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders",
                    ":folderId"
                  ],
                  "variable": [
                    {
                      "key": "folderId",
                      "value": "cm3x8k2f10040",
                      "description": "The folder id."
                    }
                  ]
                },
                "description": "Deletes a folder and loses no document: its documents go to its parent folder, or to the top of the library, and its subfolders go to the top. Only the person who made the folder, or an owner or admin for a team folder, may delete it.\n\nScope: documents:write\nEndpoint: DELETE /v1/folders/{folderId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders/:folderId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders",
                    ":folderId"
                  ],
                  "variable": [
                    {
                      "key": "folderId",
                      "value": "cm3x8k2f10040",
                      "description": "The folder id."
                    }
                  ]
                },
                "description": "Deletes a folder and loses no document: its documents go to its parent folder, or to the top of the library, and its subfolders go to the top. Only the person who made the folder, or an owner or admin for a team folder, may delete it.\n\nScope: documents:write\nEndpoint: DELETE /v1/folders/{folderId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders/:folderId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders",
                    ":folderId"
                  ],
                  "variable": [
                    {
                      "key": "folderId",
                      "value": "cm3x8k2f10040",
                      "description": "The folder id."
                    }
                  ]
                },
                "description": "Deletes a folder and loses no document: its documents go to its parent folder, or to the top of the library, and its subfolders go to the top. Only the person who made the folder, or an owner or admin for a team folder, may delete it.\n\nScope: documents:write\nEndpoint: DELETE /v1/folders/{folderId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders/:folderId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders",
                    ":folderId"
                  ],
                  "variable": [
                    {
                      "key": "folderId",
                      "value": "cm3x8k2f10040",
                      "description": "The folder id."
                    }
                  ]
                },
                "description": "Deletes a folder and loses no document: its documents go to its parent folder, or to the top of the library, and its subfolders go to the top. Only the person who made the folder, or an owner or admin for a team folder, may delete it.\n\nScope: documents:write\nEndpoint: DELETE /v1/folders/{folderId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders/:folderId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders",
                    ":folderId"
                  ],
                  "variable": [
                    {
                      "key": "folderId",
                      "value": "cm3x8k2f10040",
                      "description": "The folder id."
                    }
                  ]
                },
                "description": "Deletes a folder and loses no document: its documents go to its parent folder, or to the top of the library, and its subfolders go to the top. Only the person who made the folder, or an owner or admin for a team folder, may delete it.\n\nScope: documents:write\nEndpoint: DELETE /v1/folders/{folderId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/folders/:folderId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "folders",
                    ":folderId"
                  ],
                  "variable": [
                    {
                      "key": "folderId",
                      "value": "cm3x8k2f10040",
                      "description": "The folder id."
                    }
                  ]
                },
                "description": "Deletes a folder and loses no document: its documents go to its parent folder, or to the top of the library, and its subfolders go to the top. Only the person who made the folder, or an owner or admin for a team folder, may delete it.\n\nScope: documents:write\nEndpoint: DELETE /v1/folders/{folderId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Put a document in a folder and set its tags",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/documents/:documentId/organize",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "documents",
                ":documentId",
                "organize"
              ],
              "variable": [
                {
                  "key": "documentId",
                  "value": "cm3x8k2f10002",
                  "description": "The document id."
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Moves a document into a folder, or to the top of the library with folderId null, and replaces its tags. Send either or both. A team document cannot go in a private folder. Only the person who made the document, or an owner or admin for a team document, may do this.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/organize\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/organize",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "organize"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Moves a document into a folder, or to the top of the library with folderId null, and replaces its tags. Send either or both. A team document cannot go in a private folder. Only the person who made the document, or an owner or admin for a team document, may do this.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/organize\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"id\",\n  \"name\": \"Lease.pdf\",\n  \"visibility\": \"PRIVATE\",\n  \"currentVersion\": -9007199254740991,\n  \"sizeBytes\": -9007199254740991,\n  \"pageCount\": -9007199254740991,\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ],\n  \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n  \"updatedAt\": \"2026-11-04T10:00:00.000Z\"\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/organize",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "organize"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Moves a document into a folder, or to the top of the library with folderId null, and replaces its tags. Send either or both. A team document cannot go in a private folder. Only the person who made the document, or an owner or admin for a team document, may do this.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/organize\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 folder.invalid",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/organize",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "organize"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Moves a document into a folder, or to the top of the library with folderId null, and replaces its tags. Send either or both. A team document cannot go in a private folder. Only the person who made the document, or an owner or admin for a team document, may do this.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/organize\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"folder.invalid\",\n  \"message\": \"A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/organize",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "organize"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Moves a document into a folder, or to the top of the library with folderId null, and replaces its tags. Send either or both. A team document cannot go in a private folder. Only the person who made the document, or an owner or admin for a team document, may do this.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/organize\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/organize",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "organize"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Moves a document into a folder, or to the top of the library with folderId null, and replaces its tags. Send either or both. A team document cannot go in a private folder. Only the person who made the document, or an owner or admin for a team document, may do this.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/organize\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/organize",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "organize"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Moves a document into a folder, or to the top of the library with folderId null, and replaces its tags. Send either or both. A team document cannot go in a private folder. Only the person who made the document, or an owner or admin for a team document, may do this.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/organize\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/organize",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "organize"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Moves a document into a folder, or to the top of the library with folderId null, and replaces its tags. Send either or both. A team document cannot go in a private folder. Only the person who made the document, or an owner or admin for a team document, may do this.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/organize\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/organize",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "organize"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Moves a document into a folder, or to the top of the library with folderId null, and replaces its tags. Send either or both. A team document cannot go in a private folder. Only the person who made the document, or an owner or admin for a team document, may do this.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/organize\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/organize",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "organize"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Moves a document into a folder, or to the top of the library with folderId null, and replaces its tags. Send either or both. A team document cannot go in a private folder. Only the person who made the document, or an owner or admin for a team document, may do this.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/organize\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/organize",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "organize"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Moves a document into a folder, or to the top of the library with folderId null, and replaces its tags. Send either or both. A team document cannot go in a private folder. Only the person who made the document, or an owner or admin for a team document, may do this.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/organize\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 payload_too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/organize",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "organize"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Moves a document into a folder, or to the top of the library with folderId null, and replaces its tags. Send either or both. A team document cannot go in a private folder. Only the person who made the document, or an owner or admin for a team document, may do this.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/organize\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"payload_too_large\",\n  \"message\": \"A JSON body is larger than 1 MB.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 unsupported_media_type",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/organize",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "organize"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Moves a document into a folder, or to the top of the library with folderId null, and replaces its tags. Send either or both. A team document cannot go in a private folder. Only the person who made the document, or an owner or admin for a team document, may do this.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/organize\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"unsupported_media_type\",\n  \"message\": \"The body has a content type the route does not read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/organize",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "organize"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Moves a document into a folder, or to the top of the library with folderId null, and replaces its tags. Send either or both. A team document cannot go in a private folder. Only the person who made the document, or an owner or admin for a team document, may do this.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/organize\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/organize",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "organize"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Moves a document into a folder, or to the top of the library with folderId null, and replaces its tags. Send either or both. A team document cannot go in a private folder. Only the person who made the document, or an owner or admin for a team document, may do this.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/organize\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/organize",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "organize"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"folderId\": \"folderId\",\n  \"tags\": [\n    \"tags\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Moves a document into a folder, or to the top of the library with folderId null, and replaces its tags. Send either or both. A team document cannot go in a private folder. Only the person who made the document, or an owner or admin for a team document, may do this.\n\nScope: documents:write\nEndpoint: POST /v1/documents/{documentId}/organize\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | folder.invalid | A folder or a document cannot be organised that way: folders nest one level only, a team document cannot go in a private folder, and a folder moves only among folders of the same kind. | Put the folder at the top, or inside a top folder of the same kind, and keep a team document in a team folder or at the top. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Workflows",
      "description": "Save a chain of tools and run it on files.",
      "item": [
        {
          "name": "List workflows",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/workflows",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "workflows"
              ]
            },
            "description": "The workflows saved in the account, newest first, with how many the plan keeps and how many are used. A workflow is a named chain of up to ten tools with their options, shared with every member of the account. issues names the steps that cannot work today, so a workflow that uses a tool or an option that no longer exists is listed and never hidden. The list stays readable on a plan without workflows.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "description": "The workflows saved in the account, newest first, with how many the plan keeps and how many are used. A workflow is a named chain of up to ten tools with their options, shared with every member of the account. issues names the steps that cannot work today, so a workflow that uses a tool or an option that no longer exists is listed and never hidden. The list stays readable on a plan without workflows.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"items\": [\n    {\n      \"id\": \"cm3x8k2f10003\",\n      \"name\": \"Monthly report\",\n      \"steps\": [\n        {\n          \"tool\": \"rotate\",\n          \"options\": {\n            \"angle\": 90\n          }\n        }\n      ],\n      \"issues\": [\n        {\n          \"index\": 1,\n          \"code\": \"tool_gone\"\n        }\n      ],\n      \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n      \"updatedAt\": \"2026-11-04T10:00:00.000Z\",\n      \"createdByMe\": true,\n      \"canEdit\": true\n    }\n  ],\n  \"limit\": -9007199254740991,\n  \"used\": -9007199254740991\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "description": "The workflows saved in the account, newest first, with how many the plan keeps and how many are used. A workflow is a named chain of up to ten tools with their options, shared with every member of the account. issues names the steps that cannot work today, so a workflow that uses a tool or an option that no longer exists is listed and never hidden. The list stays readable on a plan without workflows.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "description": "The workflows saved in the account, newest first, with how many the plan keeps and how many are used. A workflow is a named chain of up to ten tools with their options, shared with every member of the account. issues names the steps that cannot work today, so a workflow that uses a tool or an option that no longer exists is listed and never hidden. The list stays readable on a plan without workflows.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "description": "The workflows saved in the account, newest first, with how many the plan keeps and how many are used. A workflow is a named chain of up to ten tools with their options, shared with every member of the account. issues names the steps that cannot work today, so a workflow that uses a tool or an option that no longer exists is listed and never hidden. The list stays readable on a plan without workflows.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "description": "The workflows saved in the account, newest first, with how many the plan keeps and how many are used. A workflow is a named chain of up to ten tools with their options, shared with every member of the account. issues names the steps that cannot work today, so a workflow that uses a tool or an option that no longer exists is listed and never hidden. The list stays readable on a plan without workflows.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "description": "The workflows saved in the account, newest first, with how many the plan keeps and how many are used. A workflow is a named chain of up to ten tools with their options, shared with every member of the account. issues names the steps that cannot work today, so a workflow that uses a tool or an option that no longer exists is listed and never hidden. The list stays readable on a plan without workflows.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "description": "The workflows saved in the account, newest first, with how many the plan keeps and how many are used. A workflow is a named chain of up to ten tools with their options, shared with every member of the account. issues names the steps that cannot work today, so a workflow that uses a tool or an option that no longer exists is listed and never hidden. The list stays readable on a plan without workflows.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "description": "The workflows saved in the account, newest first, with how many the plan keeps and how many are used. A workflow is a named chain of up to ten tools with their options, shared with every member of the account. issues names the steps that cannot work today, so a workflow that uses a tool or an option that no longer exists is listed and never hidden. The list stays readable on a plan without workflows.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "description": "The workflows saved in the account, newest first, with how many the plan keeps and how many are used. A workflow is a named chain of up to ten tools with their options, shared with every member of the account. issues names the steps that cannot work today, so a workflow that uses a tool or an option that no longer exists is listed and never hidden. The list stays readable on a plan without workflows.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Save a workflow",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "type": "text",
                "description": "A new value for each new request. Repeat it only to retry the same request."
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/workflows",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "workflows"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "201 Created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"cm3x8k2f10003\",\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ],\n  \"issues\": [\n    {\n      \"index\": 1,\n      \"code\": \"tool_gone\"\n    }\n  ],\n  \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n  \"updatedAt\": \"2026-11-04T10:00:00.000Z\",\n  \"createdByMe\": true,\n  \"canEdit\": true\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 idempotency_key_invalid",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"idempotency_key_invalid\",\n  \"message\": \"The Idempotency-Key is not 1 to 255 visible ASCII characters.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 workflow.invalid",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"workflow.invalid\",\n  \"message\": \"The chain of tools cannot work.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 workflow.plan",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"workflow.plan\",\n  \"message\": \"The plan of the account has no workflows.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 workflow.limit",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"workflow.limit\",\n  \"message\": \"The account keeps as many workflows as its plan allows.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 idempotency_in_progress",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"idempotency_in_progress\",\n  \"message\": \"A request with the same Idempotency-Key is still running.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 payload_too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"payload_too_large\",\n  \"message\": \"A JSON body is larger than 1 MB.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 unsupported_media_type",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"unsupported_media_type\",\n  \"message\": \"The body has a content type the route does not read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "422 idempotency_key_reused",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 422,\n  \"error\": \"idempotency_key_reused\",\n  \"message\": \"The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Saves a named chain of tools. Each step names a tool and its options, checked against that tool at once: a chain whose order or options cannot work is refused with workflow.invalid and the steps at fault, and nothing is saved. A tool that turns another kind of file into a PDF (epub-to-pdf, csv-to-pdf, zip-to-pdf) can only be the first step; a tool whose result is parts, text or pictures (the split tools, pdf-to-markdown, pdf-to-html, pdf-to-csv, pdf-to-tiff) can only be the last. Workflows come with a paid plan, and the plan sets how many an account keeps (workflow.plan, workflow.limit).\n\nScope: workflows:write\nEndpoint: POST /v1/workflows\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 403 | workflow.limit | The account keeps as many workflows as its plan allows. The details give the limit. | Delete a workflow you no longer use with DELETE /v1/workflows/{workflowId}, or change the plan. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Get a workflow",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/workflows/:workflowId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "workflows",
                ":workflowId"
              ],
              "variable": [
                {
                  "key": "workflowId",
                  "value": "cm3x8k2f10003",
                  "description": "The workflow id."
                }
              ]
            },
            "description": "One workflow of the account with its steps and its issues, worked out now. A workflow of another account is answered as not found.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "One workflow of the account with its steps and its issues, worked out now. A workflow of another account is answered as not found.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"cm3x8k2f10003\",\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ],\n  \"issues\": [\n    {\n      \"index\": 1,\n      \"code\": \"tool_gone\"\n    }\n  ],\n  \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n  \"updatedAt\": \"2026-11-04T10:00:00.000Z\",\n  \"createdByMe\": true,\n  \"canEdit\": true\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "One workflow of the account with its steps and its issues, worked out now. A workflow of another account is answered as not found.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "One workflow of the account with its steps and its issues, worked out now. A workflow of another account is answered as not found.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "One workflow of the account with its steps and its issues, worked out now. A workflow of another account is answered as not found.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "One workflow of the account with its steps and its issues, worked out now. A workflow of another account is answered as not found.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "One workflow of the account with its steps and its issues, worked out now. A workflow of another account is answered as not found.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "One workflow of the account with its steps and its issues, worked out now. A workflow of another account is answered as not found.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "One workflow of the account with its steps and its issues, worked out now. A workflow of another account is answered as not found.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "One workflow of the account with its steps and its issues, worked out now. A workflow of another account is answered as not found.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "One workflow of the account with its steps and its issues, worked out now. A workflow of another account is answered as not found.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "One workflow of the account with its steps and its issues, worked out now. A workflow of another account is answered as not found.\n\nScope: workflows:read\nEndpoint: GET /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Change a workflow",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/workflows/:workflowId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "workflows",
                ":workflowId"
              ],
              "variable": [
                {
                  "key": "workflowId",
                  "value": "cm3x8k2f10003",
                  "description": "The workflow id."
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"cm3x8k2f10003\",\n  \"name\": \"Monthly report\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ],\n  \"issues\": [\n    {\n      \"index\": 1,\n      \"code\": \"tool_gone\"\n    }\n  ],\n  \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n  \"updatedAt\": \"2026-11-04T10:00:00.000Z\",\n  \"createdByMe\": true,\n  \"canEdit\": true\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 workflow.invalid",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"workflow.invalid\",\n  \"message\": \"The chain of tools cannot work.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 forbidden",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"forbidden\",\n  \"message\": \"The person who owns the key may read this signature request or workflow but not change it.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 workflow.plan",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"workflow.plan\",\n  \"message\": \"The plan of the account has no workflows.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 payload_too_large",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"payload_too_large\",\n  \"message\": \"A JSON body is larger than 1 MB.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 unsupported_media_type",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"unsupported_media_type\",\n  \"message\": \"The body has a content type the route does not read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"name\",\n  \"steps\": [\n    {\n      \"tool\": \"rotate\",\n      \"options\": {\n        \"angle\": 90\n      }\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Changes the name, the steps or both. The steps replace the saved chain whole and are checked as when a workflow is saved. Only the person who made the workflow, or an owner or admin of the account, may change it (forbidden otherwise). Changing a workflow does not change a run already started, which holds a copy of the steps it began with.\n\nScope: workflows:write\nEndpoint: PATCH /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | workflow.invalid | The chain of tools cannot work. The details list the steps at fault: an index counted from zero and a code of tool_gone, tool_not_allowed, first_only, last_only or options_invalid. A chain holds 1 to 10 steps. Nothing was saved. | Change the steps named in the details: a tool that starts a chain goes first, a tool that ends one goes last, and the options of each step must fit that tool, as GET /v1/tools/{toolId} lists them. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Delete a workflow",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/workflows/:workflowId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "workflows",
                ":workflowId"
              ],
              "variable": [
                {
                  "key": "workflowId",
                  "value": "cm3x8k2f10003",
                  "description": "The workflow id."
                }
              ]
            },
            "description": "Deletes a workflow. Runs already started and their results are untouched. Only the person who made the workflow, or an owner or admin of the account, may delete it. Deleting stays possible on a plan without workflows.\n\nScope: workflows:write\nEndpoint: DELETE /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "204 No Content",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "Deletes a workflow. Runs already started and their results are untouched. Only the person who made the workflow, or an owner or admin of the account, may delete it. Deleting stays possible on a plan without workflows.\n\nScope: workflows:write\nEndpoint: DELETE /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "No Content",
              "code": 204,
              "_postman_previewlanguage": "text",
              "header": [],
              "body": ""
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "Deletes a workflow. Runs already started and their results are untouched. Only the person who made the workflow, or an owner or admin of the account, may delete it. Deleting stays possible on a plan without workflows.\n\nScope: workflows:write\nEndpoint: DELETE /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "Deletes a workflow. Runs already started and their results are untouched. Only the person who made the workflow, or an owner or admin of the account, may delete it. Deleting stays possible on a plan without workflows.\n\nScope: workflows:write\nEndpoint: DELETE /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "Deletes a workflow. Runs already started and their results are untouched. Only the person who made the workflow, or an owner or admin of the account, may delete it. Deleting stays possible on a plan without workflows.\n\nScope: workflows:write\nEndpoint: DELETE /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "Deletes a workflow. Runs already started and their results are untouched. Only the person who made the workflow, or an owner or admin of the account, may delete it. Deleting stays possible on a plan without workflows.\n\nScope: workflows:write\nEndpoint: DELETE /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "Deletes a workflow. Runs already started and their results are untouched. Only the person who made the workflow, or an owner or admin of the account, may delete it. Deleting stays possible on a plan without workflows.\n\nScope: workflows:write\nEndpoint: DELETE /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "Deletes a workflow. Runs already started and their results are untouched. Only the person who made the workflow, or an owner or admin of the account, may delete it. Deleting stays possible on a plan without workflows.\n\nScope: workflows:write\nEndpoint: DELETE /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "Deletes a workflow. Runs already started and their results are untouched. Only the person who made the workflow, or an owner or admin of the account, may delete it. Deleting stays possible on a plan without workflows.\n\nScope: workflows:write\nEndpoint: DELETE /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 forbidden",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "Deletes a workflow. Runs already started and their results are untouched. Only the person who made the workflow, or an owner or admin of the account, may delete it. Deleting stays possible on a plan without workflows.\n\nScope: workflows:write\nEndpoint: DELETE /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"forbidden\",\n  \"message\": \"The person who owns the key may read this signature request or workflow but not change it.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "Deletes a workflow. Runs already started and their results are untouched. Only the person who made the workflow, or an owner or admin of the account, may delete it. Deleting stays possible on a plan without workflows.\n\nScope: workflows:write\nEndpoint: DELETE /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "Deletes a workflow. Runs already started and their results are untouched. Only the person who made the workflow, or an owner or admin of the account, may delete it. Deleting stays possible on a plan without workflows.\n\nScope: workflows:write\nEndpoint: DELETE /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "Deletes a workflow. Runs already started and their results are untouched. Only the person who made the workflow, or an owner or admin of the account, may delete it. Deleting stays possible on a plan without workflows.\n\nScope: workflows:write\nEndpoint: DELETE /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "description": "Deletes a workflow. Runs already started and their results are untouched. Only the person who made the workflow, or an owner or admin of the account, may delete it. Deleting stays possible on a plan without workflows.\n\nScope: workflows:write\nEndpoint: DELETE /v1/workflows/{workflowId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Run a workflow",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "type": "text",
                "description": "A new value for each new request. Repeat it only to retry the same request."
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "workflows",
                ":workflowId",
                "runs"
              ],
              "variable": [
                {
                  "key": "workflowId",
                  "value": "cm3x8k2f10003",
                  "description": "The workflow id."
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "202 Accepted",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Accepted",
              "code": 202,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"cm3x8k2f10001\",\n  \"tool\": \"merge\",\n  \"status\": \"queued\",\n  \"stage\": \"CONVERTING\",\n  \"progress\": 0,\n  \"error\": null,\n  \"results\": -9007199254740991,\n  \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n  \"finishedAt\": \"2026-11-04T10:00:00.000Z\",\n  \"resultExpiresAt\": \"2026-11-04T10:00:00.000Z\"\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 idempotency_key_invalid",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"idempotency_key_invalid\",\n  \"message\": \"The Idempotency-Key is not 1 to 255 visible ASCII characters.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 run.too_many_files",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"run.too_many_files\",\n  \"message\": \"The run names more files than one run of the tool takes on your plan.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 run.too_few_files",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"run.too_few_files\",\n  \"message\": \"The tool needs more files than the run names.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 tasks.exhausted",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"tasks.exhausted\",\n  \"message\": \"The account has used its tasks for this period.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 workflow.plan",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"workflow.plan\",\n  \"message\": \"The plan of the account has no workflows.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 idempotency_in_progress",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"idempotency_in_progress\",\n  \"message\": \"A request with the same Idempotency-Key is still running.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 workflow.outdated",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"workflow.outdated\",\n  \"message\": \"The workflow uses a tool or an option that no longer exists, or breaks the order rules.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 payload_too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"payload_too_large\",\n  \"message\": \"A JSON body is larger than 1 MB.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 file.too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"file.too_large\",\n  \"message\": \"A file is larger than your plan or the tool allows.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 unsupported_media_type",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"unsupported_media_type\",\n  \"message\": \"The body has a content type the route does not read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 file.type_refused",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"file.type_refused\",\n  \"message\": \"No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "422 idempotency_key_reused",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 422,\n  \"error\": \"idempotency_key_reused\",\n  \"message\": \"The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/workflows/:workflowId/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "workflows",
                    ":workflowId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "workflowId",
                      "value": "cm3x8k2f10003",
                      "description": "The workflow id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"files\": [\n    \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Runs the saved chain on uploaded files and answers at once with the run, a job whose tool is workflow. Each file goes through every step on its own, one file at a time: one file gives the last step's own results, several give one ZIP (result 0) and a JSON report (result 1) in the form a batch tool uses. While the run works, its progress names the step it is at; when a step fails, the run fails with that step's own error code. A step with nothing to do, such as removing annotations from a clean file, passes its input on; a run in which every step had nothing to do fails with result.unchanged. The first step's tool decides which kinds of file and how many files the run takes. The tasks of every step on every file are reserved now and committed when the run succeeds. A workflow with issues is refused with workflow.outdated before anything is counted. Read the run with the job routes.\n\nScope: tools:run\nEndpoint: POST /v1/workflows/{workflowId}/runs\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | run.too_many_files | The run names more files than one run of the tool takes on your plan. The details give the limit. | Send at most the number in the details, or split the work into several runs. |\n| 400 | run.too_few_files | The tool needs more files than the run names. The details give the minimum. | Upload the missing files and name every file in the files array. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | tasks.exhausted | The account has used its tasks for this period. The details give the limit, the amount used and when the period resets. | Wait for the reset time in the details, or upgrade the plan. Calls that read data still work. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | workflow.plan | The plan of the account has no workflows. Workflows come with a paid plan. Nothing was saved or counted. | Change the plan, or run the tools one at a time with POST /v1/tools/{toolId}/runs. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | workflow.outdated | The workflow uses a tool or an option that no longer exists, or breaks the order rules. The details list the steps at fault in the same form as workflow.invalid. Nothing was counted. | Change the workflow with PATCH /v1/workflows/{workflowId} so that every step is valid, then run it again. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 415 | file.type_refused | No tool reads this content type, this tool does not read it, or the bytes of the file are not the type it declares. The check reads the file itself, never only the Content-Type header. | Send a file the tool accepts (GET /v1/tools/{toolId} lists accepts) with a Content-Type that matches its real format. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Webhooks",
      "description": "Endpoints that receive events.",
      "item": [
        {
          "name": "List webhook endpoints",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "webhooks"
              ]
            },
            "description": "Every webhook endpoint of the account, newest first.\n\nScope: webhooks:manage\nEndpoint: GET /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "description": "Every webhook endpoint of the account, newest first.\n\nScope: webhooks:manage\nEndpoint: GET /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"items\": [\n    {\n      \"id\": \"id\",\n      \"url\": \"https://example.com/pdfloft/webhooks\",\n      \"description\": \"description\",\n      \"events\": [\n        \"events\"\n      ],\n      \"status\": \"active\",\n      \"secretHint\": \"secretHint\",\n      \"createdAt\": \"2026-11-04T10:00:00.000Z\"\n    }\n  ]\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "description": "Every webhook endpoint of the account, newest first.\n\nScope: webhooks:manage\nEndpoint: GET /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "description": "Every webhook endpoint of the account, newest first.\n\nScope: webhooks:manage\nEndpoint: GET /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "description": "Every webhook endpoint of the account, newest first.\n\nScope: webhooks:manage\nEndpoint: GET /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "description": "Every webhook endpoint of the account, newest first.\n\nScope: webhooks:manage\nEndpoint: GET /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "description": "Every webhook endpoint of the account, newest first.\n\nScope: webhooks:manage\nEndpoint: GET /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "description": "Every webhook endpoint of the account, newest first.\n\nScope: webhooks:manage\nEndpoint: GET /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "description": "Every webhook endpoint of the account, newest first.\n\nScope: webhooks:manage\nEndpoint: GET /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "description": "Every webhook endpoint of the account, newest first.\n\nScope: webhooks:manage\nEndpoint: GET /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Create a webhook endpoint",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "type": "text",
                "description": "A new value for each new request. Repeat it only to retry the same request."
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "webhooks"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "201 Created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"id\",\n  \"url\": \"https://example.com/pdfloft/webhooks\",\n  \"description\": \"description\",\n  \"events\": [\n    \"events\"\n  ],\n  \"status\": \"active\",\n  \"secretHint\": \"secretHint\",\n  \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n  \"secret\": \"whsec_...\"\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 idempotency_key_invalid",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"idempotency_key_invalid\",\n  \"message\": \"The Idempotency-Key is not 1 to 255 visible ASCII characters.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 webhook.url_refused",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"webhook.url_refused\",\n  \"message\": \"The endpoint address is not a public https address.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 idempotency_in_progress",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"idempotency_in_progress\",\n  \"message\": \"A request with the same Idempotency-Key is still running.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 webhook.limit_reached",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"webhook.limit_reached\",\n  \"message\": \"The account already has the most webhook endpoints it may have.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 payload_too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"payload_too_large\",\n  \"message\": \"A JSON body is larger than 1 MB.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 unsupported_media_type",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"unsupported_media_type\",\n  \"message\": \"The body has a content type the route does not read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "422 idempotency_key_reused",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 422,\n  \"error\": \"idempotency_key_reused\",\n  \"message\": \"The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://example.com/file\",\n  \"events\": [\n    \"job.completed\"\n  ],\n  \"description\": \"description\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Registers an https address for events. The signing secret is in the answer once. Addresses that are private, loopback, link-local or a metadata address are refused.\n\nScope: webhooks:manage\nEndpoint: POST /v1/webhooks\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | webhook.url_refused | The endpoint address is not a public https address. Private, loopback, link-local and metadata addresses are refused. | Register an https address on the public internet that answers POST. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | webhook.limit_reached | The account already has the most webhook endpoints it may have. | Delete an endpoint you no longer use with DELETE /v1/webhooks/{endpointId}, then create the new one. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Delete a webhook endpoint",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks/:endpointId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "webhooks",
                ":endpointId"
              ],
              "variable": [
                {
                  "key": "endpointId",
                  "value": "cm3x8k2f10003",
                  "description": "The endpoint id."
                }
              ]
            },
            "description": "Removes an endpoint and its delivery log.\n\nScope: webhooks:manage\nEndpoint: DELETE /v1/webhooks/{endpointId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "204 No Content",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks/:endpointId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks",
                    ":endpointId"
                  ],
                  "variable": [
                    {
                      "key": "endpointId",
                      "value": "cm3x8k2f10003",
                      "description": "The endpoint id."
                    }
                  ]
                },
                "description": "Removes an endpoint and its delivery log.\n\nScope: webhooks:manage\nEndpoint: DELETE /v1/webhooks/{endpointId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "No Content",
              "code": 204,
              "_postman_previewlanguage": "text",
              "header": [],
              "body": ""
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks/:endpointId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks",
                    ":endpointId"
                  ],
                  "variable": [
                    {
                      "key": "endpointId",
                      "value": "cm3x8k2f10003",
                      "description": "The endpoint id."
                    }
                  ]
                },
                "description": "Removes an endpoint and its delivery log.\n\nScope: webhooks:manage\nEndpoint: DELETE /v1/webhooks/{endpointId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks/:endpointId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks",
                    ":endpointId"
                  ],
                  "variable": [
                    {
                      "key": "endpointId",
                      "value": "cm3x8k2f10003",
                      "description": "The endpoint id."
                    }
                  ]
                },
                "description": "Removes an endpoint and its delivery log.\n\nScope: webhooks:manage\nEndpoint: DELETE /v1/webhooks/{endpointId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks/:endpointId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks",
                    ":endpointId"
                  ],
                  "variable": [
                    {
                      "key": "endpointId",
                      "value": "cm3x8k2f10003",
                      "description": "The endpoint id."
                    }
                  ]
                },
                "description": "Removes an endpoint and its delivery log.\n\nScope: webhooks:manage\nEndpoint: DELETE /v1/webhooks/{endpointId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks/:endpointId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks",
                    ":endpointId"
                  ],
                  "variable": [
                    {
                      "key": "endpointId",
                      "value": "cm3x8k2f10003",
                      "description": "The endpoint id."
                    }
                  ]
                },
                "description": "Removes an endpoint and its delivery log.\n\nScope: webhooks:manage\nEndpoint: DELETE /v1/webhooks/{endpointId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks/:endpointId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks",
                    ":endpointId"
                  ],
                  "variable": [
                    {
                      "key": "endpointId",
                      "value": "cm3x8k2f10003",
                      "description": "The endpoint id."
                    }
                  ]
                },
                "description": "Removes an endpoint and its delivery log.\n\nScope: webhooks:manage\nEndpoint: DELETE /v1/webhooks/{endpointId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks/:endpointId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks",
                    ":endpointId"
                  ],
                  "variable": [
                    {
                      "key": "endpointId",
                      "value": "cm3x8k2f10003",
                      "description": "The endpoint id."
                    }
                  ]
                },
                "description": "Removes an endpoint and its delivery log.\n\nScope: webhooks:manage\nEndpoint: DELETE /v1/webhooks/{endpointId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks/:endpointId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks",
                    ":endpointId"
                  ],
                  "variable": [
                    {
                      "key": "endpointId",
                      "value": "cm3x8k2f10003",
                      "description": "The endpoint id."
                    }
                  ]
                },
                "description": "Removes an endpoint and its delivery log.\n\nScope: webhooks:manage\nEndpoint: DELETE /v1/webhooks/{endpointId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks/:endpointId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks",
                    ":endpointId"
                  ],
                  "variable": [
                    {
                      "key": "endpointId",
                      "value": "cm3x8k2f10003",
                      "description": "The endpoint id."
                    }
                  ]
                },
                "description": "Removes an endpoint and its delivery log.\n\nScope: webhooks:manage\nEndpoint: DELETE /v1/webhooks/{endpointId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks/:endpointId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks",
                    ":endpointId"
                  ],
                  "variable": [
                    {
                      "key": "endpointId",
                      "value": "cm3x8k2f10003",
                      "description": "The endpoint id."
                    }
                  ]
                },
                "description": "Removes an endpoint and its delivery log.\n\nScope: webhooks:manage\nEndpoint: DELETE /v1/webhooks/{endpointId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/webhooks/:endpointId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "webhooks",
                    ":endpointId"
                  ],
                  "variable": [
                    {
                      "key": "endpointId",
                      "value": "cm3x8k2f10003",
                      "description": "The endpoint id."
                    }
                  ]
                },
                "description": "Removes an endpoint and its delivery log.\n\nScope: webhooks:manage\nEndpoint: DELETE /v1/webhooks/{endpointId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Review",
      "description": "Share a document for review by link with people who have no account, and read and answer the comments they leave.",
      "item": [
        {
          "name": "List the review links of a document",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "documents",
                ":documentId",
                "review-links"
              ],
              "variable": [
                {
                  "key": "documentId",
                  "value": "cm3x8k2f10002",
                  "description": "The document id."
                }
              ]
            },
            "description": "The links made for a document, newest first, with their state and use. A token is never returned here: it is in the answer that made the link, once.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The links made for a document, newest first, with their state and use. A token is never returned here: it is in the answer that made the link, once.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"items\": [\n    {\n      \"id\": \"id\",\n      \"mode\": \"view\",\n      \"allowDownload\": true,\n      \"label\": \"label\",\n      \"hasCode\": true,\n      \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n      \"revokedAt\": \"2026-11-04T10:00:00.000Z\",\n      \"status\": \"active\",\n      \"viewCount\": -9007199254740991,\n      \"lastViewedAt\": \"2026-11-04T10:00:00.000Z\",\n      \"commentCount\": -9007199254740991,\n      \"createdAt\": \"2026-11-04T10:00:00.000Z\"\n    }\n  ]\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The links made for a document, newest first, with their state and use. A token is never returned here: it is in the answer that made the link, once.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The links made for a document, newest first, with their state and use. A token is never returned here: it is in the answer that made the link, once.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The links made for a document, newest first, with their state and use. A token is never returned here: it is in the answer that made the link, once.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The links made for a document, newest first, with their state and use. A token is never returned here: it is in the answer that made the link, once.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The links made for a document, newest first, with their state and use. A token is never returned here: it is in the answer that made the link, once.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The links made for a document, newest first, with their state and use. A token is never returned here: it is in the answer that made the link, once.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The links made for a document, newest first, with their state and use. A token is never returned here: it is in the answer that made the link, once.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The links made for a document, newest first, with their state and use. A token is never returned here: it is in the answer that made the link, once.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The links made for a document, newest first, with their state and use. A token is never returned here: it is in the answer that made the link, once.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "The links made for a document, newest first, with their state and use. A token is never returned here: it is in the answer that made the link, once.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Share a document for review",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "documents",
                ":documentId",
                "review-links"
              ],
              "variable": [
                {
                  "key": "documentId",
                  "value": "cm3x8k2f10002",
                  "description": "The document id."
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"mode\": \"comment\",\n  \"allowDownload\": false,\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"code\": \"code\",\n  \"label\": \"label\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Makes a link that lets a person with no account read one document and, in comment mode, leave comments anchored to a place on a page. Optionally the link expires, asks for an access code and offers the PDF for download. The answer holds the token and the address once; only a hash of the token is kept, so it cannot be read again, and this call is not idempotent so that a replayed answer never stores it. An account keeps as many active links as its plan allows. Revoking takes effect on the next request; a signed file address already handed out lives up to one minute.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | review_links.exhausted | The account already has as many active review links as its plan allows. | Revoke a link you no longer need with DELETE /v1/documents/{documentId}/review-links/{linkId}, or change the plan, then create the new link. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "201 Created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"comment\",\n  \"allowDownload\": false,\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"code\": \"code\",\n  \"label\": \"label\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a link that lets a person with no account read one document and, in comment mode, leave comments anchored to a place on a page. Optionally the link expires, asks for an access code and offers the PDF for download. The answer holds the token and the address once; only a hash of the token is kept, so it cannot be read again, and this call is not idempotent so that a replayed answer never stores it. An account keeps as many active links as its plan allows. Revoking takes effect on the next request; a signed file address already handed out lives up to one minute.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | review_links.exhausted | The account already has as many active review links as its plan allows. | Revoke a link you no longer need with DELETE /v1/documents/{documentId}/review-links/{linkId}, or change the plan, then create the new link. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"id\",\n  \"mode\": \"view\",\n  \"allowDownload\": true,\n  \"label\": \"label\",\n  \"hasCode\": true,\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"revokedAt\": \"2026-11-04T10:00:00.000Z\",\n  \"status\": \"active\",\n  \"viewCount\": -9007199254740991,\n  \"lastViewedAt\": \"2026-11-04T10:00:00.000Z\",\n  \"commentCount\": -9007199254740991,\n  \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n  \"token\": \"token\",\n  \"url\": \"https://pdfloft.wrxstack.com/review/TOKEN\"\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"comment\",\n  \"allowDownload\": false,\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"code\": \"code\",\n  \"label\": \"label\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a link that lets a person with no account read one document and, in comment mode, leave comments anchored to a place on a page. Optionally the link expires, asks for an access code and offers the PDF for download. The answer holds the token and the address once; only a hash of the token is kept, so it cannot be read again, and this call is not idempotent so that a replayed answer never stores it. An account keeps as many active links as its plan allows. Revoking takes effect on the next request; a signed file address already handed out lives up to one minute.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | review_links.exhausted | The account already has as many active review links as its plan allows. | Revoke a link you no longer need with DELETE /v1/documents/{documentId}/review-links/{linkId}, or change the plan, then create the new link. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"comment\",\n  \"allowDownload\": false,\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"code\": \"code\",\n  \"label\": \"label\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a link that lets a person with no account read one document and, in comment mode, leave comments anchored to a place on a page. Optionally the link expires, asks for an access code and offers the PDF for download. The answer holds the token and the address once; only a hash of the token is kept, so it cannot be read again, and this call is not idempotent so that a replayed answer never stores it. An account keeps as many active links as its plan allows. Revoking takes effect on the next request; a signed file address already handed out lives up to one minute.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | review_links.exhausted | The account already has as many active review links as its plan allows. | Revoke a link you no longer need with DELETE /v1/documents/{documentId}/review-links/{linkId}, or change the plan, then create the new link. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"comment\",\n  \"allowDownload\": false,\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"code\": \"code\",\n  \"label\": \"label\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a link that lets a person with no account read one document and, in comment mode, leave comments anchored to a place on a page. Optionally the link expires, asks for an access code and offers the PDF for download. The answer holds the token and the address once; only a hash of the token is kept, so it cannot be read again, and this call is not idempotent so that a replayed answer never stores it. An account keeps as many active links as its plan allows. Revoking takes effect on the next request; a signed file address already handed out lives up to one minute.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | review_links.exhausted | The account already has as many active review links as its plan allows. | Revoke a link you no longer need with DELETE /v1/documents/{documentId}/review-links/{linkId}, or change the plan, then create the new link. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"comment\",\n  \"allowDownload\": false,\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"code\": \"code\",\n  \"label\": \"label\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a link that lets a person with no account read one document and, in comment mode, leave comments anchored to a place on a page. Optionally the link expires, asks for an access code and offers the PDF for download. The answer holds the token and the address once; only a hash of the token is kept, so it cannot be read again, and this call is not idempotent so that a replayed answer never stores it. An account keeps as many active links as its plan allows. Revoking takes effect on the next request; a signed file address already handed out lives up to one minute.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | review_links.exhausted | The account already has as many active review links as its plan allows. | Revoke a link you no longer need with DELETE /v1/documents/{documentId}/review-links/{linkId}, or change the plan, then create the new link. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"comment\",\n  \"allowDownload\": false,\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"code\": \"code\",\n  \"label\": \"label\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a link that lets a person with no account read one document and, in comment mode, leave comments anchored to a place on a page. Optionally the link expires, asks for an access code and offers the PDF for download. The answer holds the token and the address once; only a hash of the token is kept, so it cannot be read again, and this call is not idempotent so that a replayed answer never stores it. An account keeps as many active links as its plan allows. Revoking takes effect on the next request; a signed file address already handed out lives up to one minute.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | review_links.exhausted | The account already has as many active review links as its plan allows. | Revoke a link you no longer need with DELETE /v1/documents/{documentId}/review-links/{linkId}, or change the plan, then create the new link. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"comment\",\n  \"allowDownload\": false,\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"code\": \"code\",\n  \"label\": \"label\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a link that lets a person with no account read one document and, in comment mode, leave comments anchored to a place on a page. Optionally the link expires, asks for an access code and offers the PDF for download. The answer holds the token and the address once; only a hash of the token is kept, so it cannot be read again, and this call is not idempotent so that a replayed answer never stores it. An account keeps as many active links as its plan allows. Revoking takes effect on the next request; a signed file address already handed out lives up to one minute.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | review_links.exhausted | The account already has as many active review links as its plan allows. | Revoke a link you no longer need with DELETE /v1/documents/{documentId}/review-links/{linkId}, or change the plan, then create the new link. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"comment\",\n  \"allowDownload\": false,\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"code\": \"code\",\n  \"label\": \"label\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a link that lets a person with no account read one document and, in comment mode, leave comments anchored to a place on a page. Optionally the link expires, asks for an access code and offers the PDF for download. The answer holds the token and the address once; only a hash of the token is kept, so it cannot be read again, and this call is not idempotent so that a replayed answer never stores it. An account keeps as many active links as its plan allows. Revoking takes effect on the next request; a signed file address already handed out lives up to one minute.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | review_links.exhausted | The account already has as many active review links as its plan allows. | Revoke a link you no longer need with DELETE /v1/documents/{documentId}/review-links/{linkId}, or change the plan, then create the new link. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"comment\",\n  \"allowDownload\": false,\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"code\": \"code\",\n  \"label\": \"label\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a link that lets a person with no account read one document and, in comment mode, leave comments anchored to a place on a page. Optionally the link expires, asks for an access code and offers the PDF for download. The answer holds the token and the address once; only a hash of the token is kept, so it cannot be read again, and this call is not idempotent so that a replayed answer never stores it. An account keeps as many active links as its plan allows. Revoking takes effect on the next request; a signed file address already handed out lives up to one minute.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | review_links.exhausted | The account already has as many active review links as its plan allows. | Revoke a link you no longer need with DELETE /v1/documents/{documentId}/review-links/{linkId}, or change the plan, then create the new link. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 review_links.exhausted",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"comment\",\n  \"allowDownload\": false,\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"code\": \"code\",\n  \"label\": \"label\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a link that lets a person with no account read one document and, in comment mode, leave comments anchored to a place on a page. Optionally the link expires, asks for an access code and offers the PDF for download. The answer holds the token and the address once; only a hash of the token is kept, so it cannot be read again, and this call is not idempotent so that a replayed answer never stores it. An account keeps as many active links as its plan allows. Revoking takes effect on the next request; a signed file address already handed out lives up to one minute.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | review_links.exhausted | The account already has as many active review links as its plan allows. | Revoke a link you no longer need with DELETE /v1/documents/{documentId}/review-links/{linkId}, or change the plan, then create the new link. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"review_links.exhausted\",\n  \"message\": \"The account already has as many active review links as its plan allows.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 payload_too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"comment\",\n  \"allowDownload\": false,\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"code\": \"code\",\n  \"label\": \"label\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a link that lets a person with no account read one document and, in comment mode, leave comments anchored to a place on a page. Optionally the link expires, asks for an access code and offers the PDF for download. The answer holds the token and the address once; only a hash of the token is kept, so it cannot be read again, and this call is not idempotent so that a replayed answer never stores it. An account keeps as many active links as its plan allows. Revoking takes effect on the next request; a signed file address already handed out lives up to one minute.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | review_links.exhausted | The account already has as many active review links as its plan allows. | Revoke a link you no longer need with DELETE /v1/documents/{documentId}/review-links/{linkId}, or change the plan, then create the new link. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"payload_too_large\",\n  \"message\": \"A JSON body is larger than 1 MB.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 unsupported_media_type",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"comment\",\n  \"allowDownload\": false,\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"code\": \"code\",\n  \"label\": \"label\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a link that lets a person with no account read one document and, in comment mode, leave comments anchored to a place on a page. Optionally the link expires, asks for an access code and offers the PDF for download. The answer holds the token and the address once; only a hash of the token is kept, so it cannot be read again, and this call is not idempotent so that a replayed answer never stores it. An account keeps as many active links as its plan allows. Revoking takes effect on the next request; a signed file address already handed out lives up to one minute.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | review_links.exhausted | The account already has as many active review links as its plan allows. | Revoke a link you no longer need with DELETE /v1/documents/{documentId}/review-links/{linkId}, or change the plan, then create the new link. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"unsupported_media_type\",\n  \"message\": \"The body has a content type the route does not read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"comment\",\n  \"allowDownload\": false,\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"code\": \"code\",\n  \"label\": \"label\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a link that lets a person with no account read one document and, in comment mode, leave comments anchored to a place on a page. Optionally the link expires, asks for an access code and offers the PDF for download. The answer holds the token and the address once; only a hash of the token is kept, so it cannot be read again, and this call is not idempotent so that a replayed answer never stores it. An account keeps as many active links as its plan allows. Revoking takes effect on the next request; a signed file address already handed out lives up to one minute.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | review_links.exhausted | The account already has as many active review links as its plan allows. | Revoke a link you no longer need with DELETE /v1/documents/{documentId}/review-links/{linkId}, or change the plan, then create the new link. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"comment\",\n  \"allowDownload\": false,\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"code\": \"code\",\n  \"label\": \"label\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a link that lets a person with no account read one document and, in comment mode, leave comments anchored to a place on a page. Optionally the link expires, asks for an access code and offers the PDF for download. The answer holds the token and the address once; only a hash of the token is kept, so it cannot be read again, and this call is not idempotent so that a replayed answer never stores it. An account keeps as many active links as its plan allows. Revoking takes effect on the next request; a signed file address already handed out lives up to one minute.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | review_links.exhausted | The account already has as many active review links as its plan allows. | Revoke a link you no longer need with DELETE /v1/documents/{documentId}/review-links/{linkId}, or change the plan, then create the new link. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"comment\",\n  \"allowDownload\": false,\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"code\": \"code\",\n  \"label\": \"label\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a link that lets a person with no account read one document and, in comment mode, leave comments anchored to a place on a page. Optionally the link expires, asks for an access code and offers the PDF for download. The answer holds the token and the address once; only a hash of the token is kept, so it cannot be read again, and this call is not idempotent so that a replayed answer never stores it. An account keeps as many active links as its plan allows. Revoking takes effect on the next request; a signed file address already handed out lives up to one minute.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/review-links\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | review_links.exhausted | The account already has as many active review links as its plan allows. | Revoke a link you no longer need with DELETE /v1/documents/{documentId}/review-links/{linkId}, or change the plan, then create the new link. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Revoke a review link",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/documents/:documentId/review-links/:linkId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "documents",
                ":documentId",
                "review-links",
                ":linkId"
              ],
              "variable": [
                {
                  "key": "documentId",
                  "value": "cm3x8k2f10002",
                  "description": "The document id."
                },
                {
                  "key": "linkId",
                  "value": "cm3x8k2f10050",
                  "description": "The link id."
                }
              ]
            },
            "description": "Ends a link on the next request: it opens nothing and takes no comment, and an access grant already given stops with it. Revoking twice is not an error. A signed file address handed out in the last minute may work until it ends.\n\nScope: reviews:write\nEndpoint: DELETE /v1/documents/{documentId}/review-links/{linkId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "204 No Content",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links/:linkId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links",
                    ":linkId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "linkId",
                      "value": "cm3x8k2f10050",
                      "description": "The link id."
                    }
                  ]
                },
                "description": "Ends a link on the next request: it opens nothing and takes no comment, and an access grant already given stops with it. Revoking twice is not an error. A signed file address handed out in the last minute may work until it ends.\n\nScope: reviews:write\nEndpoint: DELETE /v1/documents/{documentId}/review-links/{linkId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "No Content",
              "code": 204,
              "_postman_previewlanguage": "text",
              "header": [],
              "body": ""
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links/:linkId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links",
                    ":linkId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "linkId",
                      "value": "cm3x8k2f10050",
                      "description": "The link id."
                    }
                  ]
                },
                "description": "Ends a link on the next request: it opens nothing and takes no comment, and an access grant already given stops with it. Revoking twice is not an error. A signed file address handed out in the last minute may work until it ends.\n\nScope: reviews:write\nEndpoint: DELETE /v1/documents/{documentId}/review-links/{linkId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links/:linkId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links",
                    ":linkId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "linkId",
                      "value": "cm3x8k2f10050",
                      "description": "The link id."
                    }
                  ]
                },
                "description": "Ends a link on the next request: it opens nothing and takes no comment, and an access grant already given stops with it. Revoking twice is not an error. A signed file address handed out in the last minute may work until it ends.\n\nScope: reviews:write\nEndpoint: DELETE /v1/documents/{documentId}/review-links/{linkId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links/:linkId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links",
                    ":linkId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "linkId",
                      "value": "cm3x8k2f10050",
                      "description": "The link id."
                    }
                  ]
                },
                "description": "Ends a link on the next request: it opens nothing and takes no comment, and an access grant already given stops with it. Revoking twice is not an error. A signed file address handed out in the last minute may work until it ends.\n\nScope: reviews:write\nEndpoint: DELETE /v1/documents/{documentId}/review-links/{linkId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links/:linkId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links",
                    ":linkId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "linkId",
                      "value": "cm3x8k2f10050",
                      "description": "The link id."
                    }
                  ]
                },
                "description": "Ends a link on the next request: it opens nothing and takes no comment, and an access grant already given stops with it. Revoking twice is not an error. A signed file address handed out in the last minute may work until it ends.\n\nScope: reviews:write\nEndpoint: DELETE /v1/documents/{documentId}/review-links/{linkId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links/:linkId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links",
                    ":linkId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "linkId",
                      "value": "cm3x8k2f10050",
                      "description": "The link id."
                    }
                  ]
                },
                "description": "Ends a link on the next request: it opens nothing and takes no comment, and an access grant already given stops with it. Revoking twice is not an error. A signed file address handed out in the last minute may work until it ends.\n\nScope: reviews:write\nEndpoint: DELETE /v1/documents/{documentId}/review-links/{linkId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links/:linkId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links",
                    ":linkId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "linkId",
                      "value": "cm3x8k2f10050",
                      "description": "The link id."
                    }
                  ]
                },
                "description": "Ends a link on the next request: it opens nothing and takes no comment, and an access grant already given stops with it. Revoking twice is not an error. A signed file address handed out in the last minute may work until it ends.\n\nScope: reviews:write\nEndpoint: DELETE /v1/documents/{documentId}/review-links/{linkId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links/:linkId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links",
                    ":linkId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "linkId",
                      "value": "cm3x8k2f10050",
                      "description": "The link id."
                    }
                  ]
                },
                "description": "Ends a link on the next request: it opens nothing and takes no comment, and an access grant already given stops with it. Revoking twice is not an error. A signed file address handed out in the last minute may work until it ends.\n\nScope: reviews:write\nEndpoint: DELETE /v1/documents/{documentId}/review-links/{linkId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links/:linkId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links",
                    ":linkId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "linkId",
                      "value": "cm3x8k2f10050",
                      "description": "The link id."
                    }
                  ]
                },
                "description": "Ends a link on the next request: it opens nothing and takes no comment, and an access grant already given stops with it. Revoking twice is not an error. A signed file address handed out in the last minute may work until it ends.\n\nScope: reviews:write\nEndpoint: DELETE /v1/documents/{documentId}/review-links/{linkId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links/:linkId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links",
                    ":linkId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "linkId",
                      "value": "cm3x8k2f10050",
                      "description": "The link id."
                    }
                  ]
                },
                "description": "Ends a link on the next request: it opens nothing and takes no comment, and an access grant already given stops with it. Revoking twice is not an error. A signed file address handed out in the last minute may work until it ends.\n\nScope: reviews:write\nEndpoint: DELETE /v1/documents/{documentId}/review-links/{linkId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links/:linkId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links",
                    ":linkId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "linkId",
                      "value": "cm3x8k2f10050",
                      "description": "The link id."
                    }
                  ]
                },
                "description": "Ends a link on the next request: it opens nothing and takes no comment, and an access grant already given stops with it. Revoking twice is not an error. A signed file address handed out in the last minute may work until it ends.\n\nScope: reviews:write\nEndpoint: DELETE /v1/documents/{documentId}/review-links/{linkId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/review-links/:linkId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "review-links",
                    ":linkId"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "linkId",
                      "value": "cm3x8k2f10050",
                      "description": "The link id."
                    }
                  ]
                },
                "description": "Ends a link on the next request: it opens nothing and takes no comment, and an access grant already given stops with it. Revoking twice is not an error. A signed file address handed out in the last minute may work until it ends.\n\nScope: reviews:write\nEndpoint: DELETE /v1/documents/{documentId}/review-links/{linkId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "List the comments left through review links",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/documents/:documentId/comments",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "documents",
                ":documentId",
                "comments"
              ],
              "variable": [
                {
                  "key": "documentId",
                  "value": "cm3x8k2f10002",
                  "description": "The document id."
                }
              ]
            },
            "description": "Every thread on the document, oldest first, with its replies, the page and the place on it. The text is what the reviewer typed: show it as text, never as markup.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/comments\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Every thread on the document, oldest first, with its replies, the page and the place on it. The text is what the reviewer typed: show it as text, never as markup.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/comments\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"items\": [\n    {\n      \"id\": \"id\",\n      \"authorName\": \"authorName\",\n      \"body\": \"body\",\n      \"pageIndex\": -9007199254740991,\n      \"x\": 1,\n      \"y\": 1,\n      \"version\": -9007199254740991,\n      \"resolved\": true,\n      \"resolvedAt\": \"2026-11-04T10:00:00.000Z\",\n      \"unread\": true,\n      \"linkId\": \"linkId\",\n      \"linkLabel\": \"linkLabel\",\n      \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n      \"replies\": [\n        {\n          \"id\": \"id\",\n          \"authorName\": \"authorName\",\n          \"fromMember\": true,\n          \"body\": \"body\",\n          \"createdAt\": \"2026-11-04T10:00:00.000Z\"\n        }\n      ]\n    }\n  ],\n  \"unread\": -9007199254740991\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Every thread on the document, oldest first, with its replies, the page and the place on it. The text is what the reviewer typed: show it as text, never as markup.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/comments\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Every thread on the document, oldest first, with its replies, the page and the place on it. The text is what the reviewer typed: show it as text, never as markup.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/comments\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Every thread on the document, oldest first, with its replies, the page and the place on it. The text is what the reviewer typed: show it as text, never as markup.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/comments\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Every thread on the document, oldest first, with its replies, the page and the place on it. The text is what the reviewer typed: show it as text, never as markup.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/comments\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Every thread on the document, oldest first, with its replies, the page and the place on it. The text is what the reviewer typed: show it as text, never as markup.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/comments\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Every thread on the document, oldest first, with its replies, the page and the place on it. The text is what the reviewer typed: show it as text, never as markup.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/comments\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Every thread on the document, oldest first, with its replies, the page and the place on it. The text is what the reviewer typed: show it as text, never as markup.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/comments\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Every thread on the document, oldest first, with its replies, the page and the place on it. The text is what the reviewer typed: show it as text, never as markup.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/comments\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Every thread on the document, oldest first, with its replies, the page and the place on it. The text is what the reviewer typed: show it as text, never as markup.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/comments\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    }
                  ]
                },
                "description": "Every thread on the document, oldest first, with its replies, the page and the place on it. The text is what the reviewer typed: show it as text, never as markup.\n\nScope: reviews:read\nEndpoint: GET /v1/documents/{documentId}/comments\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Reply to a comment",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "type": "text",
                "description": "A new value for each new request. Repeat it only to retry the same request."
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "documents",
                ":documentId",
                "comments",
                ":commentId",
                "replies"
              ],
              "variable": [
                {
                  "key": "documentId",
                  "value": "cm3x8k2f10002",
                  "description": "The document id."
                },
                {
                  "key": "commentId",
                  "value": "cm3x8k2f10060",
                  "description": "The comment id."
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"body\": \"body\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "201 Created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "replies"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"body\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"id\",\n  \"authorName\": \"authorName\",\n  \"fromMember\": true,\n  \"body\": \"body\",\n  \"createdAt\": \"2026-11-04T10:00:00.000Z\"\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "replies"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"body\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 idempotency_key_invalid",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "replies"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"body\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"idempotency_key_invalid\",\n  \"message\": \"The Idempotency-Key is not 1 to 255 visible ASCII characters.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "replies"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"body\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "replies"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"body\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "replies"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"body\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "replies"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"body\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "replies"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"body\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "replies"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"body\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "replies"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"body\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 idempotency_in_progress",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "replies"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"body\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"idempotency_in_progress\",\n  \"message\": \"A request with the same Idempotency-Key is still running.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 payload_too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "replies"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"body\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"payload_too_large\",\n  \"message\": \"A JSON body is larger than 1 MB.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 unsupported_media_type",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "replies"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"body\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"unsupported_media_type\",\n  \"message\": \"The body has a content type the route does not read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "422 idempotency_key_reused",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "replies"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"body\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 422,\n  \"error\": \"idempotency_key_reused\",\n  \"message\": \"The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "replies"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"body\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "replies"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"body\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/replies",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "replies"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"body\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Adds a reply from the person who owns the key. The reviewer sees it under their comment when they open their link again.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/replies\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Resolve or reopen a comment",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/resolve",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "documents",
                ":documentId",
                "comments",
                ":commentId",
                "resolve"
              ],
              "variable": [
                {
                  "key": "documentId",
                  "value": "cm3x8k2f10002",
                  "description": "The document id."
                },
                {
                  "key": "commentId",
                  "value": "cm3x8k2f10060",
                  "description": "The comment id."
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"resolved\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Marks a thread resolved, or reopens it with resolved false. The reviewer sees the state through their link.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/resolve\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/resolve",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "resolve"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"resolved\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Marks a thread resolved, or reopens it with resolved false. The reviewer sees the state through their link.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/resolve\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"resolved\": true,\n  \"resolvedAt\": \"2026-11-04T10:00:00.000Z\"\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/resolve",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "resolve"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"resolved\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Marks a thread resolved, or reopens it with resolved false. The reviewer sees the state through their link.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/resolve\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/resolve",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "resolve"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"resolved\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Marks a thread resolved, or reopens it with resolved false. The reviewer sees the state through their link.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/resolve\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/resolve",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "resolve"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"resolved\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Marks a thread resolved, or reopens it with resolved false. The reviewer sees the state through their link.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/resolve\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/resolve",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "resolve"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"resolved\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Marks a thread resolved, or reopens it with resolved false. The reviewer sees the state through their link.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/resolve\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/resolve",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "resolve"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"resolved\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Marks a thread resolved, or reopens it with resolved false. The reviewer sees the state through their link.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/resolve\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/resolve",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "resolve"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"resolved\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Marks a thread resolved, or reopens it with resolved false. The reviewer sees the state through their link.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/resolve\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/resolve",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "resolve"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"resolved\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Marks a thread resolved, or reopens it with resolved false. The reviewer sees the state through their link.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/resolve\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/resolve",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "resolve"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"resolved\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Marks a thread resolved, or reopens it with resolved false. The reviewer sees the state through their link.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/resolve\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 payload_too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/resolve",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "resolve"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"resolved\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Marks a thread resolved, or reopens it with resolved false. The reviewer sees the state through their link.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/resolve\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"payload_too_large\",\n  \"message\": \"A JSON body is larger than 1 MB.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 unsupported_media_type",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/resolve",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "resolve"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"resolved\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Marks a thread resolved, or reopens it with resolved false. The reviewer sees the state through their link.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/resolve\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"unsupported_media_type\",\n  \"message\": \"The body has a content type the route does not read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/resolve",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "resolve"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"resolved\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Marks a thread resolved, or reopens it with resolved false. The reviewer sees the state through their link.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/resolve\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/resolve",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "resolve"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"resolved\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Marks a thread resolved, or reopens it with resolved false. The reviewer sees the state through their link.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/resolve\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/documents/:documentId/comments/:commentId/resolve",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "documents",
                    ":documentId",
                    "comments",
                    ":commentId",
                    "resolve"
                  ],
                  "variable": [
                    {
                      "key": "documentId",
                      "value": "cm3x8k2f10002",
                      "description": "The document id."
                    },
                    {
                      "key": "commentId",
                      "value": "cm3x8k2f10060",
                      "description": "The comment id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"resolved\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Marks a thread resolved, or reopens it with resolved false. The reviewer sees the state through their link.\n\nScope: reviews:write\nEndpoint: POST /v1/documents/{documentId}/comments/{commentId}/resolve\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Signatures",
      "description": "Send documents for electronic signature, follow each signer and download the signed document and its certificate.",
      "item": [
        {
          "name": "Verify the signatures of a PDF",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/signature-verifications",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "signature-verifications"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Checks the digital signatures of an uploaded PDF (POST /v1/files) and answers for each one: the signer certificate, the time, whether the document changed after signing, whether the certificate chain links up and whether a timestamp token attests to the signature. The answer is never \"valid\". The strongest verdicts say the document is unchanged and that the signer is not independently confirmed, because the check holds no trust list and does not check revocation; notEstablished lists exactly what was not checked. Nothing about the file is stored. The file may be up to 25 MB.\n\nScope: signatures:read\nEndpoint: POST /v1/signature-verifications\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-verifications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-verifications"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Checks the digital signatures of an uploaded PDF (POST /v1/files) and answers for each one: the signer certificate, the time, whether the document changed after signing, whether the certificate chain links up and whether a timestamp token attests to the signature. The answer is never \"valid\". The strongest verdicts say the document is unchanged and that the signer is not independently confirmed, because the check holds no trust list and does not check revocation; notEstablished lists exactly what was not checked. Nothing about the file is stored. The file may be up to 25 MB.\n\nScope: signatures:read\nEndpoint: POST /v1/signature-verifications\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"signed\": true,\n  \"signatureCount\": -9007199254740991,\n  \"verdict\": {\n    \"code\": \"unsigned\",\n    \"title\": \"title\",\n    \"summary\": \"summary\"\n  },\n  \"signatures\": [\n    {\n      \"index\": -9007199254740991,\n      \"integrity\": \"intact\",\n      \"reason\": \"reason\",\n      \"signer\": {\n        \"commonName\": null,\n        \"organization\": \"organization\",\n        \"issuerCommonName\": \"issuerCommonName\",\n        \"serialNumber\": \"serialNumber\",\n        \"validFrom\": \"validFrom\",\n        \"validTo\": \"validTo\"\n      },\n      \"laterChanges\": \"none\",\n      \"coversWholeDocument\": true,\n      \"uncoveredBytes\": -9007199254740991,\n      \"signingTime\": {\n        \"value\": \"value\",\n        \"source\": \"timestamp-token\"\n      },\n      \"timestamp\": {\n        \"status\": \"absent\",\n        \"time\": \"time\",\n        \"authority\": \"authority\"\n      },\n      \"chain\": {\n        \"status\": \"self-issued\",\n        \"links\": -9007199254740991,\n        \"topCommonName\": \"topCommonName\",\n        \"validAtSigning\": \"yes\",\n        \"timeBasis\": null\n      },\n      \"established\": [\n        \"unchanged-since-signing\"\n      ]\n    }\n  ],\n  \"notEstablished\": [\n    \"signer-identity\"\n  ],\n  \"bytesAfterLastSignature\": -9007199254740991\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-verifications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-verifications"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Checks the digital signatures of an uploaded PDF (POST /v1/files) and answers for each one: the signer certificate, the time, whether the document changed after signing, whether the certificate chain links up and whether a timestamp token attests to the signature. The answer is never \"valid\". The strongest verdicts say the document is unchanged and that the signer is not independently confirmed, because the check holds no trust list and does not check revocation; notEstablished lists exactly what was not checked. Nothing about the file is stored. The file may be up to 25 MB.\n\nScope: signatures:read\nEndpoint: POST /v1/signature-verifications\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-verifications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-verifications"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Checks the digital signatures of an uploaded PDF (POST /v1/files) and answers for each one: the signer certificate, the time, whether the document changed after signing, whether the certificate chain links up and whether a timestamp token attests to the signature. The answer is never \"valid\". The strongest verdicts say the document is unchanged and that the signer is not independently confirmed, because the check holds no trust list and does not check revocation; notEstablished lists exactly what was not checked. Nothing about the file is stored. The file may be up to 25 MB.\n\nScope: signatures:read\nEndpoint: POST /v1/signature-verifications\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-verifications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-verifications"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Checks the digital signatures of an uploaded PDF (POST /v1/files) and answers for each one: the signer certificate, the time, whether the document changed after signing, whether the certificate chain links up and whether a timestamp token attests to the signature. The answer is never \"valid\". The strongest verdicts say the document is unchanged and that the signer is not independently confirmed, because the check holds no trust list and does not check revocation; notEstablished lists exactly what was not checked. Nothing about the file is stored. The file may be up to 25 MB.\n\nScope: signatures:read\nEndpoint: POST /v1/signature-verifications\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-verifications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-verifications"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Checks the digital signatures of an uploaded PDF (POST /v1/files) and answers for each one: the signer certificate, the time, whether the document changed after signing, whether the certificate chain links up and whether a timestamp token attests to the signature. The answer is never \"valid\". The strongest verdicts say the document is unchanged and that the signer is not independently confirmed, because the check holds no trust list and does not check revocation; notEstablished lists exactly what was not checked. Nothing about the file is stored. The file may be up to 25 MB.\n\nScope: signatures:read\nEndpoint: POST /v1/signature-verifications\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-verifications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-verifications"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Checks the digital signatures of an uploaded PDF (POST /v1/files) and answers for each one: the signer certificate, the time, whether the document changed after signing, whether the certificate chain links up and whether a timestamp token attests to the signature. The answer is never \"valid\". The strongest verdicts say the document is unchanged and that the signer is not independently confirmed, because the check holds no trust list and does not check revocation; notEstablished lists exactly what was not checked. Nothing about the file is stored. The file may be up to 25 MB.\n\nScope: signatures:read\nEndpoint: POST /v1/signature-verifications\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-verifications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-verifications"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Checks the digital signatures of an uploaded PDF (POST /v1/files) and answers for each one: the signer certificate, the time, whether the document changed after signing, whether the certificate chain links up and whether a timestamp token attests to the signature. The answer is never \"valid\". The strongest verdicts say the document is unchanged and that the signer is not independently confirmed, because the check holds no trust list and does not check revocation; notEstablished lists exactly what was not checked. Nothing about the file is stored. The file may be up to 25 MB.\n\nScope: signatures:read\nEndpoint: POST /v1/signature-verifications\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-verifications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-verifications"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Checks the digital signatures of an uploaded PDF (POST /v1/files) and answers for each one: the signer certificate, the time, whether the document changed after signing, whether the certificate chain links up and whether a timestamp token attests to the signature. The answer is never \"valid\". The strongest verdicts say the document is unchanged and that the signer is not independently confirmed, because the check holds no trust list and does not check revocation; notEstablished lists exactly what was not checked. Nothing about the file is stored. The file may be up to 25 MB.\n\nScope: signatures:read\nEndpoint: POST /v1/signature-verifications\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 payload_too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-verifications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-verifications"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Checks the digital signatures of an uploaded PDF (POST /v1/files) and answers for each one: the signer certificate, the time, whether the document changed after signing, whether the certificate chain links up and whether a timestamp token attests to the signature. The answer is never \"valid\". The strongest verdicts say the document is unchanged and that the signer is not independently confirmed, because the check holds no trust list and does not check revocation; notEstablished lists exactly what was not checked. Nothing about the file is stored. The file may be up to 25 MB.\n\nScope: signatures:read\nEndpoint: POST /v1/signature-verifications\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"payload_too_large\",\n  \"message\": \"A JSON body is larger than 1 MB.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 file.too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-verifications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-verifications"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Checks the digital signatures of an uploaded PDF (POST /v1/files) and answers for each one: the signer certificate, the time, whether the document changed after signing, whether the certificate chain links up and whether a timestamp token attests to the signature. The answer is never \"valid\". The strongest verdicts say the document is unchanged and that the signer is not independently confirmed, because the check holds no trust list and does not check revocation; notEstablished lists exactly what was not checked. Nothing about the file is stored. The file may be up to 25 MB.\n\nScope: signatures:read\nEndpoint: POST /v1/signature-verifications\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"file.too_large\",\n  \"message\": \"A file is larger than your plan or the tool allows.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 unsupported_media_type",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-verifications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-verifications"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Checks the digital signatures of an uploaded PDF (POST /v1/files) and answers for each one: the signer certificate, the time, whether the document changed after signing, whether the certificate chain links up and whether a timestamp token attests to the signature. The answer is never \"valid\". The strongest verdicts say the document is unchanged and that the signer is not independently confirmed, because the check holds no trust list and does not check revocation; notEstablished lists exactly what was not checked. Nothing about the file is stored. The file may be up to 25 MB.\n\nScope: signatures:read\nEndpoint: POST /v1/signature-verifications\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"unsupported_media_type\",\n  \"message\": \"The body has a content type the route does not read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-verifications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-verifications"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Checks the digital signatures of an uploaded PDF (POST /v1/files) and answers for each one: the signer certificate, the time, whether the document changed after signing, whether the certificate chain links up and whether a timestamp token attests to the signature. The answer is never \"valid\". The strongest verdicts say the document is unchanged and that the signer is not independently confirmed, because the check holds no trust list and does not check revocation; notEstablished lists exactly what was not checked. Nothing about the file is stored. The file may be up to 25 MB.\n\nScope: signatures:read\nEndpoint: POST /v1/signature-verifications\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-verifications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-verifications"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Checks the digital signatures of an uploaded PDF (POST /v1/files) and answers for each one: the signer certificate, the time, whether the document changed after signing, whether the certificate chain links up and whether a timestamp token attests to the signature. The answer is never \"valid\". The strongest verdicts say the document is unchanged and that the signer is not independently confirmed, because the check holds no trust list and does not check revocation; notEstablished lists exactly what was not checked. Nothing about the file is stored. The file may be up to 25 MB.\n\nScope: signatures:read\nEndpoint: POST /v1/signature-verifications\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-verifications",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-verifications"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Checks the digital signatures of an uploaded PDF (POST /v1/files) and answers for each one: the signer certificate, the time, whether the document changed after signing, whether the certificate chain links up and whether a timestamp token attests to the signature. The answer is never \"valid\". The strongest verdicts say the document is unchanged and that the signer is not independently confirmed, because the check holds no trust list and does not check revocation; notEstablished lists exactly what was not checked. Nothing about the file is stored. The file may be up to 25 MB.\n\nScope: signatures:read\nEndpoint: POST /v1/signature-verifications\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 413 | file.too_large | A file is larger than your plan or the tool allows. The details give maxBytes. | Send a smaller file, or use a plan with a higher limit (25 MB on Free up to 1 GB on Enterprise). |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "List signature templates",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/signature-templates",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "signature-templates"
              ]
            },
            "description": "The reusable layouts of the account: the document, the signer roles and the fields placed on it. Templates are shared with every member of the account. Make and edit them in the web app.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates"
                  ]
                },
                "description": "The reusable layouts of the account: the document, the signer roles and the fields placed on it. Templates are shared with every member of the account. Make and edit them in the web app.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"items\": [\n    {\n      \"id\": \"id\",\n      \"name\": \"name\",\n      \"description\": \"description\",\n      \"signerRoles\": [\n        {\n          \"id\": \"id\",\n          \"label\": \"label\",\n          \"color\": \"color\",\n          \"verificationMethod\": \"none\"\n        }\n      ],\n      \"fields\": [\n        {\n          \"id\": \"id\",\n          \"type\": \"type\",\n          \"label\": \"label\",\n          \"page\": -9007199254740991,\n          \"x\": 1,\n          \"y\": 1,\n          \"w\": 1,\n          \"h\": 1,\n          \"required\": true,\n          \"signerRoleId\": \"signerRoleId\"\n        }\n      ],\n      \"pageCount\": -9007199254740991,\n      \"sizeBytes\": -9007199254740991,\n      \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n      \"updatedAt\": \"2026-11-04T10:00:00.000Z\"\n    }\n  ],\n  \"limit\": -9007199254740991\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates"
                  ]
                },
                "description": "The reusable layouts of the account: the document, the signer roles and the fields placed on it. Templates are shared with every member of the account. Make and edit them in the web app.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates"
                  ]
                },
                "description": "The reusable layouts of the account: the document, the signer roles and the fields placed on it. Templates are shared with every member of the account. Make and edit them in the web app.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates"
                  ]
                },
                "description": "The reusable layouts of the account: the document, the signer roles and the fields placed on it. Templates are shared with every member of the account. Make and edit them in the web app.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates"
                  ]
                },
                "description": "The reusable layouts of the account: the document, the signer roles and the fields placed on it. Templates are shared with every member of the account. Make and edit them in the web app.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates"
                  ]
                },
                "description": "The reusable layouts of the account: the document, the signer roles and the fields placed on it. Templates are shared with every member of the account. Make and edit them in the web app.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates"
                  ]
                },
                "description": "The reusable layouts of the account: the document, the signer roles and the fields placed on it. Templates are shared with every member of the account. Make and edit them in the web app.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates"
                  ]
                },
                "description": "The reusable layouts of the account: the document, the signer roles and the fields placed on it. Templates are shared with every member of the account. Make and edit them in the web app.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates"
                  ]
                },
                "description": "The reusable layouts of the account: the document, the signer roles and the fields placed on it. Templates are shared with every member of the account. Make and edit them in the web app.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Get a signature template",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/signature-templates/:templateId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "signature-templates",
                ":templateId"
              ],
              "variable": [
                {
                  "key": "templateId",
                  "value": "cm3x8k2f10020",
                  "description": "The template id."
                }
              ]
            },
            "description": "One template with its signer roles and fields. Name a role by its id or its label when you send a request from the template.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates/{templateId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates/:templateId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates",
                    ":templateId"
                  ],
                  "variable": [
                    {
                      "key": "templateId",
                      "value": "cm3x8k2f10020",
                      "description": "The template id."
                    }
                  ]
                },
                "description": "One template with its signer roles and fields. Name a role by its id or its label when you send a request from the template.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates/{templateId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"id\",\n  \"name\": \"name\",\n  \"description\": \"description\",\n  \"signerRoles\": [\n    {\n      \"id\": \"id\",\n      \"label\": \"label\",\n      \"color\": \"color\",\n      \"verificationMethod\": \"none\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"id\": \"id\",\n      \"type\": \"type\",\n      \"label\": \"label\",\n      \"page\": -9007199254740991,\n      \"x\": 1,\n      \"y\": 1,\n      \"w\": 1,\n      \"h\": 1,\n      \"required\": true,\n      \"signerRoleId\": \"signerRoleId\"\n    }\n  ],\n  \"pageCount\": -9007199254740991,\n  \"sizeBytes\": -9007199254740991,\n  \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n  \"updatedAt\": \"2026-11-04T10:00:00.000Z\"\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates/:templateId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates",
                    ":templateId"
                  ],
                  "variable": [
                    {
                      "key": "templateId",
                      "value": "cm3x8k2f10020",
                      "description": "The template id."
                    }
                  ]
                },
                "description": "One template with its signer roles and fields. Name a role by its id or its label when you send a request from the template.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates/{templateId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates/:templateId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates",
                    ":templateId"
                  ],
                  "variable": [
                    {
                      "key": "templateId",
                      "value": "cm3x8k2f10020",
                      "description": "The template id."
                    }
                  ]
                },
                "description": "One template with its signer roles and fields. Name a role by its id or its label when you send a request from the template.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates/{templateId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates/:templateId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates",
                    ":templateId"
                  ],
                  "variable": [
                    {
                      "key": "templateId",
                      "value": "cm3x8k2f10020",
                      "description": "The template id."
                    }
                  ]
                },
                "description": "One template with its signer roles and fields. Name a role by its id or its label when you send a request from the template.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates/{templateId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates/:templateId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates",
                    ":templateId"
                  ],
                  "variable": [
                    {
                      "key": "templateId",
                      "value": "cm3x8k2f10020",
                      "description": "The template id."
                    }
                  ]
                },
                "description": "One template with its signer roles and fields. Name a role by its id or its label when you send a request from the template.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates/{templateId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates/:templateId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates",
                    ":templateId"
                  ],
                  "variable": [
                    {
                      "key": "templateId",
                      "value": "cm3x8k2f10020",
                      "description": "The template id."
                    }
                  ]
                },
                "description": "One template with its signer roles and fields. Name a role by its id or its label when you send a request from the template.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates/{templateId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates/:templateId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates",
                    ":templateId"
                  ],
                  "variable": [
                    {
                      "key": "templateId",
                      "value": "cm3x8k2f10020",
                      "description": "The template id."
                    }
                  ]
                },
                "description": "One template with its signer roles and fields. Name a role by its id or its label when you send a request from the template.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates/{templateId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates/:templateId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates",
                    ":templateId"
                  ],
                  "variable": [
                    {
                      "key": "templateId",
                      "value": "cm3x8k2f10020",
                      "description": "The template id."
                    }
                  ]
                },
                "description": "One template with its signer roles and fields. Name a role by its id or its label when you send a request from the template.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates/{templateId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates/:templateId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates",
                    ":templateId"
                  ],
                  "variable": [
                    {
                      "key": "templateId",
                      "value": "cm3x8k2f10020",
                      "description": "The template id."
                    }
                  ]
                },
                "description": "One template with its signer roles and fields. Name a role by its id or its label when you send a request from the template.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates/{templateId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates/:templateId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates",
                    ":templateId"
                  ],
                  "variable": [
                    {
                      "key": "templateId",
                      "value": "cm3x8k2f10020",
                      "description": "The template id."
                    }
                  ]
                },
                "description": "One template with its signer roles and fields. Name a role by its id or its label when you send a request from the template.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates/{templateId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-templates/:templateId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-templates",
                    ":templateId"
                  ],
                  "variable": [
                    {
                      "key": "templateId",
                      "value": "cm3x8k2f10020",
                      "description": "The template id."
                    }
                  ]
                },
                "description": "One template with its signer roles and fields. Name a role by its id or its label when you send a request from the template.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-templates/{templateId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Create a signature request",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "type": "text",
                "description": "A new value for each new request. Repeat it only to retry the same request."
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/signature-requests",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "signature-requests"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "201 Created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"cm3x8k2f10010\",\n  \"title\": \"title\",\n  \"message\": \"message\",\n  \"status\": \"draft\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"locale\",\n  \"templateId\": \"templateId\",\n  \"pageCount\": -9007199254740991,\n  \"sizeBytes\": -9007199254740991,\n  \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n  \"sentAt\": \"2026-11-04T10:00:00.000Z\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"completedAt\": \"2026-11-04T10:00:00.000Z\",\n  \"voidedAt\": \"2026-11-04T10:00:00.000Z\",\n  \"voidReason\": \"voidReason\",\n  \"reminderCadenceHours\": -9007199254740991,\n  \"signedDocumentAvailable\": true,\n  \"signers\": [\n    {\n      \"id\": \"id\",\n      \"name\": \"name\",\n      \"email\": \"email\",\n      \"role\": \"role\",\n      \"sequence\": -9007199254740991,\n      \"status\": \"pending\",\n      \"sentAt\": \"2026-11-04T10:00:00.000Z\",\n      \"viewedAt\": \"2026-11-04T10:00:00.000Z\",\n      \"signedAt\": \"2026-11-04T10:00:00.000Z\",\n      \"declinedAt\": \"2026-11-04T10:00:00.000Z\",\n      \"declinedReason\": \"declinedReason\",\n      \"verificationMethod\": \"none\"\n    }\n  ]\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 idempotency_key_invalid",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"idempotency_key_invalid\",\n  \"message\": \"The Idempotency-Key is not 1 to 255 visible ASCII characters.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 signature.verification_unsupported",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"signature.verification_unsupported\",\n  \"message\": \"A signer asked to be verified by a method PDF Loft does not offer.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 signature.access_code_invalid",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"signature.access_code_invalid\",\n  \"message\": \"A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 signatures.exhausted",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"signatures.exhausted\",\n  \"message\": \"The account has used its signature requests for this period.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 idempotency_in_progress",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"idempotency_in_progress\",\n  \"message\": \"A request with the same Idempotency-Key is still running.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 payload_too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"payload_too_large\",\n  \"message\": \"A JSON body is larger than 1 MB.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 unsupported_media_type",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"unsupported_media_type\",\n  \"message\": \"The body has a content type the route does not read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "422 idempotency_key_reused",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 422,\n  \"error\": \"idempotency_key_reused\",\n  \"message\": \"The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"title\": \"Services agreement\",\n  \"message\": \"message\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"source\": {\n    \"fileId\": \"file_Qm3nT9xvB2kLw8RzYc1pAe5H\"\n  },\n  \"signers\": [\n    {\n      \"role\": \"Client\",\n      \"sequence\": 1,\n      \"name\": \"Meera Iyer\",\n      \"email\": \"meera@example.com\",\n      \"verificationMethod\": \"access-code\",\n      \"accessCode\": \"accessCode\"\n    }\n  ],\n  \"fields\": [\n    {\n      \"signerRole\": \"Client\",\n      \"type\": \"signature\",\n      \"label\": \"Client signature\",\n      \"page\": 0,\n      \"x\": 0,\n      \"y\": 0,\n      \"w\": 0,\n      \"h\": 0,\n      \"required\": true\n    }\n  ],\n  \"send\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Makes a signature request from an uploaded PDF (POST /v1/files), a library document or a template, with its signers and the fields they fill. A draft is created unless send is true, and a sent request spends one signature request of the plan allowance, exactly as in the web app: a send the allowance refuses (signatures.exhausted) creates nothing. The request belongs to the person who owns the key and is private to them unless visibility is ACCOUNT. Signers are emailed their links when the request is sent.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "List signature requests",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/signature-requests",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "signature-requests"
              ],
              "query": [
                {
                  "key": "status",
                  "value": "",
                  "description": "draft: not sent yet. sent: waiting for the first signer. in_progress: at least one signer signed. completed: every signer signed. declined: a signer declined. expired: the request passed its expiry. voided: the sender cancelled it.",
                  "disabled": true
                },
                {
                  "key": "mine",
                  "value": "",
                  "description": "true: only the requests the owner of the key sent.",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, 1 to 100.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The nextCursor of the previous page.",
                  "disabled": true
                }
              ]
            },
            "description": "The requests the key can see, newest first: every account-wide request and the private requests of the person who owns the key. Filter by status, or by mine to list only the requests that person sent.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ],
                  "query": [
                    {
                      "key": "status",
                      "value": "",
                      "description": "draft: not sent yet. sent: waiting for the first signer. in_progress: at least one signer signed. completed: every signer signed. declined: a signer declined. expired: the request passed its expiry. voided: the sender cancelled it.",
                      "disabled": true
                    },
                    {
                      "key": "mine",
                      "value": "",
                      "description": "true: only the requests the owner of the key sent.",
                      "disabled": true
                    },
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The requests the key can see, newest first: every account-wide request and the private requests of the person who owns the key. Filter by status, or by mine to list only the requests that person sent.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"items\": [\n    {\n      \"id\": \"id\",\n      \"title\": \"title\",\n      \"status\": \"draft\",\n      \"visibility\": \"PRIVATE\",\n      \"signingOrder\": \"sequential\",\n      \"templateId\": \"templateId\",\n      \"pageCount\": -9007199254740991,\n      \"sizeBytes\": -9007199254740991,\n      \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n      \"sentAt\": \"2026-11-04T10:00:00.000Z\",\n      \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n      \"completedAt\": \"2026-11-04T10:00:00.000Z\",\n      \"signers\": [\n        {\n          \"id\": \"id\",\n          \"name\": \"name\",\n          \"status\": \"status\",\n          \"sequence\": -9007199254740991\n        }\n      ]\n    }\n  ],\n  \"nextCursor\": \"nextCursor\"\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ],
                  "query": [
                    {
                      "key": "status",
                      "value": "",
                      "description": "draft: not sent yet. sent: waiting for the first signer. in_progress: at least one signer signed. completed: every signer signed. declined: a signer declined. expired: the request passed its expiry. voided: the sender cancelled it.",
                      "disabled": true
                    },
                    {
                      "key": "mine",
                      "value": "",
                      "description": "true: only the requests the owner of the key sent.",
                      "disabled": true
                    },
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The requests the key can see, newest first: every account-wide request and the private requests of the person who owns the key. Filter by status, or by mine to list only the requests that person sent.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ],
                  "query": [
                    {
                      "key": "status",
                      "value": "",
                      "description": "draft: not sent yet. sent: waiting for the first signer. in_progress: at least one signer signed. completed: every signer signed. declined: a signer declined. expired: the request passed its expiry. voided: the sender cancelled it.",
                      "disabled": true
                    },
                    {
                      "key": "mine",
                      "value": "",
                      "description": "true: only the requests the owner of the key sent.",
                      "disabled": true
                    },
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The requests the key can see, newest first: every account-wide request and the private requests of the person who owns the key. Filter by status, or by mine to list only the requests that person sent.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ],
                  "query": [
                    {
                      "key": "status",
                      "value": "",
                      "description": "draft: not sent yet. sent: waiting for the first signer. in_progress: at least one signer signed. completed: every signer signed. declined: a signer declined. expired: the request passed its expiry. voided: the sender cancelled it.",
                      "disabled": true
                    },
                    {
                      "key": "mine",
                      "value": "",
                      "description": "true: only the requests the owner of the key sent.",
                      "disabled": true
                    },
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The requests the key can see, newest first: every account-wide request and the private requests of the person who owns the key. Filter by status, or by mine to list only the requests that person sent.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ],
                  "query": [
                    {
                      "key": "status",
                      "value": "",
                      "description": "draft: not sent yet. sent: waiting for the first signer. in_progress: at least one signer signed. completed: every signer signed. declined: a signer declined. expired: the request passed its expiry. voided: the sender cancelled it.",
                      "disabled": true
                    },
                    {
                      "key": "mine",
                      "value": "",
                      "description": "true: only the requests the owner of the key sent.",
                      "disabled": true
                    },
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The requests the key can see, newest first: every account-wide request and the private requests of the person who owns the key. Filter by status, or by mine to list only the requests that person sent.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ],
                  "query": [
                    {
                      "key": "status",
                      "value": "",
                      "description": "draft: not sent yet. sent: waiting for the first signer. in_progress: at least one signer signed. completed: every signer signed. declined: a signer declined. expired: the request passed its expiry. voided: the sender cancelled it.",
                      "disabled": true
                    },
                    {
                      "key": "mine",
                      "value": "",
                      "description": "true: only the requests the owner of the key sent.",
                      "disabled": true
                    },
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The requests the key can see, newest first: every account-wide request and the private requests of the person who owns the key. Filter by status, or by mine to list only the requests that person sent.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ],
                  "query": [
                    {
                      "key": "status",
                      "value": "",
                      "description": "draft: not sent yet. sent: waiting for the first signer. in_progress: at least one signer signed. completed: every signer signed. declined: a signer declined. expired: the request passed its expiry. voided: the sender cancelled it.",
                      "disabled": true
                    },
                    {
                      "key": "mine",
                      "value": "",
                      "description": "true: only the requests the owner of the key sent.",
                      "disabled": true
                    },
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The requests the key can see, newest first: every account-wide request and the private requests of the person who owns the key. Filter by status, or by mine to list only the requests that person sent.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ],
                  "query": [
                    {
                      "key": "status",
                      "value": "",
                      "description": "draft: not sent yet. sent: waiting for the first signer. in_progress: at least one signer signed. completed: every signer signed. declined: a signer declined. expired: the request passed its expiry. voided: the sender cancelled it.",
                      "disabled": true
                    },
                    {
                      "key": "mine",
                      "value": "",
                      "description": "true: only the requests the owner of the key sent.",
                      "disabled": true
                    },
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The requests the key can see, newest first: every account-wide request and the private requests of the person who owns the key. Filter by status, or by mine to list only the requests that person sent.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ],
                  "query": [
                    {
                      "key": "status",
                      "value": "",
                      "description": "draft: not sent yet. sent: waiting for the first signer. in_progress: at least one signer signed. completed: every signer signed. declined: a signer declined. expired: the request passed its expiry. voided: the sender cancelled it.",
                      "disabled": true
                    },
                    {
                      "key": "mine",
                      "value": "",
                      "description": "true: only the requests the owner of the key sent.",
                      "disabled": true
                    },
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The requests the key can see, newest first: every account-wide request and the private requests of the person who owns the key. Filter by status, or by mine to list only the requests that person sent.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests"
                  ],
                  "query": [
                    {
                      "key": "status",
                      "value": "",
                      "description": "draft: not sent yet. sent: waiting for the first signer. in_progress: at least one signer signed. completed: every signer signed. declined: a signer declined. expired: the request passed its expiry. voided: the sender cancelled it.",
                      "disabled": true
                    },
                    {
                      "key": "mine",
                      "value": "",
                      "description": "true: only the requests the owner of the key sent.",
                      "disabled": true
                    },
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, 1 to 100.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The nextCursor of the previous page.",
                      "disabled": true
                    }
                  ]
                },
                "description": "The requests the key can see, newest first: every account-wide request and the private requests of the person who owns the key. Filter by status, or by mine to list only the requests that person sent.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Send a template to many signers",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "type": "text",
                "description": "A new value for each new request. Repeat it only to retry the same request."
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/signature-requests/bulk",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "signature-requests",
                "bulk"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "202 Accepted",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Accepted",
              "code": 202,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"created\": [\n    {\n      \"row\": -9007199254740991,\n      \"id\": \"id\"\n    }\n  ],\n  \"failed\": [\n    {\n      \"row\": -9007199254740991,\n      \"code\": \"code\"\n    }\n  ]\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 idempotency_key_invalid",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"idempotency_key_invalid\",\n  \"message\": \"The Idempotency-Key is not 1 to 255 visible ASCII characters.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 signature.verification_unsupported",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"signature.verification_unsupported\",\n  \"message\": \"A signer asked to be verified by a method PDF Loft does not offer.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 signature.access_code_invalid",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"signature.access_code_invalid\",\n  \"message\": \"A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 signatures.exhausted",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"signatures.exhausted\",\n  \"message\": \"The account has used its signature requests for this period.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 idempotency_in_progress",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"idempotency_in_progress\",\n  \"message\": \"A request with the same Idempotency-Key is still running.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 payload_too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"payload_too_large\",\n  \"message\": \"A JSON body is larger than 1 MB.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 unsupported_media_type",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"unsupported_media_type\",\n  \"message\": \"The body has a content type the route does not read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "422 idempotency_key_reused",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 422,\n  \"error\": \"idempotency_key_reused\",\n  \"message\": \"The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/bulk",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    "bulk"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"templateId\": \"templateId\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"en\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"reminderCadenceHours\": 1,\n  \"rows\": [\n    {\n      \"title\": \"title\",\n      \"signers\": [\n        {\n          \"role\": \"role\",\n          \"name\": \"name\",\n          \"email\": \"email\",\n          \"verificationMethod\": \"access-code\",\n          \"accessCode\": \"accessCode\"\n        }\n      ]\n    }\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Sends one request from a template for each row, each row naming the signers who fill the template roles. The batch is refused whole when it would pass the signature requests the plan allows; otherwise the answer lists the rows that were created and the rows that failed with a code.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/bulk\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 400 | signature.verification_unsupported | A signer asked to be verified by a method PDF Loft does not offer. The methods sms-otp, kba and id-document do not exist yet, and nothing is sent without the check the sender asked for. The details name the method and list the supported ones. | Set verificationMethod to none, access-code or email-code for each signer, or leave it out. |\n| 400 | signature.access_code_invalid | A signer verified by access code has no accessCode, or it is not 6 to 64 characters, or an accessCode was given for a signer with another method. The details name the problem and the signer position. | Give every access-code signer an accessCode of 6 to 64 characters and share it with them yourself, and send no accessCode for the other methods. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Get a signature request",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/signature-requests/:requestId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "signature-requests",
                ":requestId"
              ],
              "variable": [
                {
                  "key": "requestId",
                  "value": "cm3x8k2f10010",
                  "description": "The signature request id."
                }
              ]
            },
            "description": "One request with its status and each signer: whether they were asked, opened it, signed or declined, and when. A request past its expiry reads as expired.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "One request with its status and each signer: whether they were asked, opened it, signed or declined, and when. A request past its expiry reads as expired.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"id\": \"cm3x8k2f10010\",\n  \"title\": \"title\",\n  \"message\": \"message\",\n  \"status\": \"draft\",\n  \"visibility\": \"PRIVATE\",\n  \"signingOrder\": \"sequential\",\n  \"locale\": \"locale\",\n  \"templateId\": \"templateId\",\n  \"pageCount\": -9007199254740991,\n  \"sizeBytes\": -9007199254740991,\n  \"createdAt\": \"2026-11-04T10:00:00.000Z\",\n  \"sentAt\": \"2026-11-04T10:00:00.000Z\",\n  \"expiresAt\": \"2026-11-04T10:00:00.000Z\",\n  \"completedAt\": \"2026-11-04T10:00:00.000Z\",\n  \"voidedAt\": \"2026-11-04T10:00:00.000Z\",\n  \"voidReason\": \"voidReason\",\n  \"reminderCadenceHours\": -9007199254740991,\n  \"signedDocumentAvailable\": true,\n  \"signers\": [\n    {\n      \"id\": \"id\",\n      \"name\": \"name\",\n      \"email\": \"email\",\n      \"role\": \"role\",\n      \"sequence\": -9007199254740991,\n      \"status\": \"pending\",\n      \"sentAt\": \"2026-11-04T10:00:00.000Z\",\n      \"viewedAt\": \"2026-11-04T10:00:00.000Z\",\n      \"signedAt\": \"2026-11-04T10:00:00.000Z\",\n      \"declinedAt\": \"2026-11-04T10:00:00.000Z\",\n      \"declinedReason\": \"declinedReason\",\n      \"verificationMethod\": \"none\"\n    }\n  ]\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "One request with its status and each signer: whether they were asked, opened it, signed or declined, and when. A request past its expiry reads as expired.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "One request with its status and each signer: whether they were asked, opened it, signed or declined, and when. A request past its expiry reads as expired.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "One request with its status and each signer: whether they were asked, opened it, signed or declined, and when. A request past its expiry reads as expired.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "One request with its status and each signer: whether they were asked, opened it, signed or declined, and when. A request past its expiry reads as expired.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "One request with its status and each signer: whether they were asked, opened it, signed or declined, and when. A request past its expiry reads as expired.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "One request with its status and each signer: whether they were asked, opened it, signed or declined, and when. A request past its expiry reads as expired.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "One request with its status and each signer: whether they were asked, opened it, signed or declined, and when. A request past its expiry reads as expired.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "One request with its status and each signer: whether they were asked, opened it, signed or declined, and when. A request past its expiry reads as expired.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "One request with its status and each signer: whether they were asked, opened it, signed or declined, and when. A request past its expiry reads as expired.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "One request with its status and each signer: whether they were asked, opened it, signed or declined, and when. A request past its expiry reads as expired.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Get the timeline of a request",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/signature-requests/:requestId/timeline",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "signature-requests",
                ":requestId",
                "timeline"
              ],
              "variable": [
                {
                  "key": "requestId",
                  "value": "cm3x8k2f10010",
                  "description": "The signature request id."
                }
              ]
            },
            "description": "What happened to the request, in order: created, sent, opened, signed, reminded, declined, voided, expired or completed, with the time and the person. The chain field says whether the hash chain of the trail still verifies.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/timeline\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/timeline",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "timeline"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "What happened to the request, in order: created, sent, opened, signed, reminded, declined, voided, expired or completed, with the time and the person. The chain field says whether the hash chain of the trail still verifies.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/timeline\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"chain\": {\n    \"valid\": true,\n    \"brokenAt\": \"brokenAt\"\n  },\n  \"events\": [\n    {\n      \"id\": \"id\",\n      \"kind\": \"signed\",\n      \"at\": \"2026-11-04T10:00:00.000Z\",\n      \"actorKind\": \"sender\",\n      \"actorName\": \"actorName\",\n      \"signerName\": \"signerName\",\n      \"reason\": \"reason\",\n      \"hash\": \"hash\"\n    }\n  ]\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/timeline",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "timeline"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "What happened to the request, in order: created, sent, opened, signed, reminded, declined, voided, expired or completed, with the time and the person. The chain field says whether the hash chain of the trail still verifies.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/timeline\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/timeline",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "timeline"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "What happened to the request, in order: created, sent, opened, signed, reminded, declined, voided, expired or completed, with the time and the person. The chain field says whether the hash chain of the trail still verifies.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/timeline\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/timeline",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "timeline"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "What happened to the request, in order: created, sent, opened, signed, reminded, declined, voided, expired or completed, with the time and the person. The chain field says whether the hash chain of the trail still verifies.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/timeline\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/timeline",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "timeline"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "What happened to the request, in order: created, sent, opened, signed, reminded, declined, voided, expired or completed, with the time and the person. The chain field says whether the hash chain of the trail still verifies.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/timeline\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/timeline",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "timeline"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "What happened to the request, in order: created, sent, opened, signed, reminded, declined, voided, expired or completed, with the time and the person. The chain field says whether the hash chain of the trail still verifies.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/timeline\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/timeline",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "timeline"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "What happened to the request, in order: created, sent, opened, signed, reminded, declined, voided, expired or completed, with the time and the person. The chain field says whether the hash chain of the trail still verifies.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/timeline\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/timeline",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "timeline"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "What happened to the request, in order: created, sent, opened, signed, reminded, declined, voided, expired or completed, with the time and the person. The chain field says whether the hash chain of the trail still verifies.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/timeline\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/timeline",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "timeline"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "What happened to the request, in order: created, sent, opened, signed, reminded, declined, voided, expired or completed, with the time and the person. The chain field says whether the hash chain of the trail still verifies.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/timeline\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/timeline",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "timeline"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "What happened to the request, in order: created, sent, opened, signed, reminded, declined, voided, expired or completed, with the time and the person. The chain field says whether the hash chain of the trail still verifies.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/timeline\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/timeline",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "timeline"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "What happened to the request, in order: created, sent, opened, signed, reminded, declined, voided, expired or completed, with the time and the person. The chain field says whether the hash chain of the trail still verifies.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/timeline\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Send a draft",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{$guid}}",
                "type": "text",
                "description": "A new value for each new request. Repeat it only to retry the same request."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "signature-requests",
                ":requestId",
                "send"
              ],
              "variable": [
                {
                  "key": "requestId",
                  "value": "cm3x8k2f10010",
                  "description": "The signature request id."
                }
              ]
            },
            "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"sent\",\n  \"emailsQueued\": -9007199254740991\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "400 idempotency_key_invalid",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"idempotency_key_invalid\",\n  \"message\": \"The Idempotency-Key is not 1 to 255 visible ASCII characters.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 signatures.exhausted",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"signatures.exhausted\",\n  \"message\": \"The account has used its signature requests for this period.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 forbidden",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"forbidden\",\n  \"message\": \"The person who owns the key may read this signature request or workflow but not change it.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 idempotency_in_progress",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"idempotency_in_progress\",\n  \"message\": \"A request with the same Idempotency-Key is still running.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 signature.not_draft",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"signature.not_draft\",\n  \"message\": \"The signature request was already sent, so it cannot be sent again.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "422 idempotency_key_reused",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 422,\n  \"error\": \"idempotency_key_reused\",\n  \"message\": \"The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{$guid}}",
                    "type": "text",
                    "description": "A new value for each new request. Repeat it only to retry the same request."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/send",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "send"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "Sends a draft request: one signature request of the plan allowance is spent, the signers whose turn it is are emailed, and the signature.request_sent event is raised. Only the sender, or an owner or admin for an account-wide request, can send it.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/send\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 400 | idempotency_key_invalid | The Idempotency-Key is not 1 to 255 visible ASCII characters. | Send a UUID, or any value of 1 to 255 letters, digits and punctuation marks, with no spaces. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 402 | signatures.exhausted | The account has used its signature requests for this period. The details give the limit, the amount used, the amount a bulk send needed and when the period resets. | Wait for the reset time in the details, send fewer requests, or upgrade the plan. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. | Wait a moment and send the same request with the same key again. It returns the first answer once that one finishes. |\n| 409 | signature.not_draft | The signature request was already sent, so it cannot be sent again. | Read the request with GET /v1/signature-requests/{requestId}. Use remind to nudge signers or void to cancel it. |\n| 422 | idempotency_key_reused | The Idempotency-Key was already used with a different request, so the first answer is not the answer to this one. | Send a new Idempotency-Key for a new request. Repeat the key only to retry the exact same request. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Remind the signers",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/signature-requests/:requestId/remind",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "signature-requests",
                ":requestId",
                "remind"
              ],
              "variable": [
                {
                  "key": "requestId",
                  "value": "cm3x8k2f10010",
                  "description": "The signature request id."
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"signerId\": \"signerId\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Asks the signers whose turn it is to sign again. Each gets a new link and the old one stops working. A signer waiting for an earlier signer is not reminded.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/remind\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/remind",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "remind"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"signerId\": \"signerId\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks the signers whose turn it is to sign again. Each gets a new link and the old one stops working. A signer waiting for an earlier signer is not reminded.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/remind\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"remindersSent\": -9007199254740991,\n  \"emailsQueued\": -9007199254740991\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/remind",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "remind"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"signerId\": \"signerId\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks the signers whose turn it is to sign again. Each gets a new link and the old one stops working. A signer waiting for an earlier signer is not reminded.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/remind\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/remind",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "remind"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"signerId\": \"signerId\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks the signers whose turn it is to sign again. Each gets a new link and the old one stops working. A signer waiting for an earlier signer is not reminded.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/remind\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/remind",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "remind"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"signerId\": \"signerId\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks the signers whose turn it is to sign again. Each gets a new link and the old one stops working. A signer waiting for an earlier signer is not reminded.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/remind\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/remind",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "remind"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"signerId\": \"signerId\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks the signers whose turn it is to sign again. Each gets a new link and the old one stops working. A signer waiting for an earlier signer is not reminded.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/remind\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/remind",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "remind"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"signerId\": \"signerId\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks the signers whose turn it is to sign again. Each gets a new link and the old one stops working. A signer waiting for an earlier signer is not reminded.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/remind\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/remind",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "remind"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"signerId\": \"signerId\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks the signers whose turn it is to sign again. Each gets a new link and the old one stops working. A signer waiting for an earlier signer is not reminded.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/remind\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/remind",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "remind"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"signerId\": \"signerId\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks the signers whose turn it is to sign again. Each gets a new link and the old one stops working. A signer waiting for an earlier signer is not reminded.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/remind\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 forbidden",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/remind",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "remind"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"signerId\": \"signerId\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks the signers whose turn it is to sign again. Each gets a new link and the old one stops working. A signer waiting for an earlier signer is not reminded.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/remind\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"forbidden\",\n  \"message\": \"The person who owns the key may read this signature request or workflow but not change it.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/remind",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "remind"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"signerId\": \"signerId\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks the signers whose turn it is to sign again. Each gets a new link and the old one stops working. A signer waiting for an earlier signer is not reminded.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/remind\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 signature.not_open",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/remind",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "remind"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"signerId\": \"signerId\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks the signers whose turn it is to sign again. Each gets a new link and the old one stops working. A signer waiting for an earlier signer is not reminded.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/remind\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"signature.not_open\",\n  \"message\": \"The signature request is complete, voided, expired or otherwise no longer waiting for signatures.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 payload_too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/remind",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "remind"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"signerId\": \"signerId\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks the signers whose turn it is to sign again. Each gets a new link and the old one stops working. A signer waiting for an earlier signer is not reminded.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/remind\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"payload_too_large\",\n  \"message\": \"A JSON body is larger than 1 MB.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 unsupported_media_type",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/remind",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "remind"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"signerId\": \"signerId\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks the signers whose turn it is to sign again. Each gets a new link and the old one stops working. A signer waiting for an earlier signer is not reminded.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/remind\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"unsupported_media_type\",\n  \"message\": \"The body has a content type the route does not read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/remind",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "remind"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"signerId\": \"signerId\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks the signers whose turn it is to sign again. Each gets a new link and the old one stops working. A signer waiting for an earlier signer is not reminded.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/remind\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/remind",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "remind"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"signerId\": \"signerId\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks the signers whose turn it is to sign again. Each gets a new link and the old one stops working. A signer waiting for an earlier signer is not reminded.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/remind\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/remind",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "remind"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"signerId\": \"signerId\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Asks the signers whose turn it is to sign again. Each gets a new link and the old one stops working. A signer waiting for an earlier signer is not reminded.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/remind\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Void a request",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/signature-requests/:requestId/void",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "signature-requests",
                ":requestId",
                "void"
              ],
              "variable": [
                {
                  "key": "requestId",
                  "value": "cm3x8k2f10010",
                  "description": "The signature request id."
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"reason\": \"reason\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Cancels a request that is not complete. The signers who were asked are told, their links stop working, and the signature.voided event is raised. A completed request cannot be voided.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/void\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/void",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "void"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"reason\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Cancels a request that is not complete. The signers who were asked are told, their links stop working, and the signature.voided event is raised. A completed request cannot be voided.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/void\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"status\": \"voided\"\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/void",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "void"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"reason\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Cancels a request that is not complete. The signers who were asked are told, their links stop working, and the signature.voided event is raised. A completed request cannot be voided.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/void\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/void",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "void"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"reason\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Cancels a request that is not complete. The signers who were asked are told, their links stop working, and the signature.voided event is raised. A completed request cannot be voided.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/void\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/void",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "void"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"reason\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Cancels a request that is not complete. The signers who were asked are told, their links stop working, and the signature.voided event is raised. A completed request cannot be voided.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/void\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/void",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "void"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"reason\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Cancels a request that is not complete. The signers who were asked are told, their links stop working, and the signature.voided event is raised. A completed request cannot be voided.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/void\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/void",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "void"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"reason\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Cancels a request that is not complete. The signers who were asked are told, their links stop working, and the signature.voided event is raised. A completed request cannot be voided.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/void\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/void",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "void"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"reason\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Cancels a request that is not complete. The signers who were asked are told, their links stop working, and the signature.voided event is raised. A completed request cannot be voided.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/void\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 read_only",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/void",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "void"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"reason\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Cancels a request that is not complete. The signers who were asked are told, their links stop working, and the signature.voided event is raised. A completed request cannot be voided.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/void\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"read_only\",\n  \"message\": \"The person who owns the key has read only access to the account, so a call that changes data is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 forbidden",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/void",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "void"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"reason\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Cancels a request that is not complete. The signers who were asked are told, their links stop working, and the signature.voided event is raised. A completed request cannot be voided.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/void\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"forbidden\",\n  \"message\": \"The person who owns the key may read this signature request or workflow but not change it.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/void",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "void"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"reason\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Cancels a request that is not complete. The signers who were asked are told, their links stop working, and the signature.voided event is raised. A completed request cannot be voided.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/void\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 signature.not_open",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/void",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "void"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"reason\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Cancels a request that is not complete. The signers who were asked are told, their links stop working, and the signature.voided event is raised. A completed request cannot be voided.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/void\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"signature.not_open\",\n  \"message\": \"The signature request is complete, voided, expired or otherwise no longer waiting for signatures.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "413 payload_too_large",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/void",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "void"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"reason\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Cancels a request that is not complete. The signers who were asked are told, their links stop working, and the signature.voided event is raised. A completed request cannot be voided.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/void\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payload Too Large",
              "code": 413,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 413,\n  \"error\": \"payload_too_large\",\n  \"message\": \"A JSON body is larger than 1 MB.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "415 unsupported_media_type",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/void",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "void"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"reason\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Cancels a request that is not complete. The signers who were asked are told, their links stop working, and the signature.voided event is raised. A completed request cannot be voided.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/void\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unsupported Media Type",
              "code": 415,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 415,\n  \"error\": \"unsupported_media_type\",\n  \"message\": \"The body has a content type the route does not read.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/void",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "void"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"reason\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Cancels a request that is not complete. The signers who were asked are told, their links stop working, and the signature.voided event is raised. A completed request cannot be voided.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/void\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/void",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "void"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"reason\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Cancels a request that is not complete. The signers who were asked are told, their links stop working, and the signature.voided event is raised. A completed request cannot be voided.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/void\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/void",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "void"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"reason\": \"reason\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Cancels a request that is not complete. The signers who were asked are told, their links stop working, and the signature.voided event is raised. A completed request cannot be voided.\n\nScope: signatures:send\nEndpoint: POST /v1/signature-requests/{requestId}/void\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 403 | read_only | The person who owns the key has read only access to the account, so a call that changes data is refused. | Ask an owner or admin to give that person write access, or use a key owned by someone who has it. |\n| 403 | forbidden | The person who owns the key may read this signature request or workflow but not change it. Only the sender or maker, or an owner or admin, can. | Use a key owned by the sender or maker, or by an owner or admin of the account. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_open | The signature request is complete, voided, expired or otherwise no longer waiting for signatures. | Read the status of the request. Make a new request if the document still needs signatures. |\n| 413 | payload_too_large | A JSON body is larger than 1 MB. Files never travel as JSON. | Send less in one call. Upload a file with POST /v1/files and refer to it by its id. |\n| 415 | unsupported_media_type | The body has a content type the route does not read. Routes read JSON; only POST /v1/files reads file bytes. | Send Content-Type: application/json with a JSON body, or send a file only to POST /v1/files. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Download the signed document",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/signature-requests/:requestId/signed-document",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "signature-requests",
                ":requestId",
                "signed-document"
              ],
              "variable": [
                {
                  "key": "requestId",
                  "value": "cm3x8k2f10010",
                  "description": "The signature request id."
                }
              ]
            },
            "description": "A signed link to the signed PDF of a completed request, valid for five minutes. Until every signer has signed the answer is signature.not_completed.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/signed-document\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/signed-document",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "signed-document"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the signed PDF of a completed request, valid for five minutes. Until every signer has signed the answer is signature.not_completed.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/signed-document\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"url\": \"https://example.com/file\",\n  \"expiresInSeconds\": 300\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/signed-document",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "signed-document"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the signed PDF of a completed request, valid for five minutes. Until every signer has signed the answer is signature.not_completed.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/signed-document\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/signed-document",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "signed-document"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the signed PDF of a completed request, valid for five minutes. Until every signer has signed the answer is signature.not_completed.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/signed-document\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/signed-document",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "signed-document"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the signed PDF of a completed request, valid for five minutes. Until every signer has signed the answer is signature.not_completed.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/signed-document\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/signed-document",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "signed-document"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the signed PDF of a completed request, valid for five minutes. Until every signer has signed the answer is signature.not_completed.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/signed-document\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/signed-document",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "signed-document"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the signed PDF of a completed request, valid for five minutes. Until every signer has signed the answer is signature.not_completed.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/signed-document\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/signed-document",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "signed-document"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the signed PDF of a completed request, valid for five minutes. Until every signer has signed the answer is signature.not_completed.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/signed-document\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/signed-document",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "signed-document"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the signed PDF of a completed request, valid for five minutes. Until every signer has signed the answer is signature.not_completed.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/signed-document\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 signature.not_completed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/signed-document",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "signed-document"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the signed PDF of a completed request, valid for five minutes. Until every signer has signed the answer is signature.not_completed.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/signed-document\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"signature.not_completed\",\n  \"message\": \"The signed document and the certificate are made when every signer has signed, and that has not happened yet.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/signed-document",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "signed-document"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the signed PDF of a completed request, valid for five minutes. Until every signer has signed the answer is signature.not_completed.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/signed-document\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/signed-document",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "signed-document"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the signed PDF of a completed request, valid for five minutes. Until every signer has signed the answer is signature.not_completed.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/signed-document\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/signed-document",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "signed-document"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the signed PDF of a completed request, valid for five minutes. Until every signer has signed the answer is signature.not_completed.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/signed-document\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        },
        {
          "name": "Download the completion certificate",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/signature-requests/:requestId/certificate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "signature-requests",
                ":requestId",
                "certificate"
              ],
              "variable": [
                {
                  "key": "requestId",
                  "value": "cm3x8k2f10010",
                  "description": "The signature request id."
                }
              ]
            },
            "description": "A signed link to the completion certificate of a completed request: who signed, when, from where, and the root of the trail. Valid for five minutes.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/certificate\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
          },
          "response": [
            {
              "name": "200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/certificate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "certificate"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the completion certificate of a completed request: who signed, when, from where, and the root of the trail. Valid for five minutes.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/certificate\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"url\": \"https://example.com/file\",\n  \"expiresInSeconds\": 300\n}"
            },
            {
              "name": "400 validation_failed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/certificate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "certificate"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the completion certificate of a completed request: who signed, when, from where, and the root of the trail. Valid for five minutes.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/certificate\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 400,\n  \"error\": \"validation_failed\",\n  \"message\": \"The request body, a query value or a path value is not valid.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 invalid_api_key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/certificate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "certificate"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the completion certificate of a completed request: who signed, when, from where, and the root of the trail. Valid for five minutes.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/certificate\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"invalid_api_key\",\n  \"message\": \"The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_revoked",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/certificate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "certificate"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the completion certificate of a completed request: who signed, when, from where, and the root of the trail. Valid for five minutes.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/certificate\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_revoked\",\n  \"message\": \"The key was revoked, so every call with it is refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "401 api_key_expired",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/certificate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "certificate"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the completion certificate of a completed request: who signed, when, from where, and the root of the trail. Valid for five minutes.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/certificate\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 401,\n  \"error\": \"api_key_expired\",\n  \"message\": \"The key passed its expiry date.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "402 plan_required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/certificate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "certificate"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the completion certificate of a completed request: who signed, when, from where, and the root of the trail. Valid for five minutes.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/certificate\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Payment Required",
              "code": 402,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 402,\n  \"error\": \"plan_required\",\n  \"message\": \"The account plan does not include the public API.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "403 insufficient_scope",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/certificate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "certificate"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the completion certificate of a completed request: who signed, when, from where, and the root of the trail. Valid for five minutes.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/certificate\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 403,\n  \"error\": \"insufficient_scope\",\n  \"message\": \"The key does not hold the scope this call needs.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "404 not_found",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/certificate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "certificate"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the completion certificate of a completed request: who signed, when, from where, and the root of the trail. Valid for five minutes.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/certificate\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 404,\n  \"error\": \"not_found\",\n  \"message\": \"There is no such tool, run, file, document, endpoint, signature request or template in this account.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "409 signature.not_completed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/certificate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "certificate"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the completion certificate of a completed request: who signed, when, from where, and the root of the trail. Valid for five minutes.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/certificate\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 409,\n  \"error\": \"signature.not_completed\",\n  \"message\": \"The signed document and the certificate are made when every signer has signed, and that has not happened yet.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "429 rate_limited",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/certificate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "certificate"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the completion certificate of a completed request: who signed, when, from where, and the root of the trail. Valid for five minutes.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/certificate\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 429,\n  \"error\": \"rate_limited\",\n  \"message\": \"The key made more calls in a minute than its limit allows, or too many calls with a key that was refused.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "500 internal_error",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/certificate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "certificate"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the completion certificate of a completed request: who signed, when, from where, and the root of the trail. Valid for five minutes.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/certificate\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 500,\n  \"error\": \"internal_error\",\n  \"message\": \"Something went wrong on the PDF Loft side.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            },
            {
              "name": "503 service.unavailable",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/signature-requests/:requestId/certificate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "signature-requests",
                    ":requestId",
                    "certificate"
                  ],
                  "variable": [
                    {
                      "key": "requestId",
                      "value": "cm3x8k2f10010",
                      "description": "The signature request id."
                    }
                  ]
                },
                "description": "A signed link to the completion certificate of a completed request: who signed, when, from where, and the root of the trail. Valid for five minutes.\n\nScope: signatures:read\nEndpoint: GET /v1/signature-requests/{requestId}/certificate\n\nFailures\n\n| Status | Code | Meaning | Fix |\n| --- | --- | --- | --- |\n| 400 | validation_failed | The request body, a query value or a path value is not valid. The fields array names each invalid input and the reason. A file that contains a virus is refused with status 422 and this code. | Read the fields array, correct each named input and send the request again. Do not retry the same request unchanged. |\n| 401 | invalid_api_key | The key is missing, malformed or unknown, or the person who made it is no longer an owner or admin of the account. | Send the key as Authorization: Bearer pl_live_... exactly as it was shown when it was made. If it was lost, make a new key in Settings, Developers. |\n| 401 | api_key_revoked | The key was revoked, so every call with it is refused. | Make a new key in Settings, Developers and replace the revoked one in your secret store. |\n| 401 | api_key_expired | The key passed its expiry date. | Make a new key in Settings, Developers, with a later expiry or none, and replace the old one. |\n| 402 | plan_required | The account plan does not include the public API. The API is included in the Team plan and above. | Upgrade the account in Settings, Billing, then repeat the call with the same key. |\n| 403 | insufficient_scope | The key does not hold the scope this call needs. The details name the scope in required. | Make a key that holds the scope named in details.required. A scope cannot be added to an existing key. |\n| 404 | not_found | There is no such tool, run, file, document, endpoint, signature request or template in this account. A resource of another account is never revealed, so it looks the same as one that does not exist. | Check the id, and that the key belongs to the account that owns the resource. Uploaded files that no run used are deleted after ten minutes. |\n| 409 | signature.not_completed | The signed document and the certificate are made when every signer has signed, and that has not happened yet. | Wait for the signature.completed webhook, or poll the request until its status is completed, then download. |\n| 429 | rate_limited | The key made more calls in a minute than its limit allows, or too many calls with a key that was refused. The details give the limit and retryAfterSeconds. | Wait for the number of seconds in the Retry-After header, then continue. Spread calls out, and read the X-RateLimit-Remaining header to slow down before the limit. |\n| 500 | internal_error | Something went wrong on the PDF Loft side. | Retry once. If it repeats, quote the requestId (also the X-Request-Id header) to support. |\n| 503 | service.unavailable | The API, storage or the virus scanner is not available right now. | Try again after a short wait, with exponential backoff, using the same Idempotency-Key. |"
              },
              "status": "Service Unavailable",
              "code": 503,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"statusCode\": 503,\n  \"error\": \"service.unavailable\",\n  \"message\": \"The API, storage or the virus scanner is not available right now.\",\n  \"requestId\": \"5b6c0c88-6d06-4a62-9a0e-6c3c3e1b9b0e\"\n}"
            }
          ]
        }
      ]
    }
  ]
}
