OrgDocuments

The org's own files

Files the org has uploaded, newest first. `folder` narrows it; today the only folder in use is `email-attachments`.

GET
/org/documents

Files the org has uploaded, newest first. folder narrows it; today the only folder in use is email-attachments.

AuthorizationBearer <token>

API key (sk_live_... prefix). Generate keys in the UI under Settings > API Keys, then send it as Authorization: Bearer sk_live_...

In: header

Query Parameters

folder?string

Which folder in the bucket to list.

Response Body

application/json

application/json

application/json

curl -X GET "https://loading/api/v1/org/documents"
{
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "folder": "string",
      "filename": "string",
      "mime_type": "string",
      "size_bytes": -9007199254740991,
      "created_at": "string"
    }
  ]
}
{
  "error": "string",
  "message": "string",
  "statusCode": -9007199254740991
}
{
  "error": "module_required",
  "module": "string",
  "message": "string",
  "contact": "string"
}