Uptimeify Docs
Custom fields

Create Custom Field

Creates a new custom field definition.

POST /api/custom-fields

Request Body

FieldTypeRequiredDefaultDescription
organizationIdnumberYesOrganization ID
namestringYesDisplay name
fieldKeystringNoauto from nameUnique key (auto-normalized: lowercase, non-alphanumeric → _)
fieldTypestringNotexttext, select, or multiselect
isRequiredbooleanNofalseWhether the field is required
displayOrdernumberNo0Sort order
optionsarrayNo[]Options for select/multiselect types
placeholderstring|nullNonullPlaceholder text
helpTextstring|nullNonullHelp text below the field
showInTablebooleanNotrueShow in table views

Example (cURL)

curl -X POST "$BASE_URL/api/custom-fields" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "organizationId": 1,
    "name": "Environment",
    "fieldType": "select",
    "options": ["production", "staging", "development"],
    "isRequired": true,
    "showInTable": true
  }'

Common errors

  • 409 Conflict when fieldKey already exists for the organization

Response

Returns the created custom field object. See Error Codes for error responses.

On this page