Generate an API key
Last updated
Last updated
By now you've created an org and have successfully logged in as an administrator. Before you can begin making API requests, you will need to first generate an API key.
Note: For our examples in this guide, we are completing each step in a development environment.
To generate an API key, complete the following steps after logging in to your org:
Select Settings > Apps on the left-hand menu.
Click New App. The Create App screen is displayed.
Enter a name for the new app in the Label field.
(Optional) Check Sessions to create a session-based app.
(Optional) Uncheck CSRF Protection. If this is checked, you will need to send the medable-csrf-token
header with each authenticated request.
Click Create App. The API key appears in the API Key column.
Tip: CSRF protection is not necessary for this example, but we highly recommend enabling it for production web apps.
In our example, we created a new app called NewHealth App with the API key mwidxhb8ShcqmV1B9iOYJh
.