Getting started
Create an account, log in, make your first call.
CreativMoney is a P2P crypto trading platform for African markets. The HTTP API mirrors everything the web and mobile apps do — list wallets, send funds, open trades, approve settlements, reconcile ledgers. Most endpoints live behind the same session cookie the browser uses; a few use HMAC-signed webhooks or a shared cron secret.
Three minutes end-to-end:
- Sign up for an account at /register (or POST /api/auth/register).
- Verify your email with the 6-digit OTP sent to you.
- Log in via the web app or POST the credentials to the NextAuth endpoint. The response sets an authjs.session-token cookie — every subsequent authenticated request sends it automatically if you stay on the same origin.
- Call GET /api/wallets to list your wallets. That's a canonical first authenticated request.
curl https://www.creativmoney.com/api/wallets \
-H "Cookie: authjs.session-token=COOKIE"Everything under /api/* that isn't in the public allowlist returns 401 for anonymous callers. The error body is always `{ "message": "Unauthorized" }`.