CreateAgentAttachmentUploadRequest

A request or response body; the type column links to the schemas it refers to.

CreateAgentAttachmentUploadRequest

FieldTypeRequiredDescription
file_namestringyes

1–255 characters

content_typestringyes

The type the file will be PUT with: a PNG, JPEG, WebP or GIF image, or a PDF.

one of "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "application/pdf"

size_bytesintegeryes

The file's exact size: at most 10 MB for an image, 20 MB for a PDF.

minimum 1 · maximum 20971520

jsonExample
{
  "file_name": "forklift-certificate.pdf",
  "content_type": "image/png",
  "size_bytes": 482113
}