GET
/
files
curl --request GET \
  --url https://base_url/api/v1/files \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "files": [
      {
        "id": "<string>",
        "name": "example.pdf",
        "size": 102400,
        "corporation_id": "<string>",
        "created_at": 1727284490
      }
    ],
    "cursor": "<string>",
    "total_files": 123
  },
  "message": "Successfully fetched files."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

corporation_id
string
required

The unique identifier of the corporation for which to retrieve data.

cursor
string

Cursor for pagination

limit
integer
default:
10

Number of items to return per page

Required range: 1 <= x <= 100

Response

200
application/json
List of files
data
object
message
string
Example:

"Successfully fetched files."