Skip to main content
GET
/
presets
cURL
curl --request GET \
  --url https://api.sandbox.humanity.org/v2/presets
{
  "presets": [
    {
      "name": "<unknown>",
      "scope": "<unknown>",
      "category": "<unknown>",
      "description": "<string>",
      "consentText": "<string>",
      "type": "<unknown>",
      "sensitivity": "<unknown>",
      "derived": true,
      "parentField": "<unknown>"
    }
  ]
}
SDK equivalent
const presets = await sdk.listPresets();
Returns the complete catalog of available presets with their metadata, required scopes, categories, and sensitivity levels. Use this endpoint to:
  • Discover which presets are available in your environment
  • Build dynamic consent UIs based on preset metadata
  • Understand scope requirements for each preset

Response Structure

Each preset in the response includes:
FieldDescription
namePreset identifier (e.g., is_human, age_over_21)
scopeOAuth scope required to access this preset
categoryGrouping: identity, kyc, financial, profile
descriptionHuman-readable description
consentTextText shown to users during consent
typeData type: boolean, string, number, integer, date, datetime, array, enum
sensitivityData sensitivity: low, medium, high, critical
derivedWhether this preset is computed from another field
parentFieldFor derived presets, the source field

Example Response

{
  "presets": [
    {
      "name": "is_human",
      "scope": "identity:read",
      "category": "identity",
      "description": "True if passed a KYC check OR palm enrollment via mobile app or hardware",
      "consentText": "Verify you are a real, unique person",
      "type": "boolean",
      "sensitivity": "medium",
      "derived": false
    },
    {
      "name": "age_over_21",
      "scope": "identity:date_of_birth",
      "category": "identity",
      "description": "Whether user is ≥ 21",
      "consentText": "Confirm you are 21 or older",
      "type": "boolean",
      "sensitivity": "low",
      "derived": true,
      "parentField": "date_of_birth"
    }
  ]
}

Preset Categories

CategoryDescription
identityBasic identity attributes, email, phone, wallet, country
kycKYC verification status and document information
financialNet worth, bank balances, loan information
profileBundled profile data like humanity_user

Sensitivity Levels

LevelDescriptionExample Presets
lowMinimal privacy impactage, humanity_score, social connections
mediumStandard PIIis_human, country_of_residence, kyc_passed
highSensitive PII requiring explicit consentdate_of_birth, legal_name, document_number
criticalHighly sensitive financial/tax dataTax IDs (when available)

Response

200 - application/json
presets
object[]
required