You need to make a code similar to this
However, you need to check with the documentation of this API to supply the correct parameters in the body
block.
Alternatively,
You can use my Encrypt / Decrypt demo project to convert the entries to the required coded string for authorization
https://x.thunkable.com/projectPage/60ba3f2079d6dc001150abe7