Bella Coach AI
Bella is a health and fitness coach you embed in your app. Your backend registers members, opens conversation threads, and forwards messages. Bella replies with exercise and recovery guidance adapted to each life stage: general fitness, trying to conceive, pregnancy, postpartum, perimenopause, or menopause.
How the integration works
Your members never log in to Bella or call our servers directly. Your app owns the interface and the member relationship; your backend calls Bella over HTTPS using your organisation’s integration key.
A typical integration takes three steps:
- Register the member (
PUT /api/v1/members/{external_member_id}). Use your internal member ID. The first call creates the record (201), and subsequent calls update it (200). - Open a thread (
POST /api/v1/members/{external_member_id}/threads). Connects the member to the assistant (asst_…) configured in your dashboard. - Send a message (
POST /api/v1/threads/{id}/messages). Receive a JSON reply or stream the response over Server-Sent Events (SSE).
Keep your integration key on your server. The key (bella_sk_live_…) has access to all members in your organisation. Never include it in mobile apps or browser bundles.
Core concepts
| Concept | Description |
|---|---|
| Organisation | Your company account. Groups your assistant, integration keys, and members. |
| Integration key | Bearer token (bella_sk_live_…) sent in the Authorization header to authenticate requests. |
| Assistant | Configures name, tone, reply length, and persona. Managed in the dashboard ↗. |
| Guardrails | Safety boundaries (locked clinical rules and optional custom limits) that govern replies. |
| Members | The users your assistant coaches, identified by your own external_member_id. |
| Threads & Messages | Conversations (thr_…) between a member and your assistant, returned as JSON or live SSE streams. |
| Member Onboarding | Intake questions (GET /api/v1/onboarding/questions) answered in your UI and saved on member upsert before coaching starts. |
| Memory | Profile context (life stage, due date, goals, preferences) that persists across threads and recalculates over time. |
| Content | Health and exercise resource catalogue used to ground advice. You can also query it directly. |
Last updated on