Skip to main content
POST
/
locations
/
{locationId}
/
customValues
Create Custom Value
curl --request POST \
  --url https://services.leadconnectorhq.com/locations/{locationId}/customValues \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Version: <version>' \
  --data '
{
  "name": "Custom Field Name",
  "value": "Value"
}
'
{
  "customValue": {
    "id": "rWQ709Pb62syqGLceg1x",
    "name": "Custom Field",
    "fieldKey": "{{ custom_values.custom_field }}",
    "value": "Value",
    "locationId": "rWQ709Pb6dasyqGLceg1x"
  }
}

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

Location Id

Body

application/json
name
string
required
Example:

"Custom Field Name"

value
string
required
Example:

"Value"

Response

Successful response

customValue
object
Last modified on March 4, 2026