Open a thread
POST
/api/v1/members/{external_member_id}/threadsOpens a conversation thread for a member with your assistant.
Path parameters
external_member_idstringrequired
Your system’s unique identifier for the registered member.
Request body
assistantstringrequired(matches ^asst_)
Assistant ID (asst_…) copied from Coach in the dashboard.
titlestringoptional(max 100 characters)
Optional title. If omitted, derived from the member’s first question.
Returns
HTTP Status Codes
201 CreatedThreadoptional
Thread opened. Returns the created thread object.
401 UnauthorizedErroroptional
The integration key is missing, invalid, or revoked.
404 Not FoundErroroptional
No registered member or assistant exists with this ID.
409 ConflictErroroptional
Member onboarding is incomplete. Complete onboarding before opening a thread.
422 Unprocessable EntityErroroptional
Validation failed (e.g. invalid assistant ID prefix).
cURL
curl -X POST "https://api.bellacoach.ai/api/v1/members/usr_94821/threads" \
-H "Authorization: Bearer $BELLA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"assistant": "asst_4d9e2a7b1c8f3052e6a9c4b0"
}'Response (201 Created)
{
"id": "thr_9c41f0b7a2d64e83b15c7f20",
"external_member_id": "usr_94821",
"assistant": "asst_4d9e2a7b1c8f3052e6a9c4b0",
"created_at": "2026-08-02T10:16:00Z"
}Next steps
Last updated on