Attachments

Confirm Upload

Confirm that an attachment has been uploaded.

Must be called after the file is uploaded to the upload URL. Returns the attachment with a download URL.

post/attachments/{attachment_id}/confirm

Request

  • Base URL
    https://api.aspect.inc
  • URL
    https://api.aspect.inc/attachments/{attachment_id}/confirm
  • Auth
    API key in header Authorization

Path parameters

attachment_idstring uuid required

The ID of the attachment to confirm

Response

Successful Response

idstring uuid required

Resource identifier

urlstring nullable

Temporary download URL

url_expires_atstring date-time nullable

When the URL expires

filenamestring required

Original filename

mime_typestring required

MIME type of the file

size_bytesinteger required

File size in bytes

uploadedboolean required

Whether the file has been uploaded

createdstring date-time required

Created timestamp

Changes

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