Common headers
These platform headers thread identity and EHR credentials through FHIR-touching calls, including tools, agents, the FHIR proxy, and the platform MCP endpoint.
Headers
AuthorizationrequiredBearer token from the auth endpoint. The SDKs attach and refresh it automatically.
X-Phenoml-On-Behalf-OfoptionalAct in a user context: Patient/{uuid} or Practitioner/{uuid}. Required for patient-facing apps so requests are scoped accordingly.
X-Phenoml-Fhir-ProvideroptionalPer-request FHIR provider credentials, formatted as {fhir_provider_id}:{oauth2_token}, for apps where users bring their own EHR tokens instead of stored provider credentials.
POSTHeaders in practice