Zum Hauptinhalt springen

Request an Access Token for the Invoice file

GET/customers/{customerId}/invoices/{invoiceId}/file-access-token/
v2
GET
invoice-get-file-access-token

Request

  • customerIdstring
    required
    Beispiel:"edefeee4-e8e9-4e2d-ab95-9a2eb6104cfb"
  • invoiceIdstring (uuid)
    required
    Beispiel:"154219e9-bf4a-4f41-9c72-0449a98db62f"

Responses

application/json

The File Access Token required to access the Invoice file.

  • accessTokenstring
    required
  • expiresAtstring (date-time)
    required

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/customers/string/invoices/f0f86186-0a5a-45b2-aa33-502777496347/file-access-token