Skip to main content
GET
Get invoice PDF access

Authorizations

Authorization
string
header
required

Authorization header using the Bearer scheme. Accepted values are Leadping user JWT access tokens and WorkOS organization API keys beginning with sk_.

Path Parameters

invoiceId
string
required

The Stripe invoice identifier whose PDF should be accessed.

Query Parameters

download
boolean

Whether the secure URL should download the PDF instead of displaying it inline.

Response

OK

Short-lived access details for a private Leadping invoice PDF.

url
string<uri>

Short-lived URL that can be used to download the invoice PDF.

expiresAt
string<date-time>

Date and time after which the download URL is no longer valid.