Retrieve a FHIR source

GET
/connections/{id}

Authorization

BearerAuth
AuthorizationBearer <token>

Medblocks API key for server-side requests.

In: header

Path Parameters

id*string

FHIR source id (fhirsrc_* or raw fhir_base_url).

Header Parameters

Version?string

Date-pinned API version. If omitted, Medblocks uses the version pinned on your API key.

Response Body

application/json

application/json

curl -X GET "https://example.com/connections/string" \  -H "Version: 2026-04-25"
{  "id": "fhirsrc_01J9YR9N3X4VZ6P2K5RH7M3LMP",  "resource_type": "fhir_source",  "name": "Epic MyChart",  "type": "epic",  "fhir_base_url": "https://fhir.epic.com/interconnect-fhir-oauth/api/FHIR/R4",  "logo_url": "https://cdn.medblocks.com/ehr-logos/epic.svg",  "portal_url": "https://mychart.epic.com"}
{  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "doc_url": "http://example.com",    "request_id": "string"  }}
Non-2xx responses use the standard API error envelope. Log error.code and error.request_id for support.