Create survey
survey_createCreates a survey as a DRAFT: its page is not public and no email can ask its questions until it is opened with survey_update. Give it a name and 1 to 30 questions. Returns the survey with each question id; one_click questions (rating, nps, single) can go in an email with campaign_draft. Sends nothing and uses no quota. Requires API key scope: draft.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"questions": "<questions>"
},
"name": "survey_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Survey name, also used as the page title unless title is set. | |
| intro | No | Short intro under the heading. | |
| title | No | Heading on the survey page. | |
| questions | Yes | ||
| thank_you_message | No | Shown after someone answers. |