0

API shows no teams

Hi, I'm logged into Ninox, when I start the web app I have wo teams: one trial that is blokced and one paid account that does work. 

Then I go to https://user.ninox.com/account/api to get a key, and do a get like this in VS CODE: 

GET https://api.ninox.com/v1/teams
Authorization: Bearer {{token}}

But this returns a 200 OK with an empty array. I would expect to see the two teams. 

I tried logging out and in, deleting the API key and creating a new one, but it stays empty. 

4 replies

null
    • Jade Hochschule
    • Bernd_Hobbie
    • 2 yrs ago
    • Reported - view

    Hi, also get back an empty array and status code 200. I am doing the query via node using axios...

    • Mel_Charles
    • 2 yrs ago
    • Reported - view

    I would suggest you contact support direct on support@ninox.com

    • GertJan_van_der_Kamp.1
    • 2 yrs ago
    • Reported - view

    My problem was I was using the old way of creating an api key here: https://user.ninox.com/account/api

     

    The new way is to create an API key in Ninox itself but that can only be done by a team Onwer. The docs and UI still need to be updated it is a bit of a trap now. 

    • Mel_Charles
    • 2 yrs ago
    • Reported - view

    That makes sense now and thank you for the warning!

Content aside

  • 2 yrs agoLast active
  • 4Replies
  • 357Views