Get documents for authenticated user (Portal)

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

file_type

string

Filter documents by file type (pdf, txt, csv, image, doc, docx, zip, other)

folder_id

string

Filter documents by folder hashid

limit

integer

Number of results to return per page. offset

integer

The initial index from which to return the results.

``200

object

count

integer

required

next

uri | null

previous

uri | null

results

array of objects

required

results*

object

Serializer for file records in portal context.

id

string

required

name

string

required

length ≤ 100

The name of the file

reference_id

string | null

The reference ID of the file

file_type

string

enum

pdf``txt``csv``image``doc``docx``zip``other``unknown

uploaded_by

string

required

Get the name of who uploaded the file.

Logic: If a phone-number uploaded the file and has person info, use person name.

Otherwise, use the created-by field (uploaded_by user).

folder

object

required

Return folder info with id and name if folder exists.

folder object

document_summary

string | null

Summary of the document document_short_description

string | null

Short description of the document

clean_document_name

string | null

Clean name of the document

created_at

date-time | null

updated_at

date-time

required

``401

``403

Updated 3 months ago


ShellNodeRubyPHPPython

Base URL

https://api.flextract.dev/api/p/docs/


xxxxxxxxxx

curl --request GET \ 
     --url https://api.flextract.dev/api/p/docs/ \ 
     --header 'accept: application/json'

xxxxxxxxxx

{

"count": 123,

"next": "http://api.example.org/accounts/?offset=400&limit=100",

"previous": "http://api.example.org/accounts/?offset=200&limit=100",

"results": [\
\
    {\
\
      "id": "string",\
\
      "name": "string",\
\
      "reference_id": "string",\
\
      "file_type": "pdf",\
\
      "uploaded_by": "string",\
\
      "folder": {\
\
        "additionalProp": "string"\
\
      },\
\
      "document_summary": "string",\
\
      "document_short_description": "string",\
\
      "clean_document_name": "string",\
\
      "created_at": "2026-07-18T07:09:13.052Z",\
\
      "updated_at": "2026-07-18T07:09:13.052Z"\
\
    }\
\
  ]

}