Photoshop API Custom Actions Confusion
Im creating an application with the Server to Server authentication which will be a 2 legged OAuth
The documentation uses a POST request to https://ims-na1.adobelogin.com/ims/token/v3 with credentials from my developer account to generate an access token using cURL.
The application Im creating will allow me to upload an image and use a stored action file to perform an action on that photo using the API
Where Im getting confused is in 2 places:
1) when I go to the API documentation (https://developer.adobe.com/photoshop/photoshop-api-docs/api/#tag/Photoshop/operation/photoshopActions) for Execute Photoshop Actions POST request it looks as though in the header parameters it requires a Bearer token (which I can't find anywhere)
2) This POST is going to a different link than the credentials https://image.adobe.io/pie/psdService/photoshopActions
Should I be making 2 different calls every time, one for the credentials and another to execute photoshop actions.
The documentation is a little confusing to me because I'm new at this and trying to figure everything out and doesn't seem clear cut (there are articles some depreciated that don't clearly define the setup).
Any suggestions, help or insights would be greatly appreciated!