Skip to main content

Get Comment Attachment Upload URL

POST 

/organizations/:organizationId/work-orders/:workOrderId/attachments/upload-url

Get a pre-signed URL for uploading work order COMMENT attachments. NOTE: General work order attachments use AWS Amplify Storage directly from frontend.

Request

Path Parameters

    organizationId stringrequired

    Organization ID

    workOrderId stringrequired

    Work Order ID

Body

required
    filename stringrequired

    Name of the file to upload

    contentType stringrequired

    MIME type of the file

    size numberrequired

    Size of the file in bytes

Responses

Schema
    uploadUrl stringrequired

    Pre-signed URL for upload

    key stringrequired

    S3 key of the file

    expiresIn numberrequired

    URL expiration time in seconds

Loading...