Attachments
Uploads a file as an attachment. The returned URL can be used when creating issues or messages. Files up to 100 MB (104,857,600 bytes) are supported. Larger files may be rejected and should be shared using an externally hosted link. This applies to direct uploads and files fetched through file_url. Downstream delivery channels may impose smaller limits.
Rate limit: 30 requests per minute
Authorization: Bearer
The description of the file.
The file to upload. Files up to 100 MB (104,857,600 bytes) are supported. Larger files may be rejected and should be shared using an externally hosted link.
The URL to fetch the file from, if the file is not provided. Fetched files up to 100 MB (104,857,600 bytes) are supported. Larger files may be rejected and should be shared using an externally hosted link.
The request ID for tracking.
The request was invalid or could not be completed.
The authenticated caller or organization is not allowed to access this endpoint or operation.
The uploaded file is too large.
An unexpected internal error occurred.
POST /attachments HTTP/1.1
Host: api.usepylon.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 56
{
"description": "text",
"file": "binary",
"file_url": "text"
}{
"data": {
"description": "text",
"id": "text",
"name": "text",
"url": "text"
},
"request_id": "text"
}Last updated
Was this helpful?

