Elly API
  1. API Keys
Elly API
  • API Keys
    • Get current API key details
      GET
    • Get current API key usage statistics
      GET
    • List all API keys
      GET
    • Create a new API key
      POST
    • Revoke an API key
      DELETE
  • Transactions
    • List transactions
      GET
    • Create transaction
      POST
    • Get transaction details
      GET
    • Update transaction
      PATCH
    • Delete transaction
      DELETE
    • Bulk update transactions
      POST
  • Bank Accounts
    • List bank accounts
      GET
    • Create bank account
      POST
    • Get bank account details
      GET
    • Update bank account
      PATCH
    • Delete bank account
      DELETE
    • Get bank account transactions
      GET
  • Statements
    • List bank statements
      GET
    • Upload bank statement file
      POST
    • Get statement details
      GET
    • Get statement transactions
      GET
  • Categories
    • List categories
      GET
  • Reports
    • Cash flow report
      GET
    • Financial summary report
      GET
  • Companies
    • Get company details
  • Schemas
    • TransactionStatus
    • AccountingCategory
    • CashFlowCategory
    • AccountType
    • AccountStatus
    • StatementStatus
    • ApiScope
    • ApiKey
    • Transaction
    • TransactionListResponse
    • TransactionResponse
    • TransactionDetailResponse
    • CreateTransactionRequest
    • UpdateTransactionRequest
    • BulkUpdateRequest
    • BankAccount
    • BankAccountListResponse
    • CreateBankAccountRequest
    • UpdateBankAccountRequest
    • CreateStatementRequest
    • CreateStatementUpload
    • Pagination
    • Error
  1. API Keys

List all API keys

GET
/api-keys
API Keys
List all API keys for the company.
Authentication: Requires JWT authentication with api_keys scope.
This endpoint cannot be accessed with API key authentication.

Request

Authorization
API Key
Add parameter in header
X-API-Key
Example:
X-API-Key: ********************
or
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or

Responses

🟢200
application/json
List of API keys
Body

🟠401Unauthorized
🟠403Forbidden
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://gvazyknvkqdeuzmrnuwu.supabase.co/functions/v1/api-keys' \
--header 'X-API-Key: <api-key>'
Response Response Example
200 - Success
{
    "success": true,
    "data": [
        {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "name": "Production Integration",
            "key_prefix": "elly_abc1234",
            "scopes": [
                "read",
                "write",
                "transactions"
            ],
            "description": "Main ERP integration key",
            "last_used_at": "2025-01-15T10:30:00Z",
            "usage_count": 1523,
            "rate_limit_per_minute": 120,
            "rate_limit_per_day": 50000,
            "is_active": true,
            "expires_at": null,
            "revoked_at": null,
            "created_at": "2025-01-01T00:00:00Z",
            "created_by": "user-uuid-here"
        },
        {
            "id": "660f9500-f30c-52e5-b827-557766551111",
            "name": "Development Testing",
            "key_prefix": "elly_def5678",
            "scopes": [
                "read"
            ],
            "description": "Development environment testing",
            "last_used_at": "2025-01-10T14:20:00Z",
            "usage_count": 45,
            "rate_limit_per_minute": 60,
            "rate_limit_per_day": 10000,
            "is_active": true,
            "expires_at": "2025-12-31T23:59:59Z",
            "revoked_at": null,
            "created_at": "2025-01-05T00:00:00Z",
            "created_by": "user-uuid-here"
        }
    ]
}
Modified at 2025-12-30 00:32:05
Previous
Get current API key usage statistics
Next
Create a new API key
Built with