Members
Members in Bella are referenced using your own external_member_id, so you do not need to map or look up internal Bella IDs.
Identifying members (external_member_id)
Endpoints identify members by your database ID (e.g. usr_94821):
GET /api/v1/members/{external_member_id}PUT /api/v1/members/{external_member_id}DELETE /api/v1/members/{external_member_id}GET /api/v1/onboarding/questions?external_member_id={external_member_id}POST /api/v1/members/{external_member_id}/threads
An external_member_id is unique within your organisation. Responses also include a permanent mem_… ID if you want to store it.
Checking a member and answers (GET)
Call GET /api/v1/members/{external_member_id} to check if a member exists, review their onboarding_status, and retrieve previously submitted answers.
Registering and updating members (PUT)
PUT /api/v1/members/{external_member_id} creates or updates member records:
- New member: Creates the profile and returns
201 Created. - Existing member: Updates the record and returns
200 OK.
All body fields (nickname, onboarding) are optional:
{
"nickname": "Alex",
"onboarding": [
{ "id": "date_of_birth", "value": ["1992-06-14"] },
{ "id": "stage_of_life", "value": ["pregnancy"] },
{ "id": "due_date", "value": ["2026-11-20"] },
{ "id": "goals", "value": ["Feel stronger", "More energy"] }
]
}Omitted fields on subsequent PUT requests retain their existing values. Every response includes onboarding_status to show whether each phase is "pending" or "completed".
Deleting a member (DELETE)
For account closure or GDPR erasure requests, call DELETE /api/v1/members/{external_member_id}:
DELETE /api/v1/members/usr_94821 HTTP/1.1
Authorization: Bearer bella_sk_live_…Deletion is immediate and permanent. Deleting a member removes their profile, memory, and all threads and messages.
Calling DELETE again for the same identifier returns 404 Not Found.