v1 - Attachments

Create attachment

Creates a new attachment record

post/v1/attachments

Request

  • Base URL
    https://light.inc (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Request body

resourceIdstring uuid
documentKeystring
fileNamestring
contentTypestring

Response

default response

idstring uuid
companyIdstring uuid
resourceIdstring uuid
documentKeystring
fileNamestring
contentTypestring
createdBystring uuid
createdAtstring date-time
updatedAtstring date-time
status'ACTIVE' | 'ARCHIVED'

ARCHIVED once the attachment was archived. Who archived it and when is on the record's activity log.

⚠️ This enum is not exhaustive; new values may be added in the future.

Changes

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