Last updated 3 months ago
Was this helpful?
Create an attachment
The description of the file.
The file to upload.
The URL to fetch the file from, if the file is not provided.
POST /attachments HTTP/1.1 Host: api.usepylon.com Authorization: Bearer JWT 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" }