Web API Authentication

Hi,

I’m trying to authenticate to a web API to grab a token back for the following of the API requests. I have a working API test in postman and I’m trying to duplicate the authentication in Thunkable.

The postman setup looks like this

What I can’t figure out is how I can pass the necessary keys as URL encoded via the Thunkable API configuration, as the only options seem to be body strings or multipart form data. Can anyone point me in the right direction? I tried adding all keys as multipart form data but the API responded with “invalid grant” and “bad credentials”.

Thanks

I’m wondering if I need to use the webviewer component for the initial authentication. as that seems more flexible.