List Documents
GET
/admin/complaints/{id}/documents
const url = 'http://localhost:9000/admin/complaints/example/documents?limit=50&offset=0';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:9000/admin/complaints/example/documents?limit=50&offset=0'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Query Parameters
Section titled “Query Parameters ” limit
integer
offset
integer
order
string
fields
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
documents
Array<object>
object
id
string
complaint_id
string
filename
string
mime_type
string
size_bytes
string
uploaded_by
string
created_at
string format: date-time
count
integer
limit
integer
offset
integer
Example generated
{ "documents": [ { "id": "example", "complaint_id": "example", "filename": "example", "mime_type": "example", "size_bytes": "example", "uploaded_by": "example", "created_at": "2026-04-15T12:00:00Z" } ], "count": 1, "limit": 1, "offset": 1}