v1
latestOpenAPI 3.1.02026-07-1382036.1 KBOnboarding
Save or advance an onboarding step
Persists step answers and, when advancing from contact details with a valid email, identifies the lead and syncs the Attio list item.
patch/api/onboarding/sessions/{sessionId}
Path parameters
sessionIdstring required
Request body
Example request
{
"values": {
"email": "name@example.com",
"npi": "10-digit NPI",
"first_name": "First name",
"last_name": "Last name",
"company": "Practice name",
"phone_number": "(555) 555-1234",
"specialty": "Psychiatry, Primary Care, Dermatology",
"prescription_volume": "1-5 / month",
"practice_type": "Solo practice",
"use_case": "How do you expect to use Photon?",
"prescribing_interface": "DoseSpot",
"prescribing_interface_other": "Tell us what you use today",
"address_street1": "Practice street address",
"address_street2": "Suite or unit",
"address_city": "City",
"address_state": "AL",
"address_postal_code": "ZIP code",
"job_title": "Role or title",
"app_domain": "https://example.com",
"integration_type": [
"app"
],
"tech_stack": "e.g. React, Node, Postgres",
"implementation_timeline": "Today",
"care_model": "Urgent care, pediatrics, weight loss, etc.",
"provider_count": "1-5",
"site_count": "1-10",
"prescriber_count": "1-100",
"pharmacy_services": [
"On-Site"
],
"product_category": "EHR, clinical workflow tool, care delivery platform",
"customer_org_count": "1-10",
"terms_of_service_accepted_at": "2026-05-25T12:00:00.000Z",
"business_associate_agreement_accepted_at": "2026-05-25T12:00:00.000Z"
},
"existingAnswers": {
"email": "name@example.com",
"npi": "10-digit NPI",
"first_name": "First name",
"last_name": "Last name",
"company": "Practice name",
"phone_number": "(555) 555-1234",
"specialty": "Psychiatry, Primary Care, Dermatology",
"prescription_volume": "1-5 / month",
"practice_type": "Solo practice",
"use_case": "How do you expect to use Photon?",
"prescribing_interface": "DoseSpot",
"prescribing_interface_other": "Tell us what you use today",
"address_street1": "Practice street address",
"address_street2": "Suite or unit",
"address_city": "City",
"address_state": "AL",
"address_postal_code": "ZIP code",
"job_title": "Role or title",
"app_domain": "https://example.com",
"integration_type": [
"app"
],
"tech_stack": "e.g. React, Node, Postgres",
"implementation_timeline": "Today",
"care_model": "Urgent care, pediatrics, weight loss, etc.",
"provider_count": "1-5",
"site_count": "1-10",
"prescriber_count": "1-100",
"pharmacy_services": [
"On-Site"
],
"product_category": "EHR, clinical workflow tool, care delivery platform",
"customer_org_count": "1-10",
"terms_of_service_accepted_at": "2026-05-25T12:00:00.000Z",
"business_associate_agreement_accepted_at": "2026-05-25T12:00:00.000Z"
}
}Response
Current onboarding session state.