Splitwise
Connect to Splitwise to read users, friends, groups, expenses, comments, notifications, currencies, and categories.
Authentication
| Method | Kind | Status | Details |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | — |
Call a tool
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "SPLITWISE_GET_GET_CATEGORIES", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("SPLITWISE_GET_GET_CATEGORIES", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute SPLITWISE_GET_GET_CATEGORIES --data '{ }'Tool catalog
Available tools
27 callable operations
Supported categoriesSPLITWISE_GET_GET_CATEGORIESReturns a list of all categories Splitwise allows for expenses. There are parent categories that represent groups of categories with subcategories for more specific categorization. When creating expenses, you must use a subcategory, not a parent category. If you intend for an expense to be represented by the parent category and nothing more specific, please use the "Other" subcategory.Connection
Returns a list of all categories Splitwise allows for expenses. There are parent categories that represent groups of categories with subcategories for more specific categorization. When creating expenses, you must use a subcategory, not a parent category. If you intend for an expense to be represented by the parent category and nothing more specific, please use the "Other" subcategory.
Authentication
Connected account requiredTags
Get expense commentsSPLITWISE_GET_GET_COMMENTSGet expense commentsConnection
Get expense comments
Authentication
Connected account requiredTags
Supported currenciesSPLITWISE_GET_GET_CURRENCIESReturns a list of all currencies allowed by the system. These are mostly ISO 4217 codes, but we do sometimes use pending codes or unofficial, colloquial codes (like BTC instead of XBT for Bitcoin).Connection
Returns a list of all currencies allowed by the system. These are mostly ISO 4217 codes, but we do sometimes use pending codes or unofficial, colloquial codes (like BTC instead of XBT for Bitcoin).
Authentication
Connected account requiredTags
Get information about the current userSPLITWISE_GET_GET_CURRENT_USERGet information about the current userConnection
Get information about the current user
Authentication
Connected account requiredTags
Get expense informationSPLITWISE_GET_GET_EXPENSE_IDGet expense informationConnection
Get expense information
Authentication
Connected account requiredTags
List the current user's expensesSPLITWISE_GET_GET_EXPENSESList the current user's expensesConnection
List the current user's expenses
Authentication
Connected account requiredTags
Get details about a friendSPLITWISE_GET_GET_FRIEND_IDGet details about a friendConnection
Get details about a friend
Authentication
Connected account requiredTags
List current user's friendsSPLITWISE_GET_GET_FRIENDS**Note**: `group` objects only include group balances with that friend.Connection
**Note**: `group` objects only include group balances with that friend.
Authentication
Connected account requiredTags
Get information about a groupSPLITWISE_GET_GET_GROUP_IDGet information about a groupConnection
Get information about a group
Authentication
Connected account requiredTags
List the current user's groupsSPLITWISE_GET_GET_GROUPS**Note**: Expenses that are not associated with a group are listed in a group with ID 0.Connection
**Note**: Expenses that are not associated with a group are listed in a group with ID 0.
Authentication
Connected account requiredTags
Get notificationsSPLITWISE_GET_GET_NOTIFICATIONSReturn a list of recent activity on the users account with the most recent items first. `content` will be suitable for display in HTML and uses only the `<strong>`, `<strike>`, `<small>`, `<br>` and `<font color="#FFEE44">` tags. The `type` value indicates what the notification is about. Notification types may be added in the future without warning. Below is an incomplete list of notification types. | Type | Meaning | | ---- | ------- | | 0 | Expense added | | 1 | Expense updated | | 2 | Expense deleted | | 3 | Comment added | | 4 | Added to group | | 5 | Removed from group | | 6 | Group deleted | | 7 | Group settings changed | | 8 | Added as friend | | 9 | Removed as friend | | 10 | News (a URL should be included) | | 11 | Debt simplification | | 12 | Group undeleted | | 13 | Expense undeleted | | 14 | Group currency conversion | | 15 | Friend currency conversion | **Note**: While all parameters are optional, the server sets arbitrary (but large) limits on the number of notifications returned if you set a very old `updated_after` value or `limit` of `0` for a user with many notifications.Connection
Return a list of recent activity on the users account with the most recent items first. `content` will be suitable for display in HTML and uses only the `<strong>`, `<strike>`, `<small>`, `<br>` and `<font color="#FFEE44">` tags. The `type` value indicates what the notification is about. Notification types may be added in the future without warning. Below is an incomplete list of notification types. | Type | Meaning | | ---- | ------- | | 0 | Expense added | | 1 | Expense updated | | 2 | Expense deleted | | 3 | Comment added | | 4 | Added to group | | 5 | Removed from group | | 6 | Group deleted | | 7 | Group settings changed | | 8 | Added as friend | | 9 | Removed as friend | | 10 | News (a URL should be included) | | 11 | Debt simplification | | 12 | Group undeleted | | 13 | Expense undeleted | | 14 | Group currency conversion | | 15 | Friend currency conversion | **Note**: While all parameters are optional, the server sets arbitrary (but large) limits on the number of notifications returned if you set a very old `updated_after` value or `limit` of `0` for a user with many notifications.
Authentication
Connected account requiredTags
Get information about another userSPLITWISE_GET_GET_USER_IDGet information about another userConnection
Get information about another user
Authentication
Connected account requiredTags
Add a user to a groupSPLITWISE_POST_ADD_USER_TO_GROUP**Note**: 200 OK does not indicate a successful response. You must check the `success` value of the response.Connection
**Note**: 200 OK does not indicate a successful response. You must check the `success` value of the response.
Authentication
Connected account requiredTags
Create a commentSPLITWISE_POST_CREATE_COMMENTCreate a commentConnection
Create a comment
Authentication
Connected account requiredTags
Create an expenseSPLITWISE_POST_CREATE_EXPENSECreates an expense. You may either split an expense equally (only with `group_id` provided), or supply a list of shares. When splitting equally, the authenticated user is assumed to be the payer. When providing a list of shares, each share must include `paid_share` and `owed_share`, and must be identified by one of the following: - `email`, `first_name`, and `last_name` - `user_id` **Note**: 200 OK does not indicate a successful response. The operation was successful only if `errors` is empty.Connection
Creates an expense. You may either split an expense equally (only with `group_id` provided), or supply a list of shares. When splitting equally, the authenticated user is assumed to be the payer. When providing a list of shares, each share must include `paid_share` and `owed_share`, and must be identified by one of the following: - `email`, `first_name`, and `last_name` - `user_id` **Note**: 200 OK does not indicate a successful response. The operation was successful only if `errors` is empty.
Authentication
Connected account requiredTags
Add a friendSPLITWISE_POST_CREATE_FRIENDAdds a friend. If the other user does not exist, you must supply `user_first_name`. If the other user exists, `user_first_name` and `user_last_name` will be ignored.Connection
Adds a friend. If the other user does not exist, you must supply `user_first_name`. If the other user exists, `user_first_name` and `user_last_name` will be ignored.
Authentication
Connected account requiredTags
Add friendsSPLITWISE_POST_CREATE_FRIENDSAdd multiple friends at once. For each user, if the other user does not exist, you must supply `users__{index}__first_name`. **Note**: user parameters must be flattened into the format `users__{index}__{property}`, where `property` is `first_name`, `last_name`, or `email`.Connection
Add multiple friends at once. For each user, if the other user does not exist, you must supply `users__{index}__first_name`. **Note**: user parameters must be flattened into the format `users__{index}__{property}`, where `property` is `first_name`, `last_name`, or `email`.
Authentication
Connected account requiredTags
Create a groupSPLITWISE_POST_CREATE_GROUPCreates a new group. Adds the current user to the group by default. **Note**: group user parameters must be flattened into the format `users__{index}__{property}`, where `property` is `user_id`, `first_name`, `last_name`, or `email`. The user's email or ID must be provided.Connection
Creates a new group. Adds the current user to the group by default. **Note**: group user parameters must be flattened into the format `users__{index}__{property}`, where `property` is `user_id`, `first_name`, `last_name`, or `email`. The user's email or ID must be provided.
Authentication
Connected account requiredTags
Delete a commentSPLITWISE_POST_DELETE_COMMENT_IDDeletes a comment. Returns the deleted comment.Connection
Deletes a comment. Returns the deleted comment.
Authentication
Connected account requiredTags
Delete an expenseSPLITWISE_POST_DELETE_EXPENSE_ID**Note**: 200 OK does not indicate a successful response. The operation was successful only if `success` is true.Connection
**Note**: 200 OK does not indicate a successful response. The operation was successful only if `success` is true.
Authentication
Connected account requiredTags
Delete friendshipSPLITWISE_POST_DELETE_FRIEND_IDGiven a friend ID, break off the friendship between the current user and the specified user. **Note**: 200 OK does not indicate a successful response. You must check the `success` value of the response.Connection
Given a friend ID, break off the friendship between the current user and the specified user. **Note**: 200 OK does not indicate a successful response. You must check the `success` value of the response.
Authentication
Connected account requiredTags
Delete a groupSPLITWISE_POST_DELETE_GROUP_IDDelete an existing group. Destroys all associated records (expenses, etc.)Connection
Delete an existing group. Destroys all associated records (expenses, etc.)
Authentication
Connected account requiredTags
Remove a user from a groupSPLITWISE_POST_REMOVE_USER_FROM_GROUPRemove a user from a group. Does not succeed if the user has a non-zero balance. **Note:** 200 OK does not indicate a successful response. You must check the success value of the response.Connection
Remove a user from a group. Does not succeed if the user has a non-zero balance. **Note:** 200 OK does not indicate a successful response. You must check the success value of the response.
Authentication
Connected account requiredTags
Restore an expenseSPLITWISE_POST_UNDELETE_EXPENSE_ID**Note**: 200 OK does not indicate a successful response. The operation was successful only if `success` is true.Connection
**Note**: 200 OK does not indicate a successful response. The operation was successful only if `success` is true.
Authentication
Connected account requiredTags
Restore a groupSPLITWISE_POST_UNDELETE_GROUP_IDRestores a deleted group. **Note**: 200 OK does not indicate a successful response. You must check the `success` value of the response.Connection
Restores a deleted group. **Note**: 200 OK does not indicate a successful response. You must check the `success` value of the response.
Authentication
Connected account requiredTags
Update an expenseSPLITWISE_POST_UPDATE_EXPENSE_IDUpdates an expense. Parameters are the same as in `create_expense`, but you only need to include parameters that are changing from the previous values. If any values is supplied for `users__{index}__{property}`, _all_ shares for the expense will be overwritten with the provided values. **Note**: 200 OK does not indicate a successful response. The operation was successful only if `errors` is empty.Connection
Updates an expense. Parameters are the same as in `create_expense`, but you only need to include parameters that are changing from the previous values. If any values is supplied for `users__{index}__{property}`, _all_ shares for the expense will be overwritten with the provided values. **Note**: 200 OK does not indicate a successful response. The operation was successful only if `errors` is empty.
Authentication
Connected account requiredTags
Update a userSPLITWISE_POST_UPDATE_USER_IDUpdate a userConnection
Update a user
Authentication
Connected account requiredTags