Get your API key
API keys are issued from your broker or developer dashboard inside the Majarrah app.
Go to Dashboard - API and click Generate API Key. Each key is tied to your account’s decision balance.
Keep your API key secret. Never expose it in client-side code or public repositories.
Using your key
Pass the key as a Bearer token in the Authorization header on every request.
Example
Credit balance
Every API key has a decision balance. You can check your remaining credits in the response of any /decisions call via credits_remaining, or from your dashboard.
When your balance reaches zero, all requests return 402 Insufficient Credits until you top up.