Skip to main content
POST
Upload attachment
Replace {your-subdomain} with your workspace’s subdomain.
Learn how to find your subdomain in Workspace subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.

Body

multipart/form-data
file
file
required

The file to upload. Sent as multipart/form-data.

Response

Created - File uploaded successfully

id
string
Example:

"aaaabbbb-cccc-dddd-eeee-ffff00004444"

signed_id
string

Pass this to attachments on ticket or comment create to attach the file. It is only accepted in the workspace that uploaded it.

Example:

"eyJfcmFpbHMiOnsiZGF0YSI6IjEyMyJ9fQ=="

filename
string
Example:

"report.pdf"

content_type
string
Example:

"application/pdf"

byte_size
integer
Example:

20481

checksum
string
Example:

"Y2hlY2tzdW1leGFtcGxl"

blob_url
string

URL the uploaded file can be fetched from.

Example:

"https://spinkart.neetodesk.com/rails/active_storage/blobs/report.pdf"

created_at
string<date-time>
read-only
Example:

"2025-12-01T10:15:00Z"