Explorar a referência
A API do vokse
Tudo no vokse está à distância de uma chamada à API. A aplicação web, os clientes externos e a nossa IA usam todos a mesma superfície REST, e pode fazer o mesmo. Autentique-se com uma chave Bearer, restrinja-a exatamente àquilo de que precisa e integre em minutos.
Autenticação
Todos os pedidos levam um token Bearer no cabeçalho Authorization. Crie uma chave de API em Definições → Chaves de API, escolha os âmbitos e pode começar.
https://api.vokse.aicurl -H "Authorization: Bearer vokse_sk_…" \ https://api.vokse.ai/households/current/accountsRecursos
188 endpoints em 28 recursos. Escolha um recurso para ver todas as operações, o âmbito de cada uma, os parâmetros e um exemplo pronto a copiar.
- GETList pending AI actions awaiting user confirmation. Paginated with opaque cursor.
- POSTCancel a pending destructive action.
- POSTConfirm and execute a pending assistant action.
- POSTStream a chat turn (SSE). Returns text/event-stream. 403 AI_CONSENT_REQUIRED until the ai_processing consent is granted.
- +8
- GETList bank accounts in the household
- PATCHPause / resume sync for one bank account
- DELETEUnlink a bank account from its vokse account (the account and imported transactions stay; new movements stop arriving until mapped again)
- POSTMap a bank account to an existing financial_account or create a new one
- +11
- GETChange history, newest first: every recorded change with its performer; filter by member, family, kind, time window, group or explicit ids
- POSTRedo an undone change: reverts its active reversal so the change is in force again (409 HISTORY_NOT_UNDONE when it is not undone, HISTORY_STALE when the data moved on)
- POSTUndo a recorded change: applies its exact inverse, writes the reversal to the history and marks the change undone (409 HISTORY_STALE when the data moved on, HISTORY_ALREADY_UNDONE when another client got there first)
- GETLine items read from receipts, newest purchase first; unit prices are also given per base unit (kg, l, unit).
- GETUnit price of a product over time (per base unit, quantity-weighted per bucket) with the merchants it was bought at.
- GETPer-product summary across receipts: purchases, total spend, quantity-weighted average / min / max / latest unit price over the base unit, where it was bought.
- GETList receipts in this household; filter by link state, extraction status, kind, day, amount, merchant, tags or free text; sort by date, amount or merchant.
- +12
- GETPlan vs reality: per-month assigned vs spent totals, adherence share of budgeted categories, and the biggest overruns of the range. Max 5-year range.
- GETPer-month income vs expense vs net (in base currency) over the range. Optional accountIds CSV (only these accounts). Max 5-year range.
- GETMonth-over-month spend per category (dense, zero-filled series in base currency). Optional accountIds CSV (only these accounts) and categoryIds CSV filters. Max 5-year range.
- GETIncome by source over the range (ADR 0107): unlabelled inflows plus every income category, month by month in the base currency. Optional accountIds CSV. Max 5-year range.
- +5
Guias
Explicações passo a passo, escritas à mão, para os temas transversais: autenticação, erros, paginação, idempotência e webhooks.
OpenAPI em bruto
Prefere um explorador interativo? O documento OpenAPI completo é servido em direto, apresentado com o Scalar.
Abrir a referência OpenAPI