Skip to Content
Introduction

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.

BellaMemberYour AppBella APIDashboard (Keys &Assistants)

A typical integration takes three steps:

  1. 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).
  2. Open a thread (POST /api/v1/members/{external_member_id}/threads). Connects the member to the assistant (asst_…) configured in your dashboard.
  3. 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

ConceptDescription
OrganisationYour company account. Groups your assistant, integration keys, and members.
Integration keyBearer token (bella_sk_live_…) sent in the Authorization header to authenticate requests.
AssistantConfigures name, tone, reply length, and persona. Managed in the dashboard ↗.
GuardrailsSafety boundaries (locked clinical rules and optional custom limits) that govern replies.
MembersThe users your assistant coaches, identified by your own external_member_id.
Threads & MessagesConversations (thr_…) between a member and your assistant, returned as JSON or live SSE streams.
Member OnboardingIntake questions (GET /api/v1/onboarding/questions) answered in your UI and saved on member upsert before coaching starts.
MemoryProfile context (life stage, due date, goals, preferences) that persists across threads and recalculates over time.
ContentHealth and exercise resource catalogue used to ground advice. You can also query it directly.
Last updated on