Files

Resource Fields

Name Type Read-only Description
name string
size integer
content_type string
content binary
content_url string URL for file download
hash string Unique hash that identifies the file
group_hash string Always s:<session-id>
created_at timestamp ISO-8601 Format
expiry_at timestamp ISO-8601 Format

Metadata




 
 




Actions

Retrieve all files

GET /api/v1/files.json

Information

Allowed for Collaborators, Agents, Admins & Owners

Response

    {
        "status": 200,
        "data": [
            {
    "id": 1,

    "name": "coffee.png",
    "size": 2347,
    "content_type": "image/png",
    "content": "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAI8klEQVRYw8WXa4yU1RnHf+e9zbxz2ZnZ2+zM7gKCy6JQsChWbCti1CpaNRooTWttq1L7pemnGq2JsbYWTJNaG61py4ciTdXaRG2td7EiK7KC3FZYYIBlWdidvc798r7vOf2wFxZEyocmnuQkczl5nv/zf/7neZ4jlFJ8kUvjC17GS3997nP/DIZCZHNZtm7tZMmXF7Hq7u//X51v2/QfjPM+LcSZv1hAHIgBJpADUoB3viZ1XT8/AEIINO20bDUBc4AIYEwAGAN6gdLkobUPPUK8rg4hBGcqTSnFZVcsOQ8NTASu6TrdHVvYuP4vk9rJAaOAAxwE3rlr5bdLn37YwRO/eIw9H2whEAxiBwP4AwHsadsfsLH8PnTD+N8MKAUKEEJDN01Mn+9SHO5V0psvTL0VDRM4mj5+cqNhWX8wLR+mz4dpWRiGgW4YZ7GpJlKgfT4ApcYPSinxXA9PqhfQtJULWuv56O2XqGuME0skcMtlirlsUnrulY8/8sDTQ2OFqlSsVPDKOVMqNLZ/tP1cDCikVDiu+9Cau+98NECJkZEeylUHQwNNOdQlWwCd0sgwI+mT9A8eh6prrb712pcHMpWy50lbehKhiSnH01MrBBinq0ONf1UglcKT8k+L57fdU0inaF4wn3hzlO7OHXR+0EFv3zFy2WG+ccftJGfNJRCKkEg0EQg10NfbjSpl/DetuE51bNkmdE0gNIGu62hCIKWa2oaU3nT/qAkQSrH0Swvm3dN34GOWrrierRs38MBPH+C9jHsaT//eupfbVq1GUxVM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wro+gxNCJ8Q4mS+XDzhunJ/xXWPz58zh0rFoarGo+Zz7AMYUinEuUBMANE1DUPXMXW9IDSt07KsTmNiyhVCYHouAhcJaJqG0MTk9T7n+i9E3g5FqneL1QAAAABJRU5ErkJggg==",
    "content_url": "https://brewfictus.kayako.com/api/v1/files/1/content",
    "hash": "njfm3olrtyx6xong0qgyxop3g4cx7oqq",
    "group_hash": "s:eqLyhuWTm4pCxpNFPfTOqw1m7J0tr7ecbcd391681ad6abbaf45aa19e7120421c038c25ncb2oeC5J0uD0nODSw",
    "created_at": "2015-08-27T09:27:48+05:00",
    "expiry_at": "2015-08-27T12:27:48+05:00",

    "resource_type": "file"

    ,"resource_url": "https://brewfictus.kayako.com/api/v1/files/1"

}

        ],
        "resource": "file",
        "offset": 0,
        "limit": 10,
        "total_count": 1
    }

Retrieve a file

GET /api/v1/files/:id.json

Information

Allowed for Collaborators, Agents, Admins & Owners

