care-team-invite-canonical
Invite To Care Team
Invite a person to a child's care team by email.
Caller must be a family member of the child OR a clinician with active access. The server branches on the recipient's account type:
- active clinician → grant + clinician care team row (connected_clinician)
- non-clinician account → canonicalize + worker care team row + synthetic claimed invite code (connected_worker)
- no account → create care team row + active invite code, dispatch email (invite_sent)
Idempotent on (email, child_id): a re-invite returns already_on_team with the existing ids. When care_team_member_id is supplied (the Connect surfaces always know it), the RPC matches the existing contact by that id first - so adding or correcting a saved contact's email re-invites the same record instead of forking a duplicate.
post/care-team/invite
Request
- Base URLhttps://api.projectindi.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.