Skip to main content

Authentication

The Customer API uses API keys for authentication. No OAuth or session cookies.

Getting an API key

  1. Open Dashboard โ†’ Settings โ†’ API Keys
  2. Click Create API Key
  3. Name it (e.g., โ€œProductionโ€, โ€œStagingโ€)
  4. Copy the key โ€“ it starts with mom_sk_ and is shown only once

Using your API key

curl -H "X-API-Key: mom_sk_your_key_here" \
  https://api.yourdomain.com/api/customer/v1/reports/brands

Query parameter

curl "https://api.yourdomain.com/api/customer/v1/reports/brands?api_key=mom_sk_your_key_here"

Security

  • Never commit API keys to version control
  • Rotate keys if you suspect exposure
  • Revoke unused keys in the dashboard
  • Use different keys for dev and production

Errors

StatusMeaning
401Missing or invalid API key
402Subscription required โ€“ upgrade to use the API