Skip to main content
POST

Authorizations

Authorization
string
header
required

API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.

Path Parameters

companyId
string<uuid>
required

Company identifier

Body

application/json
scope
enum<string>

Which derived read models to rebuild; omit to rebuild everything

Available options:
invoices,
balances,
earning

Response

Per-table rebuilt row counts (0 for out-of-scope tables)

rebuilt
object
required