Skip to navigation

List documents

This endpoints paginates over the report documents for a given sub-account.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

subAccountIdstringRequiredformat: "uuid"

Identifier of the sub-account.

sortstringOptionalformat: "(created_at-asc|created_at-desc)"Defaults to created_at-asc
Optionally sort the results
limitstringOptionalformat: "uint64"Defaults to 20

Optionally limit the number of results (between 1 and 50)

cursorstringOptionalformat: "base64"
Optionally provide a cursor to paginate over pages of results

Response

A successful response.
resultlist of objects
paginationobject
sortingKeyslist of objectsOptional
filterslist of objectsOptional
querylist of stringsOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error