cURL
curl --request GET \ --url http://localhost:3001/v1/invoice/{id}/file-url \ --header 'Authorization: Bearer <token>'
{ "url": "<string>", "mimeType": "<string>" }
Get a signed URL to access the invoice file from Google Cloud Storage. The URL is valid for 7 days.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Invoice ID
Signed URL and MIME type for the invoice file
Signed URL to access the invoice file. Valid for 7 days.
MIME type of the invoice file (e.g., application/pdf, image/png)
Was this page helpful?