Skip to main content
POST
/
workspaces
/
{workspace_id}
/
case-fields
Error
A valid request URL is required to generate request examples
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

fastapiusersauth
string
cookie
required

Path Parameters

workspace_id
string<uuid>
required

Body

application/json

Create a new case field.

name
string
required

The name of the column

Required string length: 1 - 100
type
enum<string>
required

The SQL type of the column

Available options:
TEXT,
INTEGER,
NUMERIC,
DATE,
BOOLEAN,
TIMESTAMPTZ,
JSONB,
SELECT,
MULTI_SELECT
Required string length: 1 - 100
nullable
boolean
default:true
default
unknown
options
string[] | null
kind
enum<string> | null

Semantic kind for case custom fields.

Controls how the field is rendered in the UI without changing the underlying SQL storage type.

Available options:
LONG_TEXT,
URL
required_on_closure
boolean
default:false

Response

Successful Response