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
- 
  Hi, also get back an empty array and status code 200. I am doing the query via node using axios... 
- 
  I would suggest you contact support direct on support@ninox.com 
- 
  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. 
- 
  That makes sense now and thank you for the warning! 
Content aside
- 4 yrs agoLast active
- 4Replies
- 383Views
