Create Organization Custom Field

Deprecated

Deprecated. The custom fields functionality of the organizations section was migrated to the /custom-fields section.

Authentication

Api-Keystring

API key of the organization. Always sent together with the Secret-Access header.

Path parameters

organization_slugstringRequired

Headers

Secret-AccessstringRequired

Request

This endpoint expects an object.
namestringRequired
typeenumRequired
An enumeration.
can_editbooleanRequired
is_visiblebooleanRequired
descriptionstringRequired
is_mandatorybooleanRequired
max_lengthintegerRequired
where_mandatorystringOptional
custom_field_choiceslist of objectsOptional

Response

Successful Response
successboolean
messagestring
headquarterslist of objects

Errors

400
Bad Request Error
422
Unprocessable Entity Error