Referência da APIData sources
Trigger sync (OpenFinance/Openi)
Authorization
ApiKeyAuth x-api-key<token>
Tenant API key
In: header
Path Parameters
id*string
Format
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/data-sources/497f6eca-6276-4993-bfeb-53cbbbba6f08/sync"{ "status": "queued"}Setup Openi reconciliation (server-to-server)
Idempotent: ensures an Openi data source exists for the given company and that the `openi_invoices` and `openi_accounting_entries` datasets are present. Returns 201 when at least one resource was created, 200 otherwise.
Test data source connectivity
Probe the configured connector. Postgres performs `SELECT 1`; OpenFinance fetches a small accounts page; Openi requests page 1 of invoices. Always returns 200; success is reflected in `ok`.

