productivity
SurveyMonkey CLI for AI Agents
Use the SurveyMonkey CLI from KosmoKrator to call SurveyMonkey tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.SurveyMonkey CLI Setup
SurveyMonkey can be configured headlessly with `kosmokrator integrations:configure surveymonkey`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure surveymonkey --set access_token="$SURVEYMONKEY_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor surveymonkey --json
kosmokrator integrations:status --json Credentials
Authentication type: Manual OAuth token oauth2_manual_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
access_token | SURVEYMONKEY_ACCESS_TOKEN | Secret secret | yes | Access Token |
url | SURVEYMONKEY_URL | URL url | no | API Base URL |
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call surveymonkey.surveymonkey_list_surveys '{"page":1,"per_page":1}' --json kosmo integrations:surveymonkey surveymonkey_list_surveys '{"page":1,"per_page":1}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities 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 Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
surveymonkey.surveymonkey_list_surveys
List all surveys in your SurveyMonkey account. Returns survey IDs, titles, and creation dates.
read - Parameters
- page, per_page
kosmo integrations:call surveymonkey.surveymonkey_list_surveys '{"page":1,"per_page":1}' --json kosmo integrations:surveymonkey surveymonkey_list_surveys '{"page":1,"per_page":1}' --json surveymonkey.surveymonkey_get_survey
Get details of a specific SurveyMonkey survey by ID, including title, language, and question count.
read - Parameters
- survey_id
kosmo integrations:call surveymonkey.surveymonkey_get_survey '{"survey_id":"example_survey_id"}' --json kosmo integrations:surveymonkey surveymonkey_get_survey '{"survey_id":"example_survey_id"}' --json surveymonkey.surveymonkey_create_survey
Create a new blank survey in SurveyMonkey with a given title.
write - Parameters
- title
kosmo integrations:call surveymonkey.surveymonkey_create_survey '{"title":"example_title"}' --json kosmo integrations:surveymonkey surveymonkey_create_survey '{"title":"example_title"}' --json surveymonkey.surveymonkey_list_responses
List all bulk responses for a SurveyMonkey survey. Returns response IDs, timestamps, and answer data.
read - Parameters
- survey_id, page, per_page
kosmo integrations:call surveymonkey.surveymonkey_list_responses '{"survey_id":"example_survey_id","page":1,"per_page":1}' --json kosmo integrations:surveymonkey surveymonkey_list_responses '{"survey_id":"example_survey_id","page":1,"per_page":1}' --json surveymonkey.surveymonkey_get_response
Get a single response for a SurveyMonkey survey by response ID, including all answers and metadata.
read - Parameters
- survey_id, response_id
kosmo integrations:call surveymonkey.surveymonkey_get_response '{"survey_id":"example_survey_id","response_id":"example_response_id"}' --json kosmo integrations:surveymonkey surveymonkey_get_response '{"survey_id":"example_survey_id","response_id":"example_response_id"}' --json surveymonkey.surveymonkey_list_collectors
List all collectors for a SurveyMonkey survey. Collectors are distribution channels (e.g., weblink, email).
read - Parameters
- survey_id
kosmo integrations:call surveymonkey.surveymonkey_list_collectors '{"survey_id":"example_survey_id"}' --json kosmo integrations:surveymonkey surveymonkey_list_collectors '{"survey_id":"example_survey_id"}' --json surveymonkey.surveymonkey_create_collector
Create a collector for a SurveyMonkey survey to distribute it. Collector types include "weblink" (shareable URL) and "email" (email invitation).
write - Parameters
- survey_id, type, name
kosmo integrations:call surveymonkey.surveymonkey_create_collector '{"survey_id":"example_survey_id","type":"example_type","name":"example_name"}' --json kosmo integrations:surveymonkey surveymonkey_create_collector '{"survey_id":"example_survey_id","type":"example_type","name":"example_name"}' --json surveymonkey.surveymonkey_get_current_user
Get details of the currently authenticated SurveyMonkey user, including name, email, and plan info.
read - Parameters
- none
kosmo integrations:call surveymonkey.surveymonkey_get_current_user '{}' --json kosmo integrations:surveymonkey surveymonkey_get_current_user '{}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
surveymonkey.surveymonkey_list_surveys 2 parameters
kosmo integrations:schema surveymonkey.surveymonkey_list_surveys --json | Parameter | Type | Required | Description |
|---|---|---|---|
page | integer | no | Page number for pagination (default: 1). |
per_page | integer | no | Number of surveys per page (default: 50, max: 100). |
surveymonkey.surveymonkey_get_survey 1 parameters
kosmo integrations:schema surveymonkey.surveymonkey_get_survey --json | Parameter | Type | Required | Description |
|---|---|---|---|
survey_id | string | yes | The survey ID. |
surveymonkey.surveymonkey_create_survey 1 parameters
kosmo integrations:schema surveymonkey.surveymonkey_create_survey --json | Parameter | Type | Required | Description |
|---|---|---|---|
title | string | yes | The title for the new survey. |
surveymonkey.surveymonkey_list_responses 3 parameters
kosmo integrations:schema surveymonkey.surveymonkey_list_responses --json | Parameter | Type | Required | Description |
|---|---|---|---|
survey_id | string | yes | The survey ID. |
page | integer | no | Page number for pagination (default: 1). |
per_page | integer | no | Number of responses per page (default: 50, max: 100). |
surveymonkey.surveymonkey_get_response 2 parameters
kosmo integrations:schema surveymonkey.surveymonkey_get_response --json | Parameter | Type | Required | Description |
|---|---|---|---|
survey_id | string | yes | The survey ID. |
response_id | string | yes | The response ID. |
surveymonkey.surveymonkey_list_collectors 1 parameters
kosmo integrations:schema surveymonkey.surveymonkey_list_collectors --json | Parameter | Type | Required | Description |
|---|---|---|---|
survey_id | string | yes | The survey ID. |
surveymonkey.surveymonkey_create_collector 3 parameters
kosmo integrations:schema surveymonkey.surveymonkey_create_collector --json | Parameter | Type | Required | Description |
|---|---|---|---|
survey_id | string | yes | The survey ID. |
type | string | yes | Collector type: "weblink" or "email". |
name | string | no | A display name for the collector. |
surveymonkey.surveymonkey_get_current_user 0 parameters
kosmo integrations:schema surveymonkey.surveymonkey_get_current_user --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults with
integrations:configure. Add --force only for trusted automation that should bypass that policy.