Resources (Attachments)
The following macros are not currently supported in the header:
  • style

Resources (Attachments)

The following endpoints can be used to access and manipulate resources. Resources are grouped in collections against objects.

  1. Company

  2. Contact

  3. Prospect

  4. Issue

  5. Contract

  6. Job

  7. Quote

METHOD

ENDPOINT

DESCRIPTION

METHOD

ENDPOINT

DESCRIPTION

GET

/:object_type/:object_id/collections

Returns an array of collections for a given object.

POST

/:object_type/:object_id/collections/:collection_id/resources  

Upload an attachment to given object's collection.

GET

/resources/:resource_id

View details about a specific resource. This will not download the file resource. To do this please see the download endpoint.

GET

/resources

View a list of resource details. Like get single resource this endpoint will not download the resources file. To do this please see the download endpoint.

GET

/resources/:resource_id/download

Download a resource file.