Last updated 1 day ago
Create an attachment
The request ID for tracking.
const response = await fetch('https://api.usepylon.com/attachments', { method: 'POST', headers: { "Content-Type": "multipart/form-data" }, body: JSON.stringify({}), }); const data = await response.json();
{ "data": { "description": "text", "id": "text", "name": "text", "url": "text" }, "request_id": "text" }