Depending on the configuration of the API security, you may need to obtain a token specific to a sequence of API calls.
This approach should be used with non-standard OAuth configurations.
The easy way to do this is with a workflow. The sequence will be as follows:
Step 1 - make a POST to obtain a token
Step 2 - Parse the returned content to save the token as a variable
Step 3 and beyond - use the saved variable in following API calls as the token
If possible use the Authentication Settings Manager
If possible we highly recommend using the authentication manager which will make it easier to keep the logic of obtaining and managing tokens up to date, separate from the API calls themselves.
Updated almost 3 years ago