Attach File - From URL
Geoff Mina avatar
Written by Geoff Mina
Updated over a week ago

Provides the ability to attach files to core objects in the Moxie CRM by by providing a URL of a file that will be downloaded and subsequently attached to the Moxie object. Please note, this endpoint requires multipart/form-data encoding.
โ€‹
Endpoint: /action/attachments/createFromUrl

Method: POST

Request Body (multipart/form-data):

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

  • id - the unique identifier of the object

  • fileName - The name of the file to be attached

  • fileUrl - a valid HTTPS URL that the Moxie server will fetch the file from prior to uploading and attaching to the CRM object.n=

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?