How to connect to Calendesk using RESTful API?

How to generate an API Key for Calendesk?
Sign in to Calendesk Admin Panel
Click Integrations from the main menu.
Select Account Integrations and scroll to API.
Select API and click Generate API Key.
Copy the tenant name and the API key to your clipboard.
Use the generated API Key as a parameter in all HTTP requests X-Api-Key
Use the generated Tenant name as a parameter in all HTTP requests X-Tenant




For example:
curl --location --request GET 'https://api.calendesk.com/api/v2/categories/services' \
--header 'Content-Type: application/json' \
--header 'X-Requested-With: XMLHttpRequest' \
--header 'X-Api-Key: YOUR_API_KEY' \
--header 'X-Tenant: YOUR_TENANT_NAME'
API Documentation
The complete API documentation is available here: https://api-doc.calendesk.com/.
Technical questions
If you have any additional API questions, please reach us using the contact form or chat on the website.