Get a file url in a Group

Get a signed file url via groupId

Get a signed file url that expires after 15 minutes

Parameter

Accessible via URL https://api.channel.io/open/v4/groups/{groupId}/messages/file and HTTP GET

Example

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

📘

This method does currently accept application/json only.

ParameterExampleRequiredDescriptionParameter Type
groupId1234RequiredId of GroupPath
keypub-file/12345
/0a1b2c3d4e5f6g7h8i9j
/example.txt
RequiredKey of FileQuery

Get a signed file url via groupNames

Get a signed file url that expires after 15 minutes

Parameter

Accessible via URL https://api.channel.io/open/v4/groups/@{groupName}/messages/file and HTTP GET

Example

GET https://api.channel.io/open/v4/groups/@justGroup/messages/file?key=pub-file/12345/0a1b2c3d4e5f6g7h8i9j/example.txt

ParameterExampleRequiredDescriptionParameter Type
groupNamejustGroupRequiredName of GroupPath
keypub-file/12345
/0a1b2c3d4e5f6g7h8i9j
/example.txt
RequiredKey of FileQuery

Response

Returns a signed file url that expires after 15 minutes.

{
  "result": "String"
}