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": "18afea4e-29b0-456f-a2c2-711f8cc7af07",
    "type": "form_set_conditions",
    "attributes": {
      "form_set_id": "b2c08dd8-a3e9-4618-ab9d-99509434a65a",
      "form_field_id": "a3ee8e47-63c1-44b6-aaa7-e5019fc61ebc",
      "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.