Steerd API
Documents

List documents

GET
/api/public/v1/documents
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"
uploaded_by?string
month?string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/public/v1/documents"
{  "data": [    {      "category": "contract",      "created_at": "string",      "created_by": "string",      "filename": "string",      "id": "string",      "mime": "string",      "size": 0    }  ],  "page": {    "hasMore": true,    "nextCursor": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}