I'm trying to achieve the same exact thing of this user but using a client with client_credentials
I've followed this post to create my client with client credentials grant and so I can get the access token like this
but when I try to call the execute-action-email api I only get an error 401
what am I missing?
Try to get the token from a user with the correct permissions for instance the master admin:
Alternatively, what you can do is: