Survey Webhook Payload
Webhook payload sent when a new survey answer is received
Product AdoptionUser OnboardingIn-App GuidanceChecklistsNPS SurveysAnnouncementsUser SegmentationSoftware-as-a-Service
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api.productfruits.com/schemas/survey-webhook-payload",
"title": "Survey Webhook Payload",
"description": "Webhook payload sent when a new survey answer is received",
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "webhook:newsurveyanswer",
"description": "Event type identifier"
},
"data": {
"type": "object",
"properties": {
"projectCode": {
"type": "string",
"description": "Workspace identifier"
},
"surveyId": {
"type": "string",
"format": "uuid",
"description": "GUID of the survey"
},
"authorName": {
"type": "string",
"description": "Name of the respondent"
},
"authorEmail": {
"type": "string",
"format": "email",
"description": "Email of the respondent"
},
"authorUsername": {
"type": "string",
"description": "Username of the respondent"
},
"answers": {
"type": "array",
"description": "Array of answers to survey questions",
"items": {
"type": "object",
"properties": {
"questionId": {
"type": "string",
"format": "uuid",
"description": "GUID of the question"
},
"questionType": {
"type": "string",
"enum": ["emo", "nps", "scale", "txt", "ltxt", "chk", "rbtn", "stat"],
"description": "Type of question: emo=emoticons, nps=NPS, scale=numeric scale, txt=single-line text, ltxt=multi-line text, chk=multiple choice, rbtn=single choice, stat=message (no input)"
},
"answer": {
"description": "Answer value (type varies by questionType: string for emo/txt/ltxt/rbtn, integer 0-10 for nps, integer for scale, array of option IDs for chk, null for stat)",
"oneOf": [
{ "type": "string" },
{ "type": "integer" },
{ "type": "array", "items": { "type": "string" } },
{ "type": "null" }
]
},
"other": {
"type": "string",
"description": "Custom text for 'other' selections (optional)"
}
}
}
}
}
}
}
}
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/survey-webhook-payload"
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 email required.
A second provider on the same verified email joins the account you already have.