Skip to main content
GET
/
v1
/
invoice
/
{id}
/
file-url
Get invoice file URL
curl --request GET \
  --url http://localhost:3001/v1/invoice/{id}/file-url \
  --header 'Authorization: Bearer <token>'
{
  "url": "<string>",
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "mimeType": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Invoice ID

Response

200 - application/json
url
string
required

Signed URL to access the invoice file. Valid for 7 days.

id
string

The unique identifier of the entity.

createdAt
string<date-time>

The date and time the entity was created.

updatedAt
string<date-time>

The date and time the entity was last updated.

mimeType
string

MIME type of the invoice file. (e.g., application/pdf, image/png)