curl --request GET \
--url https://api.hyperline.co/v1/files \
--header 'Authorization: Bearer <token>'{
"meta": {
"total": 1,
"taken": 1,
"skipped": 0,
"approximateCount": false
},
"data": [
{
"id": "fil_2QdJDDUej969ev",
"name": "invoice_2024.pdf",
"type": "pdf",
"mimetype": "application/pdf",
"customer_id": "cus_QalW2vTAdkR6IY",
"created_at": "2024-11-12T07:38:39.222Z"
}
]
}Retrieve existing files.
curl --request GET \
--url https://api.hyperline.co/v1/files \
--header 'Authorization: Bearer <token>'{
"meta": {
"total": 1,
"taken": 1,
"skipped": 0,
"approximateCount": false
},
"data": [
{
"id": "fil_2QdJDDUej969ev",
"name": "invoice_2024.pdf",
"type": "pdf",
"mimetype": "application/pdf",
"customer_id": "cus_QalW2vTAdkR6IY",
"created_at": "2024-11-12T07:38:39.222Z"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
0 <= x <= 100x >= 0List of File.
Show child attributes
File ID.
"fil_2QdJDDUej969ev"
File name.
"invoice_2024.pdf"
File type based on the MIME type.
Supported file types:
pdf: PDF documentsdoc: Microsoft Word documents (legacy)docx: Microsoft Word documentsxls: Microsoft Excel spreadsheets (legacy)xlsx: Microsoft Excel spreadsheetsppt: Microsoft PowerPoint presentations (legacy)pptx: Microsoft PowerPoint presentationstxt: Plain text filescsv: Comma-separated values filesjpeg: JPEG imagespng: PNG imagesgif: GIF imagessvg: SVG vector imagesjson: JSON data filesxml: XML data filespdf, doc, docx, xls, xlsx, ppt, pptx, txt, csv, jpeg, png, gif, svg, json, xml "pdf"
MIME type of the file.
"application/pdf"
ID of the customer linked to the file.
"cus_QalW2vTAdkR6IY"
Date when the file was created.
"2024-11-12T07:38:39.222Z"
Was this page helpful?