what's the correct way to use the API and why am i getting 400 response ?

what's the correct way to use the API and why am i getting 400 response ?

Hello,
So I am new to the whole thing and I am trying to access the api, i followed the documentation and used the swagger-ui, but i always end up with a 400 response.
{
  "code": 400,
  "message": "Bad request: Invalid client id or secret",
  "errorId": null
}

as client_id i used my email and for client_secret i used my password i use to login here 
am i missing anything ?
Regards.