Overview
The Buildmarkets documentation describes two endpoints for managing brokerage documents. The platform stores “system-generated brokerage documents — account statements, trade confirmations, and tax forms” and provides access through discovery and retrieval endpoints.Available Endpoints
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/documents/types | Discover supported document classifications |
| POST | /v1/documents/list | Query and filter documents with pagination |
Document Type Discovery
The GET endpoint returns a catalog of recognized document types. Each type has anid field used as a filter parameter in subsequent requests. The example response shows three document categories: Account Statement, Trade Confirmation, and Tax Document.
Document Retrieval
The POST endpoint accepts optional filtering parameters:limitandoffsetfor pagination (defaults: 25 and 0)documentTypeID,accountNumber,month,year, anddatefor filtering- All filter fields accept
nullor can be omitted to remove that filter
Error Handling
Common HTTP status codes include:400for invalid parameter values401for missing/invalid API keys500for server failures