Hello,
I am working on implementing a user-to-agent media flow using Open Messaging. My current implementation follows these steps:
- The user uploads an image to the backend server.
- The backend server uploads the image to an AWS S3 bucket.
- S3 returns a URL, but it is not publicly accessible.
To send the S3 URL to Genesys, I am using the following API call:
POST /api/v2/conversations/messages/{integrationId}/inbound/open/message
{
"channel": {
"messageId": "<External Service Message ID>",
"from": {
"nickname": "Messaging User",
"id": "messaging-user@externalservice.com",
"idType": "email",
"image": "https://externalservice.com/profiles/messaging-user.png",
"firstName": "Messaging",
"lastName": "User"
},
"time": "2021-01-21T16:47:07.592Z"
},
"text": "Incoming message with photo",
"direction": "Inbound",
"content": [
{
"contentType": "Attachment",
"attachment": {
"mediaType": "Image",
"url": "{s3URL}",
"mime": "image/png",
"filename": "4a30f651-ba-genesys-logo-color.png"
}
}
]
}
Question:
What IP ranges should be whitelisted to allow Genesys to access the S3 link? I have already attempted to whitelist the IPs returned by the GET /ipranges
API but have not been successful.
Alternatively, are there any specific S3 bucket settings that need to be configured to grant Genesys the necessary access?
Any guidance would be greatly appreciated.
Thank you.