Testing API locally

To test API locally, you need a test License Key.

  1. Head over to console.cal.dev and create a free account.

  2. Create a testing (license) key.

  3. When asked for payment here in test mode, you can enter the Stripe testing card 4242 4242 4242 4242

  4. Copy over the test license key and paste it in as your CALCOM_LICENSE_KEY env variable's value

  5. Now, head over to your localhost webapp (not localhost API) and log in to an account.

  6. Go to settings/developer/api-keys and create a new API key.

  7. Give it a name and set the expiration settings, click Save.

  8. 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

  9. Now, run you're all set to run API server and start making test API calls.

Was this page helpful?