Cravme
🛠 Developer Preview

Build on Cravme

Everything you need to integrate your product with Cravme, automate workflows, and build custom experiences.

API Keys

Generate and manage API keys from your Admin Dashboard under Settings → API.

Webhooks

Subscribe to real-time events: order.created, order.completed, payment.success, and 20+ more.

REST API

Full REST API with JSON responses. OpenAPI spec available for code generation.

SDKs

Official SDKs for Node.js and Python. Community libraries for PHP and Ruby.

CLI Tool

Cravme CLI for rapid development and testing of integrations from your terminal.

OAuth 2.0

Use OAuth for third-party integrations where users authorize your app to access their data.

Quick Start

Install the Node.js SDK

npm install @cravme/sdk

Initialize and fetch orders

import { CravmeClient } from '@cravme/sdk';

const client = new CravmeClient({
  apiKey: process.env.CRAVME_API_KEY,
});

const orders = await client.orders.list({
  status: 'pending',
  limit: 10,
});

Available Webhook Events

order.created
order.completed
order.cancelled
payment.success
payment.failed
inventory.low_stock
inventory.out_of_stock
customer.registered
loyalty.points_earned
+ 15 more events in the full docs →