Skip to main content
GET
/
v1
/
invoices
/
{invoiceId}
/
pdf
Get invoice PDF
curl --request GET \
  --url https://app.blinksale.test/api/v1/invoices/{invoiceId}/pdf \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "PDF URL retrieved successfully",
  "data": {
    "url": "https://app.blinksale.com/storage/pdf/invoices/01jtdvk0x6b15czqzggns2nvf1.pdf"
  }
}

Authorizations

Authorization
string
header
required

Access token obtained from the /v1/auth/login endpoint

Path Parameters

invoiceId
string<uuid>
required

The ID of the invoice

Response

PDF URL retrieved successfully

success
boolean
Example:

true

message
string
Example:

"PDF URL retrieved successfully"

data
object