Skip to main content
GET
/
api
/
documents
List Documents
curl --request GET \
  --url https://api.example.com/api/documents/ \
  --cookie sessionid=
{
  "count": 123,
  "results": [
    {
      "id": 123,
      "check": 123,
      "file": "<string>",
      "original_name": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "case": 123,
      "customer": 123,
      "delete_after": -1
    }
  ],
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}

Authorizations

sessionid
string
cookie
required

Query Parameters

case_id
integer

Filter by case ID

check_id
integer

Filter by check ID

customer_id
integer

Filter by customer ID

page
integer

A page number within the paginated result set.

page_size
integer

Number of results to return per page.

Response

200 - application/json
count
integer
required
Example:

123

results
object[]
required
next
string<uri> | null
Example:

"http://api.example.org/accounts/?page=4"

previous
string<uri> | null
Example:

"http://api.example.org/accounts/?page=2"