---
updatedAt: 2026-05-30T03:16:13.000Z
agentTools:
  projectIndex: https://docs.frisbii-transform.com/llms.txt
---

# Creates a file download token for the given Accounting Export File

# OpenAPI definition

```json
{
  "openapi": "3.0.4",
  "info": {
    "title": "Frisbii REST API",
    "description": "This document describes the endpoints of the Frisbii REST API. You can find out more about Frisbii <a href='https://frisbii.com/'>here</a>. <br/> <br/><b>Swagger interactive usage / authentication:</b><br />This documentation offers interactive features which will enable you to test how our system behaves. To use the interactive features you have to aquire a bearer token for your active Frisbii sandbox account. This procedure is described <a href='https://docs.frisbii-transform.com/docs/restApi/authentication'>here</a>. OAuth token URL for sandbox is <code>https://sandbox.frisbii-transform.com/oauth/token/</code>, for production <code>https://app.frisbii.com/oauth/token/</code>. Please be aware the URL does not include <code>[...]/api/v1/[...]</code>After aquiring the token you must go through the 'Authorize'-Form down below (green button). You're now able to use the interactive features. <br/>Please be aware your sandbox account will be affected trying out the endpoints!<br/> <br/> <b>Updates to API</b><br />We are constantly improving our API. We are trying to avoid breaking changes as much as possible. However, sometimes we have to make breaking changes. We will inform about breaking changes directly if these endpoints are used by your integration and grant sufficient time to react to the upcoming change. We will also inform about breaking changes in our changelog. Please be aware that we will not inform explicitly about non-breaking changes. We will <b>not inform</b> about changes in the following cases:<br/><ul><li>Adding a new enum value to a published public API endpoint is not considered a breaking change.</li><li>Adding new fields in API endpoint (request and response) is not considered a breaking change.</li></ul>Integrations need to be built in a robust way that can deal with these sorts of changes by handling responses and objects in a generic way and ignoring unexpected types, enum values, fields.</br></br></br></br>Endpoints marked with [FEATURE] is an feature discriminated endpoint. Make sure your account has this feature enabled or contact <a href=\"mailto:support@frisbii-transform.com\">support</a>.</strong>Return to <a href='https://docs.frisbii-transform.com/'>https://docs.frisbii-transform.com/</a>",
    "contact": {
      "email": "support@frisbii-transform.com"
    },
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://sandbox.billwerk.com"
    }
  ],
  "paths": {
    "/api/v1/accountingexportfiles/{fileId}/downloadlink": {
      "post": {
        "tags": [
          "Accounting Exports"
        ],
        "summary": "Creates a file download token for the given Accounting Export File",
        "operationId": "AccountingExportFiles_CreateDownloadLink_fileId_POST",
        "parameters": [
          {
            "name": "fileId",
            "in": "path",
            "description": "AccountingExport File Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileDownloadLinkDTO"
                },
                "example": {
                  "Url": "/Files/1vRmbVt13TyAqfLwXGXjxb",
                  "Expiry": "2026-10-04T02:24:39.9813336Z"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiMessage"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ApiMessage": {
        "type": "object",
        "properties": {
          "Message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a message returned by the API."
      },
      "FileDownloadLinkDTO": {
        "type": "object",
        "properties": {
          "Url": {
            "type": "string",
            "description": "URL",
            "nullable": true
          },
          "Expiry": {
            "type": "string",
            "description": "Expiry date",
            "format": "date-time"
          },
          "Filename": {
            "type": "string",
            "description": "Optional - Name of the file",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "type": "apiKey",
        "description": "Fill in your acquired bearer token here, must be like 'Bearer TOKEN_HERE'",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    }
  ]
}
```