Use this API to generate a signed URL for downloading content. Use contentUrl in response as it used is for downloading content.
Client application must have 'app.conversation.conversationmgr.interaction.manage' or 'app.conversation.conversationmgr.interaction.read' assigned to call this API
Security
oAuthClient(Required scopes:
https://api.egain.cloud/auth/.default
)- Production Serverhttps://api.egain.cloud/conversation/conversationmgr/v3/assets/{id}
curl -i -X GET \
https://api.egain.cloud/conversation/conversationmgr/v3/assets/7b6c5fff-036e-4a40-b68a-a67c592fc079 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK
Response
{ "id": "7b6c5fff-036e-4a40-b68a-a67c592fc079", "name": "bird.jpeg", "contentType": "image/jpeg", "size": 17245, "contentUrl": "http://storage-ext.egain.cloud/core/assetmgr/v3/chat.attachments/download?signature=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiI5OThiNjFjMWRlYmM0OTRiYWVkNjhmNTkxM2U5", "contentUrlExpiry": "2023-01-13T16:45:27.457Z" }