CreateSurveyTestConfigRequest
Body for `POST /testing/survey-test-configs`. Unknown properties are rejected — notably `phoneNumber`, which a survey config never carries.
Properties
| Name | Type | Description |
|---|---|---|
| name | string | |
| description | string | |
| sector | string | |
| mission | string | |
| acceptance | string | |
| profileId | string | |
| expectedTurns | integer | How many questions this survey asks. **The only limit that is actually enforced.** After this many answers the conversation is disabled at the carrier, so the "thanks for your feedback" that ends most |
| scenario | object | |
| tags | array | |
| voiceId | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-create-survey-test-config-request-schema.json",
"title": "CreateSurveyTestConfigRequest",
"description": "Body for `POST /testing/survey-test-configs`. Unknown properties are\nrejected — notably `phoneNumber`, which a survey config never carries.\n",
"x-generated": "2026-11-29",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/nopaque-co-uk-survey-tests-api-openapi.yml#/components/schemas/CreateSurveyTestConfigRequest",
"type": "object",
"required": [
"name",
"sector",
"mission",
"acceptance",
"scenario"
],
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"description": {
"type": "string",
"maxLength": 500
},
"sector": {
"type": "string",
"minLength": 1
},
"mission": {
"type": "string",
"minLength": 1
},
"acceptance": {
"type": "string",
"minLength": 1
},
"profileId": {
"type": "string",
"minLength": 1
},
"expectedTurns": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"description": "How many questions this survey asks.\n\n**The only limit that is actually enforced.** After this many\nanswers the conversation is disabled at the carrier, so the\n\"thanks for your feedback\" that ends most surveys reaches a\nrespondent that cannot reply.\n\nSet it here rather than per test — a survey asks the same number\nof questions every time. A single run may override it.\n\nOptional. Without it nothing is enforced, because guessing would\ncut a survey short.\n"
},
"scenario": {
"$ref": "#/$defs/SurveyScenario"
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10
},
"voiceId": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"$defs": {
"SurveyScenario": {
"type": "string",
"description": "How the respondent behaves once the survey is under way.\n\nA closed set, deliberately. Each value maps to wording nopaque\nmaintains, so the behaviour can be improved without you rewriting saved\nconfigs, and a scenario cannot be saved that has no behaviour behind\nit. Clients design for the happy path; the other four are where survey\ntesting earns its keep.\n\nAnswers are never scripted. A survey explains its own scale as it goes\n(\"press 1 to 5, where 1 is least happy\") and a real respondent does not\nknow that until they are contacted — so the config says who the person\nis, and the respondent maps that onto whatever the survey presents.\n",
"enum": [
"happy-path",
"out-of-range",
"changes-mind",
"abandons",
"asks-question-back"
]
}
}
}
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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/nopaque-co-uk-create-survey-test-config-request"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.