Use this API call to upload documents to a record ID in Shape
To upload a document for a lead, send an authorized POST request to https://secure-api.setshape.com/api/upload/lead/document
Upload documents to record files with these parameters:
This is required in order for this API call to work. This is the Shape lead ID
Attach the document to upload here
The authentication token must be passed in the request header for every API request. You can find and generate your authentication token in your system settings page under “API Integrations.”
Find your authorization code in the API Integrations page in your system settings: https://secure.setshape.com/integrations
JSON request body formatting example:
{
"document": // Attach Document to upload,
"leadid": "60679",
}
Upon success, the server returns HTTP codes and messages in the header with some additional elements and properties that are set by the server, such as id.
{
"message": "Document uploaded successfully",
"lead_id": "123"
}
Changing templates will take time and may require a template change fee.
Not sure what to choose? Contact us.