Quickstart
-
Get your API key from the SNOW Console under Settings → API Keys. It starts with
sn_live_for production orsn_test_for sandbox. -
Create a pre-visit session
Terminal window curl -X POST https://api.snowmed.io/v1/sessions/previsit/patient \-H "Authorization: Bearer sn_live_your_key" \-H "Content-Type: application/json" \-H "Idempotency-Key: test-001" \-d '{"patient": { "name": "Priya S", "phone": "+919876543210" },"clinic": { "doctor": "Dr. Padmavathi", "display_name": "My Clinic" }}' -
Send the link — take
session_urlfrom the response and open it in your browser. You’ll see the patient intake form exactly as your patients will. -
Register a webhook in the SNOW Console under Settings → Webhooks. Point it to a service like webhook.site for testing.
-
Submit the form and watch the
session.completedevent arrive at your webhook endpoint. -
Fetch the result
Terminal window curl https://api.snowmed.io/v1/sessions/{id} \-H "Authorization: Bearer sn_live_your_key"Check
resultfor the structured summary andsafety.requires_reviewbefore displaying it.
Next steps
Section titled “Next steps”- Patient-driven pre-visit — full field reference
- Provider-driven pre-visit — in-clinic staff intake
- Webhook events — signature verification + event reference