# Splitwise integration

> Shared expenses API: groups, friends, expenses, balances, comments and notifications for the key owner's Splitwise account.

- Authentication: apiKey

## Tools (27)

- **Add Friend**: Adds one friend by email, creating the user if they do not exist.
- **Add Friends (Bulk)**: Adds several friends at once using flattened user keys.
- **Add User to Group**: Adds an existing user by id, or a person by name and email, to a group.
- **Create Comment**: Posts a comment on an expense.
- **Create Expense**: Creates an expense, split equally in a group or by explicit per-user shares.
- **Create Group**: Creates a group and adds the current user plus any listed members.
- **Delete Comment**: Deletes a comment and returns the deleted comment.
- **Delete Expense**: Deletes an expense; it can be restored with Restore Expense.
- **Delete Friend**: Ends the friendship between the current user and a friend.
- **Delete Group**: Deletes a group and all its associated records, including expenses.
- **Get Current User**: Returns the profile, default currency, locale and notification settings of the API key owner.
- **Get Expense**: Returns one expense with shares, repayments, receipt and comments.
- **Get Friend**: Returns details and balances for one friend.
- **Get Group**: Returns one group with its members, balances and debts.
- **Get Notifications**: Returns recent account activity, newest first.
- **Get User**: Returns public profile information about another user by id.
- **List Categories**: Lists expense categories and their subcategories.
- **List Currencies**: Lists every currency code Splitwise accepts for expenses.
- **List Expense Comments**: Lists the comments on an expense.
- **List Expenses**: Lists the current user's expenses, filterable by group, friend and dates.
- **List Friends**: Lists the current user's friends with balances.
- **List Groups**: Lists the current user's groups with members, balances and debts.
- **Remove User from Group**: Removes a user from a group; fails if the user has a non-zero balance.
- **Restore Expense**: Restores a previously deleted expense.
- **Restore Group**: Restores a previously deleted group.
- **Update Expense**: Updates an expense; only changed fields are needed, but any users__ key overwrites all shares.
- **Update User**: Updates profile fields of a user (normally the key owner).

Connect Splitwise in General Input: https://www.generalinput.com/apps/splitwise