Overview
The Conduit Treasury API allows you to programmatically manage wallet accounts and view balances for your organization.View OpenAPI Spec
View the full OpenAPI specification
Base URL
Authentication
All API endpoints require session-based authentication. Users must be authenticated and have an active organization selected to make API requests. Requests without a valid session will receive a401 Unauthorized response.
Permissions
API access is controlled by organization permissions. Users will receive a403 Forbidden response when attempting actions they don’t have permission for.
Endpoints
Accounts
| Method | Endpoint | Description |
|---|---|---|
| GET | /accounts | List all accounts |
| POST | /accounts | Create a new account |
| DELETE | /accounts/{id} | Delete an account |
| GET | /accounts/balances | Get USDC and USDT balances for all accounts |
Transactions
| Method | Endpoint | Description |
|---|---|---|
| GET | /transactions | List transactions (optional: filter by accountId) |
| POST | /transactions | Create a new transaction |
| POST | /transactions/{id}/approve | Approve a transaction |
| POST | /transactions/{id}/execute | Execute a transaction with txHash |
Rules
| Method | Endpoint | Description |
|---|---|---|
| GET | /rules | List rules (optional: filter by accountId, strategyId, status) |
| POST | /rules | Create a new rule |
| GET | /rules/{id} | Get a specific rule |
| PATCH | /rules/{id} | Update a rule |
| DELETE | /rules/{id} | Delete a rule |