Upload agent images and then use PATCH API

Hi, with regard to tickets Add / Update User's Profile Photo
a
Ability to add/change user photos from API - #3 by Hugo_Pastore
I would like to ask how to upload a binary file with a photo to the platform. I can imagine uploading the photos to a public website and just using the link. However, I'm wondering how to get the photos to the right place on amazon/Genesys, just like I would upload a photo through the Genesys GUI.

PATCH /api/v2/users/{userId}
for update images contains a parameter with a URL.
{
"images".
{
"resolution": "x48",
"imageUri": "https://prod-euw2-inin-directory-service-profile.s3-eu-west-2.amazonaws.com/image.jpg"
},

It's not clear to me what formats are required and how to get them on the amazon space of Genesys.

Is there any other API for this?

Thanks

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