Get a file url in a UserChat

Get a signed file url via File key

Get a signed file url that expires after 15 minutes

Parameter

Accessible via URL https://api.channel.io/open/v4/user-chats/{userChatId}/messages/file and HTTP GET

๐Ÿ“˜

This method does currently accept application/json only.

ParameterExampleRequiredDescriptionParameter Type
userChatId1234RequiredId of UserChatPath
keypub-file/12345
/0a1b2c3d4e5f6g7h8i9j
/example.txt
RequiredKey of FileQuery

Example

GET https://api.channel.io/open/v4/user-chats/1234/messages/file?key=pub-file/12345/0a1b2c3d4e5f6g7h8i9j/example.txt

Response

Returns a signed file url that expires after 15 minutes.

{
  "result": "String"
}