# Subly API ## Docs - [Delete an expense](https://docs.subly.app/api-reference/endpoint/expenses/delete.md): Permanently deletes an expense by its unique ID. - [Get all expenses for a workspace](https://docs.subly.app/api-reference/endpoint/expenses/get.md): Retrieves a list of all expenses for the authenticated workspace. The list can optionally be filtered by the project it's assigned to. - [Get an expense by ID](https://docs.subly.app/api-reference/endpoint/expenses/get-by-id.md): Retrieves a single expense by its unique ID. - [Create an expense](https://docs.subly.app/api-reference/endpoint/expenses/post.md): Creates a new expense record for the workspace. The `workspace_id` is automatically inferred from the API key. - [Update an expense](https://docs.subly.app/api-reference/endpoint/expenses/put.md): Updates the details of an existing expense. - [Delete a project](https://docs.subly.app/api-reference/endpoint/projects/delete.md): Permanently deletes a project by its unique ID. This action cannot be undone. - [List all projects](https://docs.subly.app/api-reference/endpoint/projects/get.md): Retrieves a complete list of projects belonging to the authenticated workspace. - [Get a project by ID](https://docs.subly.app/api-reference/endpoint/projects/get-by-id.md): Retrieves a single project by its unique ID, provided it belongs to the authenticated workspace. - [Create a new project](https://docs.subly.app/api-reference/endpoint/projects/post.md): Creates a new project within the authenticated workspace. The `workspace_id` is automatically assigned. - [Update a project](https://docs.subly.app/api-reference/endpoint/projects/put.md): Updates the details of an existing project using its unique ID. - [Delete a revenue item](https://docs.subly.app/api-reference/endpoint/revenue/delete.md): Permanently deletes a revenue item by its unique ID. - [List all revenue items](https://docs.subly.app/api-reference/endpoint/revenue/get.md): Retrieves a list of all revenue items for the authenticated workspace. Can be filtered by project or recurrence status. - [Get a revenue item by ID](https://docs.subly.app/api-reference/endpoint/revenue/get-by-id.md): Retrieves a single revenue item by its unique ID. - [Create a revenue item](https://docs.subly.app/api-reference/endpoint/revenue/post.md): Creates a new revenue item for the workspace. The `workspace_id` is automatically assigned. - [Update a revenue item](https://docs.subly.app/api-reference/endpoint/revenue/put.md): Updates the details of an existing revenue item. - [Delete a transaction](https://docs.subly.app/api-reference/endpoint/transactions/delete.md): Permanently deletes a transaction by its unique ID. - [List all transactions](https://docs.subly.app/api-reference/endpoint/transactions/get.md): Retrieves a list of all financial transactions for the workspace. Can be filtered by type, expense, or revenue item. - [Get a transaction by ID](https://docs.subly.app/api-reference/endpoint/transactions/get-by-id.md): Retrieves a single transaction by its unique ID. - [Create a transaction](https://docs.subly.app/api-reference/endpoint/transactions/post.md): Creates a new transaction record. The `workspace_id` is automatically assigned. A transaction can be optionally linked to an existing expense or revenue item. - [Update a transaction](https://docs.subly.app/api-reference/endpoint/transactions/put.md): Updates the details of an existing transaction. ## OpenAPI Specs - [openapi](https://docs.subly.app/api-reference/openapi.json)