With Composer API's integration with various cloud storage providers, you have the ability to select them as your generated documents destination. 

Include your desired cloud storage provider in the "Destinations" section of the Composer API using the following:

  • "IntegrationName" - this will be the name of the cloud storage provider, such as "box", "googledrive", etc. The full list of supported cloud storage destination options can be found below.
  • "folderId" - The location of the folder where you want to save your generated file. 
  • "fileId" - The location of your template stored in cloud storage. For more information on pulling the ID of this file, see How to Get File Ids for Composer API Request

Cloud Storage IntegrationNames

  • box
  • dropbox
  • googledrive
  • onedrive
  • salesforce
  • sharepoint
  • sftp
  • s3

For any cloud storage provider you have access to, you can either store a template as a post-merge destination, or pull from them as a template source. 

Destinations Example

"Destinations":[
	{
		"IntegrationName":"googledrive",
		"folderId": "{{GOOGLE_FOLDER}}"
	}
]
CODE

Template Source Example

"Destinations":[
	{
		"IntegrationName":"googledrive",
		"fileId": "{{GOOGLE_FOLDER}}"
	}
]
CODE