/files.list
GET
/files.list
files
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://slack.com/api/files.list'
Response Response Example
200 - response
{
"files": [
{
"channels": [
"C0T8SE4AU"
],
"comments_count": 0,
"created": 1531763254,
"deanimate_gif": "https://.../billair_deanimate_gif.png",
"display_as_bot": false,
"editable": false,
"external_type": "",
"filetype": "gif",
"groups": [],
"id": "F0S43P1CZ",
"image_exif_rotation": 1,
"ims": [],
"is_external": false,
"is_public": true,
"mimetype": "image/gif",
"mode": "hosted",
"name": "billair.gif",
"original_h": 226,
"original_w": 176,
"permalink": "https://.../billair.gif",
"permalink_public": "https://.../...",
"pjpeg": "https://.../billair_pjpeg.jpg",
"pretty_type": "GIF",
"public_url_shared": false,
"size": 144538,
"thumb_160": "https://.../billair_=_160.png",
"thumb_360": "https://.../billair_360.png",
"thumb_360_gif": "https://.../billair_360.gif",
"thumb_360_h": 226,
"thumb_360_w": 176,
"thumb_64": "https://.../billair_64.png",
"thumb_80": "https://.../billair_80.png",
"timestamp": 1531763254,
"title": "billair.gif",
"url_private": "https://.../billair.gif",
"url_private_download": "https://.../billair.gif",
"user": "U061F7AUR",
"username": ""
},
{
"channels": [
"C0T8SE4AU"
],
"comments_count": 0,
"created": 1531763342,
"deanimate_gif": "https://.../tedair_deanimate_gif.png",
"display_as_bot": false,
"editable": false,
"external_type": "",
"filetype": "gif",
"groups": [],
"id": "F0S43PZDF",
"image_exif_rotation": 1,
"ims": [],
"is_external": false,
"is_public": true,
"mimetype": "image/gif",
"mode": "hosted",
"name": "tedair.gif",
"original_h": 226,
"original_w": 176,
"permalink": "https://.../tedair.gif",
"permalink_public": "https://.../...",
"pjpeg": "https://.../tedair_pjpeg.jpg",
"pretty_type": "GIF",
"public_url_shared": false,
"size": 137531,
"thumb_160": "https://.../tedair_=_160.png",
"thumb_360": "https://.../tedair_360.png",
"thumb_360_gif": "https://.../tedair_360.gif",
"thumb_360_h": 226,
"thumb_360_w": 176,
"thumb_64": "https://.../tedair_64.png",
"thumb_80": "https://.../tedair_80.png",
"timestamp": 1531763342,
"title": "tedair.gif",
"url_private": "https://.../tedair.gif",
"url_private_download": "https://.../tedair.gif",
"user": "U061F7AUR",
"username": ""
}
],
"ok": true,
"paging": {
"count": 100,
"page": 1,
"pages": 1,
"total": 2
}
}
Request
Query Params
token
stringÂ
optional
files:read
user
stringÂ
optional
channel
stringÂ
optional
ts_from
numberÂ
optional
ts_to
numberÂ
optional
types
stringÂ
optional
types=spaces,snippets
.The default value is all
, which does not filter the list.count
stringÂ
optional
page
stringÂ
optional
show_files_hidden_by_limit
stringÂ
optional
Responses
Modified at 2023-08-15 05:39:46