Response

    {
        "status": 200,
        "data": {
    "id": 1,

    "name": "coffee.png",
    "size": 2347,
    "content_type": "image/png",
    "content": "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAI8klEQVRYw8WXa4yU1RnHf+e9zbxz2ZnZ2+zM7gKCy6JQsChWbCti1CpaNRooTWttq1L7pemnGq2JsbYWTJNaG61py4ciTdXaRG2td7EiK7KC3FZYYIBlWdidvc798r7vOf2wFxZEyocmnuQkczl5nv/zf/7neZ4jlFJ8kUvjC17GS3997nP/DIZCZHNZtm7tZMmXF7Hq7u//X51v2/QfjPM+LcSZv1hAHIgBJpADUoB3viZ1XT8/AEIINO20bDUBc4AIYEwAGAN6gdLkobUPPUK8rg4hBGcqTSnFZVcsOQ8NTASu6TrdHVvYuP4vk9rJAaOAAxwE3rlr5bdLn37YwRO/eIw9H2whEAxiBwP4AwHsadsfsLH8PnTD+N8MKAUKEEJDN01Mn+9SHO5V0psvTL0VDRM4mj5+cqNhWX8wLR+mz4dpWRiGgW4YZ7GpJlKgfT4ApcYPSinxXA9Pq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Zv7JgUno+qpioXL/sDe8Npsr0FBXR2MySSwenzJsWhamZZ19mvNgbGSQ1P79ZLJZSpXKHz34USQcngp2sncZ4swHhxgHouvauhPDY+vDfv+zUqkbhoaGCYUOUxOJEKutJVBTg2VZgIbnOZQrZYqZLIPpNPlcjnw+R6FcPVIsFb8bjUQ6lOeNszvZBScBKKX4LAiBEAJd04ZM07yx6+DB5rBtrwmHgj8MpodbdLMXf9CPqesopRBAuVyiWq5QLFcplIt/zxdKT5Y854NEbS3ahL2zvg3PCuCMF5Gu632WZT28L3X4YUOIoNC0i/2W1Wro+gxNCJ8Q4mS+XDzhunJ/xXWPz58zh0rFoarGo+Zz7AMYUinEuUBMANE1DUPXMXW9IDSt07KsTmNiyhVCYHouAhcJaJqG0MTk9T7n+i9E3g5FqneL1QAAAABJRU5ErkJggg==",
    "content_url": "https://brewfictus.kayako.com/api/v1/files/1/content",
    "hash": "njfm3olrtyx6xong0qgyxop3g4cx7oqq",
    "group_hash": "s:eqLyhuWTm4pCxpNFPfTOqw1m7J0tr7ecbcd391681ad6abbaf45aa19e7120421c038c25ncb2oeC5J0uD0nODSw",
    "created_at": "2015-08-27T09:27:48+05:00",
    "expiry_at": "2015-08-27T12:27:48+05:00",

    "resource_type": "file"

    ,"resource_url": "https://brewfictus.kayako.com/api/v1/files/1"

}
,
        "resource": "file"
    }

Download a file

GET /api/v1/files/:id/content.json

Information

Allowed for Collaborators, Agents, Admins & Owners

Dispatches the file to the API client using the standard HTTP protocol (i.e. triggers usual file download).

Add a file

POST /api/v1/files.json

Information

Allowed for Collaborators, Agents, Admins & Owners

This endpoint supports fingerprint-based authentication.

Files cannot be retrieved using fingerprint authentication, only created.

Parameters

Name Type Mandatory Description
name string
The file name
content buffer
The content of the file

Upload

File resources can be created not only by providing values for name and content resource fields, but also by uploading files using the following scenarios:

  • Providing the content as the request body, and the name in the Content-Disposition HTTP header or in the special _filename argument.
  • Using the standard HTTP multipart/form-data format of the request. With this format you can upload multiple files at once.

Check File Upload for details.

Response

    {
        "status": 201,
        "data": {
    "id": 1,

    "name": "coffee.png",
    "size": 2347,
    "content_type": "image/png",
    "content": "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAI8klEQVRYw8WXa4yU1RnHf+e9zbxz2ZnZ2+zM7gKCy6JQsChWbCti1CpaNRooTWttq1L7pemnGq2JsbYWTJNaG61py4ciTdXaRG2td7EiK7KC3FZYYIBlWdidvc798r7vOf2wFxZEyocmnuQkczl5nv/zf/7neZ4jlFJ8kUvjC17GS3997nP/DIZCZHNZtm7tZMmXF7Hq7u//X51v2/QfjPM+LcSZv1hAHIgBJpADUoB3viZ1XT8/AEIINO20bDUBc4AIYEwAGAN6gdLkobUPPUK8rg4hBGcqTSnFZVcsOQ8NTASu6TrdHVvYuP4vk9rJAaOAAxwE3rlr5bdLn37YwRO/eIw9H2whEAxiBwP4AwHsadsfsLH8PnTD+N8MKAUKEEJDN01Mn+9SHO5V0psvTL0VDRM4mj5+cqNhWX8wLR+mz4dpWRiGgW4YZ7GpJlKgfT4ApcYPSinxXA9PqhfQtJULWuv56O2XqGuME0skcMtlirlsUnrulY8/8sDTQ2OFqlSsVPDKOVMqNLZ/tP1cDCikVDiu+9Cau+98NECJkZEeylUHQwNNOdQlWwCd0sgwI+mT9A8eh6prrb712pcHMpWy50lbehKhiSnH01MrBBinq0ONf1UglcKT8k+L57fdU0inaF4wn3hzlO7OHXR+0EFv3zFy2WG+ccftJGfNJRCKkEg0EQg10NfbjSpl/DetuE51bNkmdE0gNIGu62hCIKWa2oaU3nT/qAkQSrH0Swvm3dN34GOWrrierRs38MBPH+C9jHsaT//eupfbVq1GUxVMJ0fEdlj1nR/TNLed7n3dXHr5ZSqTzYhEYwObOz/irdfeZM1992C6Hq7rYESTTVPCUEoRb20mlx4m4Au83HtoN+1zZvHg9dfx6027P5Ok1voAi792HbWJOeiGQSWf4cWNv+VXT7zO+sd+wlfv+B4DozmkJ++XnrcOQBNiPFClUIppDEzQLj0PKb0n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wTMFotdI7OWEZpqFNzhyvaUpdraTEk4r6WAwhJZqus6+ri8Opg2RGx5jTfiHhaATb58O2TFzXIxQOkGhsoeqW+GTHTl547nl0IWhrn4vwmdTW1tMYj9Pa0kxPKoUQYudUUzywa+pzQ7VSTet+PzV19SSTCaQnGUwPkB4c5GjqMD1Hj+K5HoFwiEgkgm3bGJZBpVTB9TwOdR+g+0A3zYkEcy+6iEg0SihSQzLRQjQaRrguJ3p6dvgD/kuZ4N2Y7NMCBl3p3ZdNp5+RjkNjUyOGrhNPJAiEw9REa0jOaKXnUIqjPT309PRQzBdASaqOgwLq6utZtuwq4okE4VAYOxSgrb2dmlCYg11dDA0MYFjWg0JoU9VXpPbuGU+BEOQLBYrF8mvlUvGGhsZGLl60CHR9SmflUpHMWJbBwUGy2SyZzBiViouuC/y2TTgSIhAIYVs+fH4fM2bOBOD4oUMcSaXQDONfdiDwzVDQnqx/iPfeenNq7BYTbCjHfUEJuTIWiTLjgguJNjZ8ps471SqlUgnHcUCArumYloll+jAtc+rc/l276D9xAmCz0vXlgHeqGSkMTdOmZv7JgUno+qpioXL/sDe8Npsr0FBXR2MySSwenzJsWhamZZ19mvNgbGSQ1P79ZLJZSpXKHz34USQcngp2sncZ4swHhxgHouvauhPDY+vDfv+zUqkbhoaGCYUOUxOJEKutJVBTg2VZgIbnOZQrZYqZLIPpNPlcjnw+R6FcPVIsFb8bjUQ6lOeNszvZBScBKKX4LAiBEAJd04ZM07yx6+DB5rBtrwmHgj8MpodbdLMXf9CPqesopRBAuVyiWq5QLFcplIt/zxdKT5Y854NEbS3ahL2zvg3PCuCMF5Gu632WZT28L3X4YUOIoNC0i/2W1Wro+gxNCJ8Q4mS+XDzhunJ/xXWPz58zh0rFoarGo+Zz7AMYUinEuUBMANE1DUPXMXW9IDSt07KsTmNiyhVCYHouAhcJaJqG0MTk9T7n+i9E3g5FqneL1QAAAABJRU5ErkJggg==",
    "content_url": "https://brewfictus.kayako.com/api/v1/files/1/content",
    "hash": "njfm3olrtyx6xong0qgyxop3g4cx7oqq",
    "group_hash": "s:eqLyhuWTm4pCxpNFPfTOqw1m7J0tr7ecbcd391681ad6abbaf45aa19e7120421c038c25ncb2oeC5J0uD0nODSw",
    "created_at": "2015-08-27T09:27:48+05:00",
    "expiry_at": "2015-08-27T12:27:48+05:00",

    "resource_type": "file"

    ,"resource_url": "https://brewfictus.kayako.com/api/v1/files/1"

}
,
        "resource": "file"
    }

Delete a file

DELETE /api/v1/files/:id.json

Information

Allowed for Collaborators, Agents, Admins & Owners
Scope conversations

Response

{
    "status": 200
}

Delete files

DELETE /api/v1/files.json

Information

Allowed for Collaborators, Agents, Admins & Owners

Arguments

Name Type Mandatory Description
ids array
Array of IDs

Response

{
    "status": 200,
    "total_count": 2
}