Log an injection
A dose taken (injected_at) or missed (missed: true). A missed dose can raise a missed_injection alert.
Error code: injection_incomplete (422) when the log is neither taken nor missed.
Plans: AI + health and fitness coaches (ai_health_fitness), AI only (ai_only).
Authorizations
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
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.
8 - 255Body
- Option 1
- Option 2
A dose taken (injected_at) or missed (missed: true). One of the two is required.
ISO 8601 in UTC.
"2026-10-26T14:05:00Z"
"2026-10-26"
0.5
For example abdomen_left, abdomen_right, thigh_left, thigh_right, arm_left, arm_right.
"abdomen_left"
1000"Slight redness at site"
Your own identifier, printable ASCII without spaces.
1 - 128^[\x21-\x7E]+$"inj-88213"
Response
Logged.
- Option 1
- Option 2
A dose taken (injected_at) or missed (missed: true). One of the two is required.
ISO 8601 in UTC.
"2026-10-26T14:05:00Z"
"0190f5c9-8091-72a3-9dc5-4e5f60718293"
A calendar date in the patient's time zone.
"2026-10-26"
Set by the API from the caller. brand_api for brand servers, brand_app for patient tokens issued to a brand.
app, brand_app, brand_api, wearable, coach, ai, system "brand_app"
ISO 8601 in UTC.
"2026-10-26T14:05:00Z"
When the log was last corrected; the same as created_at until then.
"2026-10-26T14:05:00Z"
"2026-10-26"
0.5
For example abdomen_left, abdomen_right, thigh_left, thigh_right, arm_left, arm_right.
"abdomen_left"
1000"Slight redness at site"
Your own identifier, printable ASCII without spaces.
1 - 128^[\x21-\x7E]+$"inj-88213"

