webhook

Bind a patient to an Eli Lilly link session and register it back

Called server-to-server by the signup application once the patient exists. Binds the link session to that patient, records consent, and registers the RxFood patient id with Eli Lilly as their externalUserId. A session can only ever bind to one patient. Retrying with the same patient_id is safe; a different one is rejected with 409.

post/webhooks/eli-lilly/link/complete

Request body

link_session_tokenstring required
patient_idinteger required

Patient returned by the signup webhook

Response

Patient linked and registered with Eli Lilly

patient_idinteger required
status'linked' required

Terminal state of the link

Changes

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