Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Cal.com
  3. No access to APIv2 due to missing licence key

No access to APIv2 due to missing licence key

Scheduled Pinned Locked Moved Cal.com
3 Posts 2 Posters 34 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chopsol
    wrote last edited by
    #1

    I have a licence for Cal.com and I am trying to retrieve data via the API.
    I have created an API key and authorized access to the API.
    However, the following error is reported:

    ApiAuthStrategy - api key - Invalid or missing CALCOM_LICENSE_KEY environment variable

    It does not matter whether you use the host name of the installation or the separate host names for the API server domain.
    Here is an example of a call sent with the Authorization Bearer:

    https://termin.example.org/api/v2/bookings?startTime=2026-01-03T00%3A00%3A00%2B01%3A00&endTime=2026-01-31T23%3A59%3A59%2B01%3A00&status=upcoming

    Could it be that the env information for the API is defined elsewhere and that the licence key from the central configuration is not transferred there?

    I am aware that API access is only possible with a valid licence and that debugging without a licence will probably not work without further ado. Therefore, I refer to this documentation: https://cal.com/docs/developing/guides/api/how-to-setup-api-in-a-local-instance, which lists a staging licence key. I hope this helps in analysing the problem.

    Thank you very much in advance.

    1 Reply Last reply
    0
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Hello @chopsol

      Have you set CALCOM_LICENSE_KEY=YOUR_KEY_HERE in /app/data/env?

      • https://docs.cloudron.io/packages/calcom/
      • https://github.com/calcom/cal.com/blob/0c724dd229a204370d24a07930d1d0ee7d685e00/.env.example#L21C1-L21C20
      C 1 Reply Last reply
      0
      • jamesJ james

        Hello @chopsol

        Have you set CALCOM_LICENSE_KEY=YOUR_KEY_HERE in /app/data/env?

        • https://docs.cloudron.io/packages/calcom/
        • https://github.com/calcom/cal.com/blob/0c724dd229a204370d24a07930d1d0ee7d685e00/.env.example#L21C1-L21C20
        C Offline
        C Offline
        chopsol
        wrote last edited by
        #3

        Hello @james, yes. I already use enterprise features such as API keys and workflows, so the standard system knows my key very well.

        1 Reply Last reply
        1
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search