Legacy

Legacy: Get an encounter

Returns one encounter for the authenticated workspace.

Path Parameters
  • encounter_id
    Type: string
    required

    Caller-provided external_id. Falls back to Branches encounter id when no external_id matches.

Responses
  • application/json
  • 401

    Missing or invalid API key.

  • 404

    Encounter not found in the authenticated workspace.

Request Example for get/legacy/encounters/{encounter_id}
curl 'https://api.withbranches.com/legacy/encounters/{encounter_id}' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"encounter_id": "string",
"external_id": "string",
"date_of_service": "string",
"end_date_of_service": "string",
"patient_authorized_release": true,
"benefits_assigned_to_provider": true,
"provider_accepts_assignment": true,
"appointment_type": "string",
"existing_medications": [