# YNAB API Documentation

This is the complete API documentation for connecting to the YNAB API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **YNAB connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/ynab/actions/{actionSlug}/run
```

## YNAB actions

- GET `get-account` Get Account
- GET `get-category` Get Category
- GET `get-month` Get Month
- GET `get-month-category` Get Month Category
- GET `get-payee` Get Payee
- GET `get-payee-location` Get Payee Location
- GET `get-plan` Get Plan
- GET `get-plan-settings` Get Plan Settings
- GET `get-scheduled-transaction` Get Scheduled Transaction
- GET `get-transaction` Get Transaction
- GET `get-user` Get User
- GET `list-account-transactions` List Account Transactions
- GET `list-accounts` List Accounts
- GET `list-categories` List Categories
- GET `list-category-transactions` List Category Transactions
- GET `list-money-movement-groups` List Money Movement Groups
- GET `list-money-movements` List Money Movements
- GET `list-month-money-movement-groups` List Month Money Movement Groups
- GET `list-month-money-movements` List Month Money Movements
- GET `list-month-transactions` List Month Transactions
- GET `list-months` List Months
- GET `list-payee-locations` List Payee Locations
- GET `list-payee-locations-for-payee` List Payee Locations For Payee
- GET `list-payee-transactions` List Payee Transactions
- GET `list-payees` List Payees
- GET `list-plans` List Plans
- GET `list-scheduled-transactions` List Scheduled Transactions
- GET `list-transactions` List Transactions
