Skip to main content
POST
/
case-fields
Create Field
curl --request POST \
  --url https://api.example.com/case-fields \
  --header 'Content-Type: application/json' \
  --cookie fastapiusersauth= \
  --data '
{
  "name": "<string>",
  "type": "TEXT",
  "nullable": true,
  "default": "<unknown>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

fastapiusersauth
string
cookie
required

Query 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,
BOOLEAN,
TIMESTAMP,
TIMESTAMPTZ,
JSONB,
UUID
Required string length: 1 - 100
nullable
boolean
default:true
default
unknown

Response

Successful Response