Skip to main content
POST
Create Custom Field

Authorizations

Authorization
string
header
required

Authentication: You can generate a Personal Access Token from your settings.

Body

application/json

Schema used to create a custom field of type text.

type
string
required
Allowed value: "text"
slug
string
required

Slug: Unique organization-wide storage key for this custom field. Use only ASCII letters, numbers, and hyphens.

Minimum string length: 1
Pattern: ^[a-z0-9-_]+$
name
string
required

Display name assigned to the custom field.

Minimum string length: 1
properties
CustomFieldTextProperties · object
required
metadata
Metadata · object

Metadata map for information your integration needs to retain.

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.

organization_id
string<uuid4> | null

Identifier of the organization.

Example:

"1dbfc517-0bbf-4301-9ba8-555ca42b9737"

Response

Response: Custom field created.

Schema for a custom field of type text.

created_at
string<date-time>
required

The time Ruba created this record.

modified_at
string<date-time> | null
required

The time this record last changed.

id
string<uuid4>
required

The stable identifier for this record.

metadata
object
required
type
string
required
Allowed value: "text"
slug
string
required

Slug: Storage key used for this custom field.

name
string
required

Display name assigned to the custom field.

organization_id
string<uuid4>
required

Unique identifier for the organization owning the custom field.

Example:

"1dbfc517-0bbf-4301-9ba8-555ca42b9737"

properties
CustomFieldTextProperties · object
required