Attach File - Multipart File Upload
Geoff Mina avatar
Written by Geoff Mina
Updated over a week ago

Provides the ability to upload file attachments to core objects in the Moxie CRM by via a Multipart file upload. Please note, this endpoint requires multipart/form-data encoding.
โ€‹
Endpoint: /action/attachments/create

Method: POST

Request Body (multipart/form-data):

  • type - one of CLIENT, PROJECT, DELIVERABLE, OPPORTUNITY, EXPENSE

  • id - the unique identifier of the object

  • file - Multi-Part File upload as a single file to be attached to the object - no larger than 100M

The endpoint will return an auto-expiring secure/signed URL for the file upon successful upload. Note: The download URL will expire 15 minutes after creation.

Did this answer your question?