Using the Partner API
Integration basics
Section titled “Integration basics”The simplest form of integration involves a backend solution calling the Partner
API on its own behalf. Upon onboarding, you will receive
a client_id and client_secret, which are essential for the Client
Credentials Flow. These credentials are used to obtain a short-lived access
token, which must accompany subsequent API requests.
Obtaining a token
Section titled “Obtaining a token”To obtain a token using the Client Credentials Flow you need to make a call to our OIDC/OAuth compliant Identity Provider (IdP). Please see Authentication.
Calling the Partner API
Section titled “Calling the Partner API”With an access token obtained, you can now make a call to the Partner API. For example, to retrieve a medical record:
curl -X GET "https://XXXXXXX/api/medicalRecord/GetMedicalRecord?patientNumber=XXXXXXX" \ -H "ApplicationId: XXXXXXX" \ -H "Accept: application/json" \ -H "Authorization: Bearer eyJhbGciOiJSUzI1NiIs..."
