I can't get the authentication token for the API

I’m using Postman to get the token, but I get error 400 and I don’t know how to fix it, I’m new to APIs

https://id.twitch.tv/oauth2/token?client_id=xxxx&client_secret=xxxx&grant_type=authorization_code&redirect_uri=http://localhost

{

    "status": 400,

    "message": "missing code"

}