Skip to main content
POST
/
locations
/
{locationId}
/
customFields
/
upload
Uploads File to customFields
curl --request POST \
  --url https://services.leadconnectorhq.com/locations/{locationId}/customFields/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --header 'Version: <version>' \
  --form id=aWdODOBVOlH1RUFKWQke \
  --form maxFiles=15
{
  "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"
    }
  ]
}

Authorizations

Authorization
string
header
required

Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.

Headers

Version
enum<string>
required

API Version

Available options:
2021-07-28

Path Parameters

locationId
string
required

Body

multipart/form-data
id
string

Id(Contact Id/Opportunity Id/Custom Field Id)

Example:

"aWdODOBVOlH1RUFKWQke"

maxFiles
string

Max number of files

Example:

"15"

Response

Successful response

uploadedFiles
object

Uploaded files

Example:
{
"FileName.csv": "https://highlevel-private-staging.storage.googleapis.com/location/Ar4JQgIyuzRsVuwD9RSK/custom-Field/UpZLmohmKEQYn0ymqplY/56e0d7fc-085c-4a07-9e1d-6d8fdac7e710.csv"
}
meta
string[]

Meta data of uploaded files

Example:
[
{
"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"
}
]
Last modified on March 4, 2026