Skip to main content

API service operations

platform v0.9.11verified 2026-05-14

The API service runs the TelAPI server — a Fastify-based HTTP and WebSocket API that handles call tokens, browser-to-ARI channel communication, and external API endpoints. Multiple instances run behind a managed Load Balancer with TLS termination and sticky sessions.

Containers

ContainerImagePortPurpose
voiceai-telapi${ECR_REGISTRY}/voiceai-telapi:${ECR_TAG} (Node 24-alpine)3001API + WebSocket gateway (host network)
voiceai-otel-collectorotel/opentelemetry-collector-contrib:0.150.1Telemetry collector

Load balancer

FieldValue
FrontendHTTPS :443 with managed TLS for DOMAIN_API
Backend:3001
Health checkGET /health
Sticky sessionsEnabled — required for WebSocket
Target selectionrole=api,environment=${ENVIRONMENT}

Networking

Private network only — no public IP. All traffic arrives through the LB. Outbound to ECR, AWS Secrets, and provider APIs goes through the Squid proxy.

See also