Testing API locally
Last updated
Last updated
To test API locally, you need a test License Key.
Head over to console.cal.dev and create a free account.
Create a testing (license) key.
When asked for payment here in test mode, you can enter the Stripe testing card 4242 4242 4242 4242
Copy over the test license key and paste it in as your CALCOM_LICENSE_KEY
env variable's value
Now, head over to your localhost webapp (not localhost API) and log in to an account.
Go to settings/developer/api-keys
and create a new API key.
Give it a name and set the expiration settings, click Save.
You should see the generated API key, make sure to copy it and store in a safe location as you will NOT be able to recover an API key once lost, only create new ones
Now, run you're all set to run API server and start making test API calls.