surveys
SurveyMonkey CLI for Shell Scripts
Use the SurveyMonkey CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.
8 functions 6 read 2 write Manual OAuth token auth
SurveyMonkey CLI for Shell Scripts
Call integration functions from shell scripts with stable JSON input and output.
Use shell scripts for small local automations that need one or more integration calls. The SurveyMonkey CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# SurveyMonkey CLI for Shell Scripts
kosmokrator integrations:configure surveymonkey --set access_token="$SURVEYMONKEY_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call surveymonkey.surveymonkey_list_surveys '{"page":1,"per_page":1}' --json Discovery Before Execution
Agents and scripts can inspect SurveyMonkey docs and schemas before choosing a function.
kosmo integrations:docs surveymonkey --json
kosmo integrations:docs surveymonkey.surveymonkey_list_surveys --json
kosmo integrations:schema surveymonkey.surveymonkey_list_surveys --json
kosmo integrations:search "SurveyMonkey" --json
kosmo integrations:list --json Useful SurveyMonkey CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
surveymonkey.surveymonkey_list_surveys | Read | page, per_page | List all surveys in your SurveyMonkey account. Returns survey IDs, titles, and creation dates. |
surveymonkey.surveymonkey_get_survey | Read | survey_id | Get details of a specific SurveyMonkey survey by ID, including title, language, and question count. |
surveymonkey.surveymonkey_create_survey | Write | title | Create a new blank survey in SurveyMonkey with a given title. |
surveymonkey.surveymonkey_list_responses | Read | survey_id, page, per_page | List all bulk responses for a SurveyMonkey survey. Returns response IDs, timestamps, and answer data. |
surveymonkey.surveymonkey_get_response | Read | survey_id, response_id | Get a single response for a SurveyMonkey survey by response ID, including all answers and metadata. |
surveymonkey.surveymonkey_list_collectors | Read | survey_id | List all collectors for a SurveyMonkey survey. Collectors are distribution channels (e.g., weblink, email). |
surveymonkey.surveymonkey_create_collector | Write | survey_id, type, name | Create a collector for a SurveyMonkey survey to distribute it. Collector types include "weblink" (shareable URL) and "email" (email invitation). |
surveymonkey.surveymonkey_get_current_user | Read | none | Get details of the currently authenticated SurveyMonkey user, including name, email, and plan info. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.