API Reference

Authentication

Makoko uses API keys to authenticate requests. Your secret key carries full privileges — keep it secure and never expose it in client-side code.

All API requests must be made over HTTPS. Requests made over HTTP will fail. API keys do not expire but can be rotated from your settings.

// Authenticate using your secret API key
// Set the Authorization header on every request

curl https://api.makoko.ai/v1/orders \
  -H "Authorization: Bearer mk_live_xxxxxxxxxxxx"

// Node.js example
const makoko = require('@makoko/sdk');
const client = new makoko.Client({ apiKey: process.env.MAKOKO_API_KEY });

Sections