Skip to main content
POST
/
api
/
organizations
/
{organizationId}
/
conditional-fields
/
reorder
Reorder conditional fields
curl --request POST \
  --url https://your-instance.example.com/api/organizations/{organizationId}/conditional-fields/reorder \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "order": [
    "66d0a0b0c0d0e0f0a0b0c0d0",
    "66d0a0b0c0d0e0f0a0b0c0d1"
  ],
  "type": "contact",
  "sectionType": "identity"
}
'
{
  "data": [
    {
      "_id": "66d0a0b0c0d0e0f0a0b0c0d0",
      "name": "Eligibility flag",
      "sectionId": "contact.identity",
      "expression": "contact.age >= 18 && contact.country == \"US\"",
      "status": "active",
      "outputType": "boolean"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

organizationId
string
required

Body

application/json
order
string[]
required

Field _ids in their target display order.

type
string

Top-level scope being reordered (e.g. contact, application).

sectionType
string

Section where the reorder applies (contact, application, etc.).

Response

Fields reordered

data
object[]