Get session key from api/session

I am on this version: "You're on version v0.44.0" "Built on 2022-08-04"

When I try to retrieve the session key, using the API (or by just typing the link on the browser ""), I am getting the following error:

"API endpoint does not exist."

Has the api url changed in this version?

thank you very much in advance.

Hi you cannot just directly paste that url on a browser, where are you saying if its a POST or GET? Try something like this:

curl -X POST
-H "Content-Type: application/json"
-d '{"username": "", "password": "fakepassword"}'

I would also recommend you look into this Working with the Metabase API

Thank you very much for your reply, I've also checked the metabase API documentation. I'm getting the same error when trying the command through my terminal...
The url should also work directly on the browser like all the other API commands which I am using regularly. I've also tried the exact same url in a local metabase environment (however it's a previous version) and it works. Still looking into it. If I have any progress, I will post it here.

1 Like