ConditionalFields

List conditional fields for an organization

GET
/api/organizations/{organizationId}/conditional-fields

Return every conditional field defined for the organization, optionally filtered by type (e.g. contact/application) and sectionType. Used by the field-builder UI to render the configured catalog.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

organizationId*string

Query Parameters

type?string
sectionType?string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/organizations/string/conditional-fields"
{  "data": [    {      "_id": "66d0a0b0c0d0e0f0a0b0c0d0",      "name": "Eligibility flag",      "sectionId": "contact.identity",      "expression": "contact.age >= 18 && contact.country == \"US\"",      "status": "active",      "outputType": "boolean"    }  ]}