Uploads File to customFields
POST/locations/:locationId/customFields/upload
Uploads File to customFields
Request
Version stringrequired
API Version
Available options
v3locationId stringrequired
- multipart/form-data
- Body
- Example (auto)
Bodyrequired
idstring
Id(Contact Id/Opportunity Id/Custom Field Id)
maxFilesstring
Max number of files
{
"id": "aWdODOBVOlH1RUFKWQke",
"maxFiles": "15"
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
uploadedFilesobject
Uploaded files
metastring[]
Meta data of uploaded files
{
"uploadedFiles": {
"FileName.csv": "https://highlevel-private-staging.storage.googleapis.com/location/Ar4JQgIyuzRsVuwD9RSK/custom-Field/UpZLmohmKEQYn0ymqplY/56e0d7fc-085c-4a07-9e1d-6d8fdac7e710.csv"
},
"meta": [
{
"fieldname": "FileName.csv",
"originalname": "FileName.csv",
"encoding": "7bit",
"mimetype": "text/csv",
"size": 2061,
"url": "https://highlevel-private-staging.storage.googleapis.com/location/Ar4JQgIyuzRsVuwD9RSK/custom-Field/UpZLmohmKEQYn0ymqplY/56e0d7fc-085c-4a07-9e1d-6d8fdac7e710.csv"
}
]
}