Skip to main content
Question

API Query: Retrieving unique Patient Portal URLs for SMS questionnaires

  • February 25, 2026
  • 0 replies
  • 5 views

Forum|alt.badge.img+2

Hi,

We’ve been using the Dentally API to power Dentext (our custom external patient communication platform). It handles our SMS routing, custom templates, and automated messaging beautifully but we’ve hit a specific challenge. We want to automatically text patients a link to complete their Medical History questionnaire prior to their appointment, exactly how it behaves natively in Dentally's SMS system. To do this, we need to inject that patient-specific link directly into our Dentext templates.

Does anyone know how to retrieve or construct this unique link via the API? Is there a specific endpoint to request this token/link? Or is the URL structure predictable enough that we can build it programmatically using the patient_id or patient_uuid?

I know we can use the practice portal link from Portal Admin > Customise, but that behaves differently. It forces the patient to register first, whereas the native Medical History link goes straight to the questionnaire after a simple Date of Birth validation.

If anyone has managed to extract or generate these direct MH links via the API, I’d massively appreciate a pointer in the right direction!

Thanks in advance!