You are viewing a non-production environment — the API surface may differ from production.

Introduction

REST APIs and webhooks for ordering, bookings, menus and payments.

Karma's API lets you read and write the data behind a restaurant's day, and subscribe to events as they happen.

Base URLs

EnvironmentBase URL
Productionhttps://common-api.karma.life
Staginghttps://common-api.staging.karma.life
Developmenthttps://common-api.development.karma.life

Authenticating

Every request carries an API key in the X-API-Key header. Keys are prefixed by environment — karma_live_* against production, karma_dev_* everywhere else.

curl https://common-api.karma.life/api/v1/orders \
  -H "X-API-Key: karma_live_..."

APIs

Guides

Webhooks

Rather than polling, subscribe to events and Karma will POST them to you. Receiving webhooks covers the envelope, signature verification and retries; each API's Events section documents its payloads.

On this page