Tickets

POST /comments/{commentId}/attachment-upload-url

Returns a signed, temporary bucket url to upload an file for a comment

Request

  • Base URL
    https://connect.clever.gy
  • Auth
    API key in header clevergy-api-key

Path parameters

commentIdstring uuid required

ID of comment

Request body

fileNamestring required

The name of the file to upload. It should include the extension. If this file already exists, it will be overwritten.

Response

A signed, temporary bucket url to upload an file for a comment. Valid for 15 minutes. To upload a file send a PUT request adding the file as form data. The file will be uploaded to the bucket and the url will be returned in the response.

urlstring required

The signed url to upload the file. Valid for 15 minutes. Send a PUT request to this url with the file as form data.

Changes

No recorded changes to this operation across all 1 revision of this API.