How to get access to an API
Please follow these instructions in order to get access to an API.
On the API details page, click the "Request Access" button in the top right hand corner.
You will be prompted to login or create an account. If you have previously created an account on the API platform, login, otherwise, click "Sign Up"
Once you have filled in your details and created the account you must allow Västra Götalandsregionen access to your account details.
Now that your account is created, click the "Request access" button again. You will see another dialog box that allows you to choose the API instance. Choose production.
Now you must create a client application that will access the API. Click "Create a new application".
Give your client application a clear name and a description about what the application does. No more information is needed.
Choose the SLA tier. The default tier is "Standard".
Once you have this information, click "Request access".
A request will be sent to administrator to access the API and once it is approved you will get an email with the client_id and client_secret to access the API. You can find these details later in the "My applications" link at the top of the page.
- In order to call the API, you must send the client id and secret as headers. This in an example of how the call can look.
curl --location --request GET 'https://test.api.vgregion.se/e-crm-scheduling-public/api/v1/testCenter' \ --header 'client_id: f3d67a21f832486eadf1e598217a0fff' \ --header 'client_secret: 9C352c2656A84CC488e4bf757c4fC249'