Purpose
Theendpoint-api delivers conversation events to external HTTP endpoints. When a call starts, ends, or a message is exchanged, assistant-api emits events to endpoint-api via gRPC. This service handles fan-out to all registered webhooks, retry with exponential backoff, HMAC-SHA256 payload signing, and delivery tracking.
Port
9005 — HTTP · gRPC (cmux)Language
Go 1.25
Gin (REST) + gRPC
Storage
PostgreSQL
endpoint_db
Redis (retry job queue)Event Delivery Flow
Core Components
Webhook Registry
Webhook Registry
Each webhook is scoped to a project and subscribes to one or more event types.
Retry Strategy
Retry Strategy
Retries trigger on HTTP
408, 429, and 5xx. Status 2xx = success. Status 4xx (except 408, 429) = non-retriable failure.Payload Signing
Payload Signing
Every delivery includes an Verification (Node.js):
X-Rapida-Signature header:Event Reference
Example payload —
conversation.ended:
API Endpoints
Create a webhook:
Running
- Docker Compose
- From Source
Health Endpoints
Next Steps
Configuration
Environment variables including webhook retry settings.
Assistant API
Event emitter — assistant-api fires conversation events to endpoint-api.
Architecture
Full system topology and data flows.
Integration API
LLM provider execution layer.