HIVE API 2 Forbidden

I have been trying to use the api, but have not gotten it to work. The nim code below outputs 403 Forbidden. Any ideas as to why it isn’t working?

let client = newHttpClient()
client.headers = newHttpHeaders({ “Content-Type”: “application/json” })
let body = %*{
“login”: “my_login”, “password” : “my_password”
let response = client.request(“”, httpMethod = HttpPost, body = $body)
echo response.status

I tested the api on the webpage Build, Collaborate & Integrate APIs | SwaggerHub

I got the same error there so it doesn’t seem that my code is the problem. Is anyone else unable to access their account from the api?