Create Custom Field
Intent
Creates a custom field from the values supplied in the request.
When to call it
Call this when your application has collected the required values and is ready to create a custom field.
Access boundary
Authorize the request with a token that carries custom_fields:write.
Successful result
A successful request returns 201. The response schema below defines the body your integration receives.
Operational notes
Create a custom field.
Scopes: custom_fields:write
Authorizations
You can generate an Organization Access Token from your organization's settings.
Body
- CustomFieldCreateText
- CustomFieldCreateNumber
- CustomFieldCreateDate
- CustomFieldCreateCheckbox
- CustomFieldCreateSelect
Schema to create a custom field of type text.
"text"Identifier of the custom field. It'll be used as key when storing the value. Must be unique across the organization.It can only contain ASCII letters, numbers and hyphens.
1^[a-z0-9-_]+$Name of the custom field.
1Key-value object allowing you to store additional information.
The key must be a string with a maximum length of 40 characters. The value must be either:
- A string with a maximum length of 500 characters
- An integer
- A floating-point number
- A boolean
You can store up to 50 key-value pairs.
The organization ID.
"1dbfc517-0bbf-4301-9ba8-555ca42b9737"
Response
Custom field created.
- CustomFieldText
- CustomFieldNumber
- CustomFieldDate
- CustomFieldCheckbox
- CustomFieldSelect
Schema for a custom field of type text.
The time Ruba created this record.
The time this record last changed.
The stable identifier for this record.
"text"Identifier of the custom field. It'll be used as key when storing the value.
Name of the custom field.
The ID of the organization owning the custom field.
"1dbfc517-0bbf-4301-9ba8-555ca42b9737"