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>"
}Get a signed URL to access the invoice file from Google Cloud Storage. The URL is valid for 7 days.
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>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Invoice ID
Signed URL to access the invoice file. Valid for 7 days.
The unique identifier of the entity.
The date and time the entity was created.
The date and time the entity was last updated.
MIME type of the invoice file. (e.g., application/pdf, image/png)
Was this page helpful?