# Tetri Public API v1

A stable, user-scoped interface for Tetri data and supported actions.

## Base URL

Every endpoint is served under `https://api.tetri.app/api/v1/programmatic`.

## Version policy

This documentation follows the deployed contract within the v1 API major. Breaking contract changes are published under a new API version.

## Features

- [Budgets](https://tetri.app/docs/api/v1/budgets) — Read budgets together with their status for a period date. 2 endpoints. Scopes: `budgets:read`.
- [Goals](https://tetri.app/docs/api/v1/goals) — Read savings goals and their progress. 2 endpoints. Scopes: `goals:read`.
- [Imports](https://tetri.app/docs/api/v1/imports) — Upload a bank statement, review the parsed preview and confirm it to create transactions. 4 endpoints. Scopes: `imports:read`, `imports:create`.
- [Insights](https://tetri.app/docs/api/v1/insights) — Read the insights Tetri generates from the transactions of a financial month. 2 endpoints. Scopes: `insights:read`.
- [Recurring rules](https://tetri.app/docs/api/v1/recurring) — Read recurring rules: automatic transactions and manually tracked subscriptions. 2 endpoints. Scopes: `recurring:read`.
- [Reports](https://tetri.app/docs/api/v1/reports) — Read cash flow, spending, budget, income and data-quality reports for the token workspace. 14 endpoints. Scopes: `reports:read`.
- [Transaction templates](https://tetri.app/docs/api/v1/transaction-templates) — Create reusable transaction templates. 1 endpoint. Scopes: `transaction_templates:create`.
- [Transactions](https://tetri.app/docs/api/v1/transactions) — List and read posted transactions, parse free text into a draft, and create, correct or delete transactions. 7 endpoints. Scopes: `transactions:read`, `transactions:create`, `transactions:update`, `transactions:delete`.
- [Wallets](https://tetri.app/docs/api/v1/wallets) — Read asset wallets, their accounts and balances, and the currency catalog. 4 endpoints. Scopes: `wallets:read`.

## Start here

- [Authentication](https://tetri.app/docs/api/v1/getting-started/authentication) — Use a user-scoped personal access token with the minimum required scopes.
- [Scopes](https://tetri.app/docs/api/v1/getting-started/scopes) — Which scope each endpoint requires and what a scope allows a token to do.
- [Your first request](https://tetri.app/docs/api/v1/getting-started/first-request) — Verify the credential with a read-only request and inspect the response.
- [Errors and conventions](https://tetri.app/docs/api/v1/getting-started/errors-and-conventions) — Shared behavior for authentication, writes, pagination, and failures.
