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": "1a084473-7415-4dd6-9dcc-27bfc81264d0",
    "type": "form_set_conditions",
    "attributes": {
      "form_set_id": "17e6008e-4181-4151-8fd2-55d39cf6e646",
      "form_field_id": "ab347cee-be52-46de-9b4d-8246fe088d0d",
      "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

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