Getting Error 404 "Not Found" using Postman

Hi Team,

I am new to using Mypurecloud API, trying to run below API from postman but not success. I am getting 404 http error. Could you please help on this.

Note: Same API I have integrated in JavaScript code also there also getting same error 404.

API type - Post
API - https://api.mypurecloud.com/api/v2/conversations/messages/agentless

Payload - {
"fromAddress": "+13175555555",
"toAddress": "+919922950848",
"toAddressMessengerType": "sms",
"textBody" :"Test",
"useExistingActiveConversation": true
}

response - {
"message": "No Recipient could be found with an id of +13175555555",
"code": "not.found",
"status": 404,
"messageWithParams": "No {type} could be found with an id of {id}",
"messageParams": {
"id": "+13175555555",
"type": "Recipient"
},
"contextId": "ccb1c4f2-e8d8-4078-9737-1510be70e96b",
"details": [],
"errors": []
}

Hello,

The number you use in fromAddress must be a provisioned SMS phone number - an SMS long code or short code number that you have purchased in Genesys Cloud.
See About SMS messaging and Purchase SMS long code numbers

Regards,

Thanks for replay!

Where I can check/validate input fromAddress phone no is provisioned SMS phone number or not. Do we have any sample provisioned SMS phone number that I can use in Postman API testing.

Thanks and Regards,
Sunil Patil

I guess you didn't check the articles I shared with you.

In Purchase SMS long code numbers, it says (to see or purchase numbers):

To purchase an SMS number, perform these steps:

  1. Click Admin.
  2. Under Message, click SMS Number Inventory.

How end user(Agent) will trust that sms is came from dedicated/respective Genesys provisioned SMS phone number or not. Because toAddress(receiver) is receiving sms from 4 or 6 digits number. Could you please clarify on this.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.