Open Connector
所有 Tools

Splitwise

Connect to Splitwise to read users, friends, groups, expenses, comments, notifications, currencies, and categories.

splitwisev1.0.027 个 Tools

认证方式

方式底层类型状态说明
OAuth 2.0oauth2available

调用示例

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 目录

可用 Tools

27 个可调用操作

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.

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.

认证

需要 Connected Account

Tags

other
Get expense commentsSPLITWISE_GET_GET_COMMENTSGet expense comments

Get expense comments

认证

需要 Connected Account

Tags

comments
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).

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).

认证

需要 Connected Account

Tags

other
Get information about the current userSPLITWISE_GET_GET_CURRENT_USERGet information about the current user

Get information about the current user

认证

需要 Connected Account

Tags

users
Get expense informationSPLITWISE_GET_GET_EXPENSE_IDGet expense information

Get expense information

认证

需要 Connected Account

Tags

expenses
List the current user's expensesSPLITWISE_GET_GET_EXPENSESList the current user's expenses

List the current user's expenses

认证

需要 Connected Account

Tags

expenses
Get details about a friendSPLITWISE_GET_GET_FRIEND_IDGet details about a friend

Get details about a friend

认证

需要 Connected Account

Tags

friends
List current user's friendsSPLITWISE_GET_GET_FRIENDS**Note**: `group` objects only include group balances with that friend.

**Note**: `group` objects only include group balances with that friend.

认证

需要 Connected Account

Tags

friends
Get information about a groupSPLITWISE_GET_GET_GROUP_IDGet information about a group

Get information about a group

认证

需要 Connected Account

Tags

groups
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.

**Note**: Expenses that are not associated with a group are listed in a group with ID 0.

认证

需要 Connected Account

Tags

groups
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.

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.

认证

需要 Connected Account

Tags

notifications
Get information about another userSPLITWISE_GET_GET_USER_IDGet information about another user

Get information about another user

认证

需要 Connected Account

Tags

users
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.

**Note**: 200 OK does not indicate a successful response. You must check the `success` value of the response.

认证

需要 Connected Account

Tags

groups
Create a commentSPLITWISE_POST_CREATE_COMMENTCreate a comment

Create a comment

认证

需要 Connected Account

Tags

comments
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.

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.

认证

需要 Connected Account

Tags

expenses
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.

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.

认证

需要 Connected Account

Tags

friends
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`.

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`.

认证

需要 Connected Account

Tags

friends
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.

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.

认证

需要 Connected Account

Tags

groups
Delete a commentSPLITWISE_POST_DELETE_COMMENT_IDDeletes a comment. Returns the deleted comment.

Deletes a comment. Returns the deleted comment.

认证

需要 Connected Account

Tags

comments
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.

**Note**: 200 OK does not indicate a successful response. The operation was successful only if `success` is true.

认证

需要 Connected Account

Tags

expenses
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.

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.

认证

需要 Connected Account

Tags

friends
Delete a groupSPLITWISE_POST_DELETE_GROUP_IDDelete an existing group. Destroys all associated records (expenses, etc.)

Delete an existing group. Destroys all associated records (expenses, etc.)

认证

需要 Connected Account

Tags

groups
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.

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.

认证

需要 Connected Account

Tags

groups
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.

**Note**: 200 OK does not indicate a successful response. The operation was successful only if `success` is true.

认证

需要 Connected Account

Tags

expenses
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.

Restores a deleted group. **Note**: 200 OK does not indicate a successful response. You must check the `success` value of the response.

认证

需要 Connected Account

Tags

groups
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.

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.

认证

需要 Connected Account

Tags

expenses
Update a userSPLITWISE_POST_UPDATE_USER_IDUpdate a user

Update a user

认证

需要 Connected Account

Tags

users

Provider 资源