Skip to main content
All API requests must include a valid API key in the Authorization header using the Bearer scheme.
curl https://api.otim.com/v0/accounts \
  -H "Authorization: Bearer sk_..."

API keys

API keys are created in the Developer section of your dashboard. Each key is scoped to your Platform and can be independently labeled and revoked. Keys are prefixed with sk_ and should be treated as secrets. Do not expose them in client-side code, public repositories, or logs.

Environments

EnvironmentBase URLDescription
Sandboxhttps://sandbox.api.otim.com/v0For development and testing. No real funds are moved.
Productionhttps://api.otim.com/v0For live operations with real funds.
Sandbox and production use separate API keys. You can create and manage keys for each environment independently from your dashboard.

Error responses

Requests with a missing or invalid API key return a 401 Unauthorized response:
{
  "error": "Invalid API key.",
  "code": "unauthorized"
}