Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Required

Format

Description

lead_id

integer

A Valid Lead ID.

file

A “File” type multipart/form-data file

TLD Will only accept one file per call. The first file found in the form-data will be used as well as it’s name. The form-data key does not need to be file as long as it is sent as a file type in can be of any non-conflicting form key.

description

string

A text description of the file.

type_id

integer

A Document Type ID. You can find these by going to Settings -> Fields in TLDCRM and using the middle dropdown menu to find Document Types. You can append /fields?field=document_type&limit=100&page=1&order_by=id&sort=ASCto your TLDCRM Domain to get there quickly. Default Value is 9 "Ingress DocumentAPI". You can both customize file type names and descriptions as well as add your own in the Fields section.

status

integer, 0, 1, 2

Default 1. Valid Options are -1 - Flagged, 0 - Trashed, 1 - Private, 2 - Public. Public documents can be accessed via their short URL or the Direct CRM URL. Otherwise documents can only be seen by logged in users with permissions to see documents.

...