canonical: https://jentic.com/apis/splitwise.com/splitwise

# Splitwise API

Splitwise expense sharing API. The API exposes 27 endpoints secured with apiKey, oauth2 authentication.

## For AI agents

Programmatically get current user, get user. Covers 27 operations with apiKey, oauth2 authentication.

## Scope

Does not handle payments, communications, or crm - use for finance and accounting only.

## Capabilities

- Get current user
- Update user
- List groups
- Create group
- Delete group

## Use cases

### Finance and Accounting Operations

Use the Splitwise API to perform finance operations programmatically. The API provides 27 endpoints covering core functionality including get current user, get user, update user.

Example prompt: Call GET /get_current_user to get current user

### Automated Comments Management

Automate comments operations by combining multiple Splitwise API endpoints. Agents can get user and then update user in a single workflow.

Example prompt: Call GET `/get_user/{id}` to get user, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call Splitwise API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey, oauth2 tokens manually.

Example prompt: Search Jentic for 'get current user', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/get_current_user` | Get current user |
| GET | `/get_user/{id}` | Get user |
| POST | `/update_user/{id}` | Update user |
| GET | `/get_groups` | List groups |
| GET | `/get_group/{id}` | Get group |
| POST | `/create_group` | Create group |
| POST | `/delete_group/{id}` | Delete group |
| POST | `/undelete_group/{id}` | Restore group |

## Key resources

- **Comments** — Operations related to Comments
- **Expenses** — Operations related to Expenses
- **Friends** — Operations related to Friends
- **Groups** — Operations related to Groups
- **Other** — Operations related to Other

## Why Jentic

- **Setup:** Wiring the Splitwise API by hand means choosing between its OAuth 2.0 authorization-code flow and API key auth, and pointing every call at the secure.splitwise.com/api/v3.0 host yourself. Through Jentic you install once, import the Splitwise API from the API Directory, store the credential once, and your agent calls it.
- **Permission scoping:** Splitwise puts the group id in the URL path (`/get_group/{id}`, `/delete_group/{id}`), so a rule can pin your agent to reading one group. You choose the operations it may call, so destructive ones like deleting a group are not included unless you add them.
- **Credential handling:** Your Splitwise credential is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'get the current user' or 'list my groups', and Jentic returns the matching Splitwise API operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Plaid** — Alternative finance API
- **Xero** — Alternative finance API

## FAQ

### What authentication does the Splitwise API use?

The Splitwise API uses apiKey, oauth2 authentication. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I get current user with the Splitwise API?

Yes. Use the GET /get_current_user endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the Splitwise API?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I get current user through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'get current user'. Jentic returns the matching Splitwise API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the Splitwise API have?

The Splitwise API exposes 27 endpoints covering comments, expenses, friends operations.

### Can I limit what my agent is allowed to do with the Splitwise API?

Yes. Because you self-host Jentic One, your own rules decide which Splitwise operations and credentials the agent may use. Since Splitwise puts the group id in the URL path, such as `/get_group/{id}` and `/delete_group/{id}`, you can pin the agent to reading a single group, and you choose which operations it can call so destructive ones like `/delete_group/{id}` are excluded unless you add them.
