# Splitwise API Documentation

This is the complete API documentation for connecting to the Splitwise 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 **Splitwise connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

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

## Splitwise actions

- POST `create-comment` Create Comment
- POST `create-expense` Create Expense
- DELETE `delete-comment` Delete Comment
- DELETE `delete-expense` Delete Expense
- GET `get-current-user` Get Current User
- GET `get-expense` Get Expense
- GET `get-group` Get Group
- GET `get-user` Get User
- GET `list-expense-comments` List Expense Comments
- GET `list-expenses` List Expenses
- GET `list-friends` List Friends
- GET `list-groups` List Groups
- GET `list-notifications` List Notifications
- GET `list-supported-categories` List Supported Categories
- GET `list-supported-currencies` List Supported Currencies
- PUT `restore-expense` Restore Expense
- PUT `update-expense` Update Expense
