Clients

Ensure Thread For Healthie User

Idempotently ensure a Puppeteer thread exists for the given Healthie patient.

Fetches patient data from Healthie before thread resolution so new threads are created with the voice phone number already set, and existing threads missing a phone number are backfilled. Seeds json_data with email / full name / first name / last name / dob / location, matching the webhook path's outcome after SetJsonDataFromWebhook + HealthieFetchUserData have run.

Returns 201 when a new thread is created, 200 when an existing one is returned.

put/longevity/healthie-users/{healthie_user_id}/thread

Request

  • Base URL
    https://api.puppeteerai.com
  • Auth
    none declared. Required headers: Authorization

Path parameters

healthie_user_idstring required

Headers

Authorizationstring required

Request body

project_idstring required

The Puppeteer project id that owns the Longevity agent config.

Response

Successful Response

thread_idstring required

The Puppeteer thread id for this Healthie patient.

createdboolean required

True if the thread was created on this call; false if one already existed.

Changes

No recorded changes to this operation across all 1 revision of this API.