According to this blog article https://developer.genesys.cloud/blog/2024-09-27-agentless-sms-api/, an SMS message can be sent via a data action if a Client Credential grant type is used; however, I cannot figure out how to use a Client Credential grant type in the data actions I've tried creating.
Testing the data actions I've created results in the "This request requires a user context. Client credentials cannot be used for requests to this resource." error. I've searched the forums and many posts seem to indicate that the API call cannot be used in a data action because it needs the user context. However since the article I linked above is only from a few weeks ago and clearly states that SMS messages can be sent in a data action, I'm wondering if there's something I'm missing.
So, is it possible to create a data action with Client Credentials grant type that calls the /api/v2/conversations/messages/agentless API to send an agentless message? If so, are there any articles or posts that walk through setting up a data action with a client credential grant type?