POST
/
v1
/
form_sets
/
{form_set_id}
/
conditions
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": "08c7a933-3d55-40d1-be2b-939320c40522",
    "type": "form_set_conditions",
    "attributes": {
      "form_set_id": "605136dd-2ae7-4ed6-93f7-683425b8ee34",
      "form_field_id": "03268e48-c0b4-4885-8cde-2c276a8a0904",
      "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

Response

201
application/vnd.api+json

form_set_condition created

The response is of type object.