Skip to main content
POST
/
public
/
companies
/
{company_id}
/
custom-fields
cURL
curl --request POST \
  --url https://api.example.com/public/companies/{company_id}/custom-fields \
  --header 'Content-Type: application/json' \
  --data '
{
  "field_name": "<string>",
  "field_value": "<string>"
}
'
{
  "id": 123,
  "updated_time": "2023-11-07T05:31:56Z",
  "field_name": "<string>",
  "field_value": "<string>"
}

Path Parameters

company_id
integer
required

Body

field_name
string
required
field_value
string
required
Maximum string length: 2500

Response

Created. The custom field was successfully created.

id
integer
required
updated_time
string<date-time>
required
field_name
string
required
field_value
string
required
Maximum string length: 2500