List Invoices
GET /api/mollie/invoices
List Invoices
GET /api/mollie/invoices
Lists all invoices for the organization (Mollie).
Example (cURL)
BASE_URL="https://uptimeify.io"
TOKEN="<your-api-token>"
curl -X GET \
"$BASE_URL/api/mollie/invoices" \
-H "Authorization: Bearer $TOKEN" \
-H "Accept: application/json"
Notes:
- The organization is derived automatically from your authenticated session or API token.
- The legacy route
GET /api/organizations/:organizationPublicId/mollie/invoicesremains supported for compatibility. - The
pdfUrlvalues in the response use the org-less download route/api/invoices/:invoiceId/pdf. - Global admins need an active organization context in the authenticated session for the org-less route.
Response
{
"invoices": [
{
"id": "inv_123456",
"reference": "INV-2024-001",
"status": "paid",
"issuedAt": "2024-01-15T10:00:00.000Z",
"netAmount": {
"value": "29.99",
"currency": "EUR"
},
"pdfUrl": "/api/invoices/inv_123456/pdf"
},
{
"id": "inv_123455",
"reference": "INV-2023-128",
"status": "paid",
"issuedAt": "2023-12-15T10:00:00.000Z",
"netAmount": {
"value": "29.99",
"currency": "EUR"
},
"pdfUrl": "/api/invoices/inv_123455/pdf"
}
]
}
Common errors
400 Organization ID is required in the authenticated sessionwhen no organization can be derived from the current session/token401 Unauthorizedwhen you are not logged in403 Not authorizedwhen you cannot access the organization