Create an attachment
Requires the ATTACHMENT.CREATE permission.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
version
Headers
x-platform-id
Platform ID.
Request
This endpoint expects an object.
document_id
The document ID to attach.
document
The expanded document object.
resource
The resource to attach the document to.
Response
Created
object_type
id
created_at
document_id
The document ID to attach.
document
The expanded document object.
resource
The resource to attach the document to.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error