Images not showing after successful upload

So, if you don’t have the ?auth=XXX for showing the image (this is sent via SDK) you can request the content of the file via GET and using your Api-Token.

Something like:

GET > https://file-eu-1.sendbird.com/47e58e542fac46f1b4d76d90b34bd725.png

And for your headers: {
“Api-Token”: “Your API TOKEN HERE”
}

So, this request should be made from your server (you must protect your Api-Token)

Again, if you use the SDK, then this ?auth=XXX should be there.

Thanks for your reply
the is issue is that when I get all message list using platform API the file exist without auth, and when I upload file using js SDK its response exist file url with auth

From Platform API you can get the content of your image (or any file) by using something like I mention above (check the GET request) ^