Skip to content
Partner Developer Portal

Using the Partner API

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.

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.

With an access token obtained, you can now make a call to the Partner API. For example, to retrieve a medical record:

Terminal window
curl -X GET "https://XXXXXXX/api/medicalRecord/GetMedicalRecord?patientNumber=XXXXXXX" \
-H "ApplicationId: XXXXXXX" \
-H "Accept: application/json" \
-H "Authorization: Bearer eyJhbGciOiJSUzI1NiIs..."