Outbound SMS via Genesys Cloud API – Error Investigation
Step 1: Extracted the Conversation ID
Used the following API to initiate the conversation and retrieve the conversationId:
POST /api/v2/conversations/messages
Step 2: Extracted the Communication ID
Retrieved the communication details using:
GET /api/v2/conversations/{conversationId}
In the response payload, the Communication ID was found under the calls > callback section.
The first listed ID was assumed to be the correct communicationId.(kindly confirm it that is correct communication ID)
Step 3: Attempted to Send Outbound SMS sing the below API:
POST /api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages
Issue Encountered:
When executing the above API, the following error was received:
Response Code: 404
Error Message: "No communication could be found with an ID referenced."
IDs Used:
Conversation ID: b5c1e6b3-6007-4f96-914d-35ac8db9589f
Communication ID: 185994b2-2662-4c9f-927e-f4f95e30ae4d
Kindly validate why this error occurs. when, there was active conversation and communicationId ?
#PlatformAPI------------------------------
Ramya Vimal Kumar
------------------------------