I am new to working with PureCloud/Genesys. I have been tasked with setting up Agentless SMS via these instructions
https://help.mypurecloud.com/articles/agentless-sms-notifications/From what I understand, this is a relatively new feature as of February.
Everything went well until the Data Action step. I am using a POST request "/api/v2/conversations/messages/agentless"; using: fromAddress, toAddress, toAddressMessengerType, textBody
Testing in PureCloud Admin results in the error:
REST call for action execute failed. Message:Request to backend service failed. Response from web service: {"message":"Bad request: Missing messengerType","code":"bad.request","status":400,"messageWithParams":"Bad request: {details}","messageParams":{"details":"Missing messengerType"},"contextId":" ... ","details":[],"errors":[]} [ ... ]Testing in Postman results in the same error:
{
"message": "Value [] is not valid for field type [MessengerType]. Allowable values are: sms, facebook, twitter, line, whatsapp",
"code": "invalid.value",
"status": 400
}
I have "toAddressMessengerType" set to "sms" which is listed as one of the allowed values. Also, "fromAddress" is set to one of our provisioned SMS numbers in E.164 format.
I did try adding "messengerType"="sms" as well, wondering if that was the correct field name, per the error message. No luck with that.
Thank you in advance for any advice to guide me in the right direction.
#Ask Me Anything (AMA)
#PlatformAdministration#SystemAdministration#Unsure/Other------------------------------
Jeff Wolgast
------------------------------