Files
List files
Authorization
apiKey AuthorizationBearer <token>
In: header
Query Parameters
limit?string
cursor?string
sort?string
order?string
Value in
- "asc"
- "desc"
category?string
Value in
- "contract"
- "nda"
- "employee_agreement"
- "job_reference"
- "other"
- "outgoing_invoice"
- "timesheet"
- "incoming_invoice"
- "expense"
- "travel_report"
- "e_invoice"
uploaded_by?string
month?string
q?string
Length
length <= 100Response Body
application/json
application/json
curl -X GET "https://example.com/api/public/v1/files"{ "data": [ { "category": "contract", "created_at": "string", "created_by": "string", "filename": "string", "id": "string", "mime": "string", "size": 0 } ], "page": { "hasMore": true, "nextCursor": "string" }}{ "detail": { "property1": "string", "property2": "string" }, "error": { "code": "string", "current": 0, "feature": "api_access", "limit": 0, "message": "string", "plan": "free", "resource": "projects", "upgrade_to": "free" }}Submit a captured thread for review POST
Accepts a capture from the browser extension and returns the pending review item, building a proposed project mapping from it. Deduplicated on (team, source, external_id): a repeat capture of the same thread returns the existing item with 200 rather than creating another, so the extension can retry safely.
Upload a file POST
multipart/form-data with one `file` part and an optional `category`. The bytes are encrypted at rest. Honors `Idempotency-Key`: a retry with the same key and the same file replays the original response; the same key with a different file returns 422. Max 25 MB.