Skip to main content
GET
/
orgs
/
{org_id}
/
files
List Files
curl --request GET \
  --url https://api.useinvent.com/orgs/{org_id}/files
[
  {
    "id": "<string>",
    "file_path": "<string>",
    "file_filename": "document.pdf",
    "file_size": 1024,
    "file_mimetype": "application/pdf",
    "file_url": "<string>",
    "created_at": "2023-11-07T05:31:56Z"
  }
]

Path Parameters

org_id
string
required

The ID of the org

Query Parameters

page
number

Page number

take
number

Number of items to take

next
string

Next page token (Only used on special endpoints)

Response

200 - application/json
id
string
required

Unique identifier for the file

file_path
string
required

Path to the file in the storage system

Maximum string length: 2048
file_filename
string
required

Name of the file

Maximum string length: 255
Example:

"document.pdf"

file_size
number
required

Size of the file in bytes

Example:

1024

file_mimetype
string
required

MIME type of the file

Maximum string length: 255
Example:

"application/pdf"

file_url
string
required

URL to access the file

Maximum string length: 2048
created_at
string<date-time> | null
required

Timestamp when the file was created