Everything you need to integrate, manage, and secure your CIT Bank API keys — in one place.
Set up your first API key in under 5 minutes. Covers authentication, environments, and your first request.
Full reference for every endpoint, parameter, response schema, and error code in the cit-account API.
Step-by-step walkthroughs for Node.js, Python, Go, and more. Connect cit-account to your stack fast.
Follow this guide to authenticate with cit-account, connect a CIT Bank account via OAuth 2.0, and retrieve your first API key review — in under five minutes.
Before making any requests, you need an API key from your cit-account dashboard. Navigate to Settings → API Keys and click Generate New Key. Copy both your API Key and Secret — the secret is shown only once.
"color:#64748B"># Verify your credentials are active "color:#38BDF8">curl -X GET https://api.cit-account.io/v1/auth/validate -H "Authorization: Bearer YOUR_API_KEY" -H "X-API-Secret: YOUR_API_SECRET" -H "Content-Type: application/json"
{
"valid": true,
"key_id": "cit_key_a1b2c3d4",
"permissions": ["keys:read", "keys:review", "accounts:connect"],
"rate_limit": { "limit": 1000, "remaining": 999 }
}Use the OAuth 2.0 flow to link a CIT Bank account to your cit-account workspace. First, redirect your user to the authorization URL, then exchange the returned code for an access token.
"color:#64748B"># Step 1: Build the authorization URL (redirect user to this) "color:#64748B"># https://oauth.cit-account.io/authorize "color:#64748B"># ?client_id=YOUR_CLIENT_ID "color:#64748B"># &redirect_uri=https://yourapp.com/callback "color:#64748B"># &scope=accounts:read+keys:review "color:#64748B"># &response_type=code "color:#64748B"># &state=RANDOM_STATE_STRING "color:#64748B"># Step 2: Exchange the authorization code for a token "color:#38BDF8">curl -X POST https://api.cit-account.io/v1/oauth/token -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{ "grant_type": "authorization_code", "code": "AUTH_CODE_FROM_REDIRECT", "redirect_uri": "https://yourapp.com/callback", "client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET" }'
{
"access_token": "oauth_tok_x9y8z7w6v5u4",
"token_type": "Bearer",
"expires_in": 3600,
"refresh_token": "ref_tok_q1r2s3t4u5v6",
"scope": "accounts:read keys:review",
"account_id": "cit_acct_00112233"
}With a valid access token, you can now fetch a full review of all API keys associated with the connected CIT Bank account. The response includes key metadata, usage stats, rotation status, and permission scopes.
"color:#38BDF8">curl -X GET https://api.cit-account.io/v1/api/keys/review -H "Authorization: Bearer oauth_tok_x9y8z7w6v5u4" -H "X-Account-ID: cit_acct_00112233" -H "Content-Type: application/json" -G --data-urlencode "status=active" --data-urlencode "limit=25" --data-urlencode "page=1"
{
"total": 3,
"page": 1,
"limit": 25,
"keys": [
{
"id": "cit_key_a1b2c3d4",
"label": "Production API Key",
"status": "active",
"created_at": "2024-11-01T09:00:00Z",
"last_used_at": "2025-01-14T16:42:11Z",
"expires_at": "2025-07-01T00:00:00Z",
"rotation_due_at": "2025-04-01T00:00:00Z",
"permissions": ["keys:read", "keys:review", "accounts:connect"],
"usage_30d": 4821,
"rotation_status": "due_soon"
},
{
"id": "cit_key_e5f6g7h8",
"label": "Staging Environment",
"status": "active",
"created_at": "2024-12-15T14:00:00Z",
"last_used_at": "2025-01-13T11:08:33Z",
"rotation_status": "ok"
}
]
}Browse all endpoints, authentication schemes, error codes, and SDK references in the full API reference documentation.
Complete reference for all public REST endpoints available in the cit-account API. Click any row to view full parameter details, response schemas, and usage examples.
List all API keys associated with your CIT Bank account. Returns paginated results with key metadata, status, and creation timestamps.
Rotate an existing API key by generating a new secret. The previous key is immediately invalidated upon successful rotation. Requires the key ID in the request body.
Retrieve the full audit trail for a specific API key. Logs include rotation events, permission changes, usage anomalies, and manual revocations with actor and timestamp details.
Permanently delete an API key and invalidate all active sessions associated with it. This action is irreversible. A confirmation prompt is required via the X-Confirm-Delete header.
/keys
List all API keys associated with your CIT Bank account. Returns paginated results with key metadata, status, and creation timestamps.
/keys/rotate
Rotate an existing API key by generating a new secret. The previous key is immediately invalidated upon successful rotation. Requires the key ID in the request body.
/keys/{id}/audit-log
Retrieve the full audit trail for a specific API key. Logs include rotation events, permission changes, usage anomalies, and manual revocations with actor and timestamp details.
/keys/{id}
Permanently delete an API key and invalidate all active sessions associated with it. This action is irreversible. A confirmation prompt is required via the X-Confirm-Delete header.
Authentication required on all endpoints
All requests must include a valid Bearer token in the Authorization header. Tokens are generated and managed within your cit-account dashboard. See the Authentication Guide for token scopes and rotation best practices.
Manage and review your CIT Bank API keys with confidence. Enterprise-grade security and developer tools, purpose-built for fintech teams.
© 2026 cit-account. All rights reserved.