View Categories

CFS File Upload API documentation

< 1 min read

Please refer to the file upload APIs.

File URLs based on region:

Region

URL

US

https://files-us11.leadsquared.com/File/Upload

SGP

https://files.leadsquared.com/File/Upload

MUM

https://files-in21.leadsquared.com/File/Upload


Following are the different values allowed for some of the parameters in FileUpload URL:

FileType

0 = Document

1 = Image

2 = LandingPageDocument

3 = LeadAttachment

4 = UserProfile

5 = DeveloperAppDocument

6 = ProductAttachment

7 = CustomObjectDocument

8 = LeadPhoto

9 = FormLogo

10= FormPreview

 

FileStorageType

0 = Permanent

1 = Temporary

 

entity

0 = for Lead

1 = for Activity

2 = for Account

 

StorageVersion

0 is for the LeadSquared configuration

If there are any customer defined storage configurations, version will depend on which of those configuration versions to use

 

The parameters used for FileUpload URL may depend on the FileType value. The parameters that were mentioned in the document are related to CustomObjectDocument(7) type.

Scroll to Top