Gainsight · Schema

User

User object

Customer SuccessCustomer ExperienceProduct AnalyticsCustomer CommunitiesCustomer HealthCustomer EducationSoftware-as-a-ServiceMCPRetentionCommunity

Properties

Name Type Description
aptrinsicId string
identifyId string
type string
gender string
email string
firstName string
lastName string
lastSeenDate integer
signUpDate integer
firstVisitDate integer
title string
phone string
score integer
role string
subscriptionId string
accountId string
numberOfVisits integer
location object
propertyKeys array Aptrinsic Tag Key, at least one is required
createDate integer
lastModifiedDate integer
customAttributes object Map of apiName to value
globalUnsubscribe boolean
sfdcContactId string
channelMetricList array
lastVisitedUserAgentData array
id string Synonym for identifyId, output only, not filterable
lastInferredLocation object Location inferred from IP address of last session
globalId string Global user ID, only applicable for workspace-enabled subscriptions
View JSON Schema on GitHub

JSON Schema

gainsight-user-2-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gainsight/main/json-schema/gainsight-user-2-schema.json",
  "title": "User",
  "description": "User object",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gainsight-users-api-openapi.yml#/components/schemas/User_2",
  "type": "object",
  "required": [
    "identifyId",
    "propertyKeys"
  ],
  "properties": {
    "aptrinsicId": {
      "type": "string",
      "readOnly": true
    },
    "identifyId": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "LEAD",
        "USER",
        "VISITOR",
        "EMPTY_USER_TYPE"
      ]
    },
    "gender": {
      "type": "string",
      "enum": [
        "MALE",
        "FEMALE",
        "OTHER",
        "EMPTY_GENDER"
      ]
    },
    "email": {
      "type": "string"
    },
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "lastSeenDate": {
      "type": "integer",
      "format": "int64",
      "readOnly": true
    },
    "signUpDate": {
      "type": "integer",
      "format": "int64"
    },
    "firstVisitDate": {
      "type": "integer",
      "format": "int64"
    },
    "title": {
      "type": "string"
    },
    "phone": {
      "type": "string"
    },
    "score": {
      "type": "integer",
      "format": "int64"
    },
    "role": {
      "type": "string"
    },
    "subscriptionId": {
      "type": "string"
    },
    "accountId": {
      "type": "string"
    },
    "numberOfVisits": {
      "type": "integer",
      "format": "int32",
      "readOnly": true
    },
    "location": {
      "$ref": "#/$defs/Location"
    },
    "propertyKeys": {
      "type": "array",
      "description": "Aptrinsic Tag Key, at least one is required",
      "items": {
        "type": "string"
      }
    },
    "createDate": {
      "type": "integer",
      "format": "int64",
      "readOnly": true
    },
    "lastModifiedDate": {
      "type": "integer",
      "format": "int64",
      "readOnly": true
    },
    "customAttributes": {
      "type": "object",
      "description": "Map of apiName to value"
    },
    "globalUnsubscribe": {
      "type": "boolean"
    },
    "sfdcContactId": {
      "type": "string"
    },
    "channelMetricList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ChannelMetric"
      }
    },
    "lastVisitedUserAgentData": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UserAgentByProduct"
      }
    },
    "id": {
      "type": "string",
      "description": "Synonym for identifyId, output only, not filterable",
      "readOnly": true
    },
    "lastInferredLocation": {
      "description": "Location inferred from IP address of last session",
      "readOnly": true,
      "$ref": "#/$defs/Location"
    },
    "globalId": {
      "type": "string",
      "description": "Global user ID, only applicable for workspace-enabled subscriptions",
      "readOnly": true
    }
  },
  "$defs": {
    "ChannelMetric": {
      "type": "object",
      "properties": {
        "groupId": {
          "type": "string"
        },
        "channel": {
          "type": "integer",
          "format": "int64"
        },
        "environment": {
          "type": "integer",
          "format": "int32"
        },
        "firstSeenDate": {
          "type": "integer",
          "format": "int64"
        },
        "lastSeenDate": {
          "type": "integer",
          "format": "int64"
        }
      },
      "title": "ChannelMetric",
      "description": "Channel  metric object"
    },
    "Coordinates": {
      "type": "object",
      "properties": {
        "latitude": {
          "type": "number",
          "format": "double"
        },
        "longitude": {
          "type": "number",
          "format": "double"
        }
      },
      "title": "Coordinates",
      "description": "Coordinates object"
    },
    "Location": {
      "type": "object",
      "properties": {
        "countryName": {
          "type": "string"
        },
        "countryCode": {
          "type": "string",
          "description": "See ISO 3166"
        },
        "stateName": {
          "type": "string"
        },
        "stateCode": {
          "type": "string",
          "description": "See ISO 3166"
        },
        "city": {
          "type": "string"
        },
        "street": {
          "type": "string"
        },
        "postalCode": {
          "type": "string"
        },
        "continent": {
          "type": "string",
          "description": "See ISO 3166"
        },
        "regionName": {
          "type": "string",
          "description": "See ISO 3166-2"
        },
        "timeZone": {
          "type": "string"
        },
        "coordinates": {
          "$ref": "#/$defs/Coordinates"
        }
      },
      "title": "Location",
      "description": "Location object"
    },
    "UserAgent": {
      "type": "object",
      "properties": {
        "rawUserAgent": {
          "type": "string"
        },
        "device": {
          "type": "string"
        },
        "platformType": {
          "type": "string"
        },
        "platformVersion": {
          "type": "string"
        },
        "browserType": {
          "type": "string"
        },
        "browserVersion": {
          "type": "string"
        }
      },
      "title": "UserAgent",
      "description": "User Agent object"
    },
    "UserAgentByProduct": {
      "type": "object",
      "properties": {
        "propertyKey": {
          "type": "string"
        },
        "userAgent": {
          "$ref": "#/$defs/UserAgent"
        }
      },
      "title": "UserAgentByProduct",
      "description": "User Agent data by product"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/gainsight-user-2"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.