Skip to main content
All Monigo API requests are authenticated using an API key passed as a Bearer token in the Authorization header.
Authorization: Bearer mk_live_xxxxxxxxxxxxxxxxxxxx

API key types

PrefixModeDescription
mk_live_LiveTriggers real charges and payouts
mk_test_TestIsolated sandbox — no real money moved
Never expose live API keys in client-side code, mobile apps, or public repositories.

Creating API keys

API keys are created per organisation in Dashboard → API Keys. You can create multiple keys with different names to track usage by service or environment.

Rotating keys

If a key is compromised, delete it immediately from the dashboard. Any in-flight requests using that key will be rejected. Create a new key and update your environment variables.

Test mode

When using a mk_test_ key:
  • Events are ingested and metered normally
  • Invoices are generated but not charged
  • Payouts are queued but not submitted to the payment provider
  • All data is isolated from your live environment
This makes test mode safe to use during development and CI/CD pipelines.