List attachments
List the attachments on one or more applications. Pass application_id (with an attachment_type) for a single application, or application_ids (comma-separated) for several.
Authorizations
Your Leap API key. Send it in the x-api-key header: x-api-key: leap_live_....
Query Parameters
Application ID to list attachments for. Requires attachment_type parameter.
Comma-separated list of application IDs for bulk listing. attachment_type is optional.
Filter by attachment type. Required when using application_id.
INVOICE_EQUIPMENT, INVOICE_INSTALL, PERMIT, PHOTO_NAMEPLATE, PHOTO_INSTALL, PHOTO_METER, AHRI_CERT, NEAT_REPORT, INCOME_FORM, W9, OTHER, VEHICLE_PURCHASE, UTILITY_BILL, VEHICLE_REGISTRATION, SIGNATURE, TARIFF_CONFIRMATION Response
Successfully retrieved attachments
Unique identifier for the attachment
456
ID of the application this attachment belongs to
123
Type of attachment
INVOICE_EQUIPMENT, INVOICE_INSTALL, PERMIT, PHOTO_NAMEPLATE, PHOTO_INSTALL, PHOTO_METER, AHRI_CERT, NEAT_REPORT, INCOME_FORM, W9, OTHER, MODEL_TECH_SPECS, VEHICLE_PURCHASE, UTILITY_BILL, VEHICLE_REGISTRATION, SIGNATURE, TARIFF_CONFIRMATION "INVOICE_EQUIPMENT"
Original filename
"invoice.pdf"
Storage path of the file
"app-123/a1b2c3d4-e5f6-7890-abcd-ef1234567890-invoice.pdf"
MIME type of the file
"application/pdf"
File size in bytes
245760
Timestamp when attachment was created
"2025-01-10T10:00:00Z"
Timestamp when attachment was last updated
"2025-01-15T14:30:00Z"