Developers

REST API Reference

Programmatic access to bots, conversations, and knowledge base via REST API.

CRAB provides a REST API for programmatic bot management and conversation handling.

Authentication

All API requests require a Bearer token. Generate API keys from Settings → API Keys in your dashboard.

Authorization: Bearer YOUR_API_KEY

Endpoints

MethodEndpointDescription
GET/api/botsList all bots
POST/api/botsCreate a new bot
GET/api/bots/:idGet bot details
POST/api/bots/:id/messageSend a message to a bot

Webhooks

Configure webhooks to receive real-time events for new conversations, escalations, and lead captures. Webhook payloads are signed with HMAC-SHA256 for verification.