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/v5/groups/{groupId}/messages/file
and HTTP GET
This method does currently accept
application/json
only.
Parameter | Example | Required | Description | Parameter Type |
---|---|---|---|---|
groupId | 1234 | Required | Id of Group | Path |
key | pub-file/12345 /0a1b2c3d4e5f6g7h8i9j /example.txt | Required | Key of File | Query |
Example
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/v5/groups/@{groupName}/messages/file
and HTTP GET
Parameter | Example | Required | Description | Parameter Type |
---|---|---|---|---|
groupName | justGroup | Required | Name of Group | Path |
key | pub-file/12345 /0a1b2c3d4e5f6g7h8i9j /example.txt | Required | Key of File | Query |
Example
Response
Returns a signed file url that expires after 15 minutes.
{
"result": "String"
}
Updated about 1 year ago