v1 - Attachments

List attachments

Returns the attachments of a specific resource with the given status. Without status, only active attachments are returned; pass status=ARCHIVED for archived ones, or both values for all. Attachments and their files are kept indefinitely: a replaced file stays listed as a separate, archived attachment next to the one that replaced it.

get/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

Query parameters

resourceIdstring uuid
statusstring[]

Statuses to return, repeatable. Defaults to ACTIVE.

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.