POST
/
v1
/
form_fields
curl --request POST \
  --url https://api.rootly.com/v1/form_fields \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/vnd.api+json'
{
  "data": {
    "id": "9c071fab-d6c5-4424-96d8-89e29a1b5ca1",
    "type": "form_fields",
    "attributes": {
      "team_id": 119,
      "slug": "test-custom-field",
      "kind": "custom",
      "input_kind": "text",
      "value_kind": "inherit",
      "value_kind_catalog_id": null,
      "name": "Test custom field",
      "description": null,
      "shown": [
        "web_new_incident_form",
        "slack_new_incident_form"
      ],
      "required": [],
      "default_values": [],
      "show_on_incident_details": true,
      "enabled": true,
      "updated_at": "2025-03-07T00:03:46.988-08:00",
      "created_at": "2025-03-07T00:03:46.988-08:00"
    },
    "relationships": {
      "options": {
        "data": []
      },
      "positions": {
        "data": [
          {
            "id": "01e39ba2-c739-49c9-8250-baf4ee935c57",
            "type": "form_field_positions"
          },
          {
            "id": "71b75b74-a9c4-4598-9088-652eb74a4999",
            "type": "form_field_positions"
          }
        ]
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/vnd.api+json
data
object
required

Response

201
application/vnd.api+json
form_field created
data
object
required