Skip to main content
POST
/
v1
/
form_sets
/
{form_set_id}
/
conditions
Creates a Form Set Condition
curl --request POST \
  --url https://api.rootly.com/v1/form_sets/{form_set_id}/conditions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "form_set_conditions",
    "attributes": {
      "form_field_id": "<string>",
      "comparison": "equal",
      "values": [
        "<string>"
      ]
    }
  }
}'
{
  "data": {
    "id": "88eea9d1-8499-4946-8b92-865a08a0e06b",
    "type": "form_set_conditions",
    "attributes": {
      "form_set_id": "08a61da4-b12b-4725-a14d-35bc5863dabe",
      "form_field_id": "8cc49bbf-54e5-422b-b36b-78af6ef78efd",
      "comparison": "equal",
      "values": [
        "test"
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

form_set_id
string
required

Body

application/vnd.api+json
data
object
required

Response

form_set_condition created

data
object
required
I