API /
Reference /
Attachments
Create attachment
POST
https://api.light.inc/v1/attachments
Creates a new attachment record
Authorization
Send one of these on every request. See
Authentication for how to get credentials.
- API key
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
- Bearer token
Request body
application/json;charset=UTF-8
-
resourceId
string · uuid
-
documentKey
string
-
fileName
string
-
contentType
string
-
metadata
object
-
type
string
⚠️ This enum is not exhaustive; new values may be added in the future.
One of AR