Running collection in newman has blank body

I have a simple api authentication call that I’m trying to make but it keeps failing because the body for my request is blank for some reason.


Body of the request in postman

47%20PM
Body of the request in the collection

56%20PM
What the console.log of the body looks like through Newman.

Make sure your method is POST.

API keys are rarely accepted in the body. Usually, the API key is sent as a header or as a query parameter and I think this is the issue with your request.

Check again the documentation of the API.

I’ve made this call successfully many times through the UI. Is there any reason why it would work in the UI but not work through newman?