Skip to main content
GET
List resources for an end user, optionally filtered by provider

Authorizations

Authorization
string
header
required

Enter your API key with the Bearer prefix — e.g. Bearer sk_live_xxx (production) or Bearer sk_test_xxx (sandbox)

Headers

X-End-User-Id
string
required

Identifier of the end user whose connected provider should be queried. This is the same endUserId you supplied when creating the connect token. Required on every CRM and accounting call.

Example:

"user-001"

Path Parameters

resource
enum<string>
required

Canonical accounting resource type to query. Must be one of the values in the enum below. RouteMCP maps this to the equivalent provider-native object (e.g. invoice → QuickBooks Online Invoice/Bill, Xero Invoice, Zoho Books Invoice).

Available options:
invoice,
contact,
account,
payment,
tax_rate,
journal_entry,
expense,
purchase_order,
sales_order,
credit_note,
vendor_credit,
company_info,
item,
tracking_category,
accounting_period,
payment_method,
payment_term,
address,
attachment,
balance_sheet,
bank_feed_account,
bank_feed_transaction,
cash_flow_statement,
employee,
expense_report,
general_ledger_transaction,
income_statement,
item_fulfillment,
phone_number,
project,
transaction

Query Parameters

provider
string

Provider slug to scope the query to a single connected provider (e.g. hubspot, pipedrive, zoho-crm, quickbooks-online, xero, zoho-books). When omitted, RouteMCP fans out across every provider the end user has connected and returns a merged, paginated result.

Example:

"hubspot"

cursor
string

Opaque pagination cursor returned in the previous response's top-level pagination.cursor field. Pass it back unchanged to fetch the next page. Omit on the first request.

Example:

"eyJodWJzcG90IjoiMTAwIn0"

limit
string

Maximum number of records to return per page. Defaults to the provider's native page size (typically 25–100) when omitted. Values are clamped to each provider's supported maximum.

Example:

"25"

enrich
string

Controls enrichment of related-record fields such as owner_name, owner_email, contact_name, companyName, etc. Accepts:

  • true (default) — enrich all supported fields. Adds extra provider calls; slower but more complete.
  • false — skip enrichment entirely. Fastest; returns only ids for related records.
  • A comma-separated list of field names (e.g. owner_name,owner_email) — enrich only the listed fields.
Example:

"true"

created_after
string<date-time>

Inclusive ISO-8601 lower bound. For record resources (Invoice, Contact, Account, etc.) this filters by the provider record's creation timestamp. For on-demand reports (balance_sheet, income_statement, cash_flow_statement) it is reinterpreted as the report's start_date.

Example:

"2026-01-01T00:00:00Z"

created_before
string<date-time>

Inclusive ISO-8601 upper bound. For record resources this filters by the provider record's creation timestamp. For on-demand reports it is reinterpreted as the report's end_date — i.e. the as-of date for balance_sheet, and the period end for income_statement / cash_flow_statement.

Example:

"2026-05-11T23:59:59Z"

Response

Paginated list of accounting resources

Standard envelope returned by GET /accounting/{resource}. The shape of each item inside data depends on the {resource} path parameter — see the tabs to switch between resource variants.

success
boolean
required

Always true for successful (2xx) responses.

Example:

true

statusCode
integer
required

HTTP status code mirrored inside the envelope.

Example:

200

message
string
required
Example:

"OK"

data
(Invoice · object | Contact · object | Account · object | Payment · object | TaxRate · object | JournalEntry · object | Expense · object | PurchaseOrder · object | SalesOrder · object | CreditNote · object | VendorCredit · object | CompanyInfo · object | Item · object | TrackingCategory · object | Period · object | PaymentMethod · object | PaymentTerm · object | Address · object | PhoneNumber · object | Attachment · object | BalanceSheet · object | BankFeedAccount · object | BankFeedTransaction · object | CashFlowStatement · object | Employee · object | ExpenseReport · object | GeneralLedgerTransaction · object | IncomeStatement · object | ItemFulfillment · object | Project · object | Transaction · object)[]
required

The list of accounting resources. The item shape depends on the {resource} path parameter.

Fields present on every accounting resource returned by RouteMCP.

pagination
Pagination · object
required

Cursor-based pagination metadata returned with every list response.