Using one rest API response as a key in another API

Using one rest API response as a key in another API

Hi
I've added two of my APIs to OpManager Rest API Monitoring and one of them has an authentication key in its header.
The other one is the API to get access token which will be used for the first one.
How can I set the response of second API to be used by first API.

sample response of second API:
{"access_token":"XXX","token_type":"bearer","expires_in":86399} 

sample header request of first API:
Authorization_sep_bearer XXX

Thanks in advance

                New to ADSelfService Plus?