Skip to main content
POST
Report my treatment (TeraRx Direct)

Authorizations

Authorization
string
header
default:Bearer sandbox_any_token_works
required

A 15-minute token bound to one patient and one enrollment, issued by POST /v1/oauth/token with the token-exchange grant. Treat it as opaque. When it expires, exchange a fresh assertion; there is no refresh token.

Headers

Idempotency-Key
string
required

A unique key per logical request, for example a UUID. Retrying with the same key and the same body within 24 hours returns the first response (with Idempotent-Replayed: true) instead of creating a duplicate. The same key with a different body is refused with 422 idempotency_key_reused.

Required string length: 8 - 255

Body

application/json

TeraRx Direct only. The patient reports the GLP-1 they take; brand patients get their treatment from the brand.

medication_id
string<uuid>
required
Example:

"6f1d2c3b-4a59-4e8f-9d7c-1b2a3c4d5e6f"

dose_mg
number
required
Required range: x <= 100
Example:

0.5

phase
enum<string>
required
Available options:
pending_start,
titration,
maintenance,
taper,
off_ramp,
paused,
stopped
Example:

"titration"

injection_weekday
integer
Required range: 0 <= x <= 6
Example:

1

started_on
string<date>
Example:

"2026-09-28"

Response

The reported treatment.

The patient's current treatment as the patient sees it.

medication
object
required
dose_mg
number
required
Example:

0.5

phase
enum<string>
required
Available options:
pending_start,
titration,
maintenance,
taper,
off_ramp,
paused,
stopped
Example:

"titration"

dose_amount
number | null
Example:

null

dose_unit
string | null
Example:

null

injection_weekday
integer | null
Example:

1

started_on
string<date> | null
Example:

"2026-09-28"

treatment_week
integer | null
Example:

5

effective_from
string<date-time>

ISO 8601 in UTC.

Example:

"2026-10-26T14:05:00Z"