Attachments API

Creating attachments (files) for Control panel tickets via API.

Authorization

Selectel tokens (API keys) which are passed in the X-Token header in each request are used to work with the Attachments API.

URL: https://api.selectel.ru/files

An example request to return the attachment extensions available for download:

curl -i \
-H 'X-Token: <selectel_token>' \
https://api.selectel.ru/files/public/files/extensions

Specify <selectel_token> — a Selectel token.

Limitations

Attachments API requests are limited per unit of time.

Action Limit
Attachments uploading per minute 20 attachments
Attachments per one comment 10 attachments
File size 20 MB
Tickets per minute 2 tickets
Comments per minute 60 comments