Get Custom Fields
Request
Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
Provide your bearer token in the Authorization header when making requests to protected resources.
Path Parameters
locationId
stringLocation Id
Examples:
ve9EPM428h8vShlRW1KT
Query Parameters
model
stringModel of the custom field you want to retrieve
Allowed values:
contactopportunityall
Examples:
opportunity
Headers
Authorization
stringAccess Token
Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
stringAPI Version
Allowed value:
2021-07-28
Responses
200
Successful response
Body
customFields
array[object]id
stringExample:
3sv6UEo51C9Bmpo1cKTq
name
stringExample:
pincode
fieldKey
stringExample:
contact.pincode
placeholder
stringExample:
Pin code
dataType
stringExample:
TEXT
position
numberExample:
0
picklistOptions
array[string]Example:
["first option"]
picklistImageOptions
array[string]Example:
[]
isAllowedCustomOption
booleanExample:
false
isMultiFileAllowed
booleanExample:
true
maxFileLimit
numberExample:
4
locationId
stringExample:
3sv6UEo51C9Bmpo1cKTq
model
stringModel of the custom field
Allowed values:
contactopportunity
Example:
opportunity
422
Unprocessable Entity
Body
statusCode
number
Example:
422
message
array[string]
Example:
["Unprocessable Entity"]
error
string
Example:
Unprocessable Entity
401
Unauthorized
Body
statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized
400
Bad Request
Body
statusCode
number
Example:
400
message
string
Example:
Bad Request