POST
/
v1
/
form_field_placements
/
{form_field_placement_id}
/
conditions
curl --request POST \
  --url https://api.rootly.com/v1/form_field_placements/%7Bform_field_placement_id%7D/conditions \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/vnd.api+json'
{
  "data": {
    "id": "c2de3884-0c76-4cd7-9182-a9507866c0a7",
    "type": "form_field_placement_conditions",
    "attributes": {
      "form_field_placement_id": "94d779c4-0a5b-4102-8f20-380c1dca789f",
      "conditioned": "placement",
      "position": 2,
      "form_field_id": "be340ee9-9f8c-4ff8-bed8-34904f94487b",
      "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_field_placement_id
string
required

Body

application/vnd.api+json
data
object
required

Response

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