Authentication: Difference between revisions

No edit summary
No edit summary
Line 3: Line 3:
Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
Add your API key to the X-API-KEY header to get the access to the API endpoints.
Add your API key to the X-API-KEY header to get the access to the API endpoints.


<span style="background-color:#cdeffc; padding:5px; border-radius:5px;">To test requests using your account, replace the '''<code><your_api_key></code>''' API key with your actual API key</span>
<span style="background-color:#cdeffc; padding:5px; border-radius:5px;">To test requests using your account, replace the '''<code><your_api_key></code>''' API key with your actual API key</span>


<pre>curl -H "X-API-KEY: <your_api_key>" https://harmonizely.com/api/users/me/meeting-types</pre>
<pre>curl -H "X-API-KEY: <your_api_key>" https://harmonizely.com/api/users/me/meeting-types</pre>