Attachments
Create an attachment
Creating an attachment object creates a database record and returns the inputs needed to generate a signed url and upload the file from the client to cloud storage.
post/attachments.create
Request body
Example request
{
"name": "image.png",
"contentType": "image/png"
}Response
OK
Example response
{
"data": {
"attachment": {
"contentType": "image/png"
}
}
}