Hotjar · Schema

Hotjar Survey

A Hotjar survey definition including its configuration, status, and questions.

AnalyticsSurveysTrackingPersonalizationSegmentation

Properties

Name Type Description
id integer The unique identifier for the survey.
name string The name of the survey.
type string The type of survey.
is_enabled boolean Whether the survey is currently active and collecting responses.
created_time string The ISO 8601 timestamp when the survey was created.
url string The URL path to the survey resource in the API.
responses_url string The URL path to retrieve the survey responses.
sentiment_analysis_enabled boolean Whether sentiment analysis is enabled for this survey.
questions array The list of questions in the survey.
View JSON Schema on GitHub

JSON Schema

hotjar-survey-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://hotjar.com/schemas/hotjar/survey.json",
  "title": "Hotjar Survey",
  "description": "A Hotjar survey definition including its configuration, status, and questions.",
  "type": "object",
  "required": ["id", "name", "type"],
  "properties": {
    "id": {
      "type": "integer",
      "description": "The unique identifier for the survey."
    },
    "name": {
      "type": "string",
      "description": "The name of the survey.",
      "minLength": 1
    },
    "type": {
      "type": "string",
      "description": "The type of survey.",
      "enum": ["popover", "fullscreen", "external_link"]
    },
    "is_enabled": {
      "type": "boolean",
      "description": "Whether the survey is currently active and collecting responses."
    },
    "created_time": {
      "type": "string",
      "format": "date-time",
      "description": "The ISO 8601 timestamp when the survey was created."
    },
    "url": {
      "type": "string",
      "description": "The URL path to the survey resource in the API."
    },
    "responses_url": {
      "type": "string",
      "description": "The URL path to retrieve the survey responses."
    },
    "sentiment_analysis_enabled": {
      "type": "boolean",
      "description": "Whether sentiment analysis is enabled for this survey."
    },
    "questions": {
      "type": "array",
      "description": "The list of questions in the survey.",
      "items": {
        "$ref": "#/$defs/SurveyQuestion"
      }
    }
  },
  "$defs": {
    "SurveyQuestion": {
      "type": "object",
      "description": "A question within a Hotjar survey.",
      "required": ["id", "text", "type"],
      "properties": {
        "id": {
          "type": "integer",
          "description": "The unique identifier for the question."
        },
        "text": {
          "type": "string",
          "description": "The text content of the question displayed to respondents.",
          "minLength": 1
        },
        "type": {
          "type": "string",
          "description": "The type of question.",
          "enum": ["long-text", "short-text", "rating", "multiple-choice", "nps", "single-choice"]
        },
        "is_required": {
          "type": "boolean",
          "description": "Whether the question requires an answer before submission."
        },
        "choices": {
          "type": ["array", "null"],
          "description": "The list of answer choices for multiple-choice questions. Null for open-ended question types.",
          "items": {
            "type": "string"
          }
        },
        "labels": {
          "type": ["object", "null"],
          "description": "Labels for rating or scale questions. Null for other question types."
        },
        "image_url": {
          "type": ["string", "null"],
          "format": "uri",
          "description": "URL of an image attached to the question. Null if no image is attached."
        }
      }
    }
  }
}

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/hotjar-survey"
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.