> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.revvue.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.revvue.ai/_mcp/server.

# mutateSurveys

GraphQL MUTATION

Reference: https://docs.revvue.ai/api-reference/surveys/mutations/mutate-surveys

## GraphQL Schema

```graphql
mutation ExampleMutation($surveys: [SurveyInput]!) {
  mutateSurveys(surveys: $surveys) {
    documents {
      id
      documentType
      activeState
      created
      changed
      createdBy
      changedBy
      tenantId
      companyId
      locationId
    }
  }
}
```

## Variables

```json
{
  "surveys": [
    {
      "fullOverwrite": true,
      "id": "example",
      "activeState": "ACTIVE",
      "tenantId": "example",
      "companyId": "example",
      "locationId": "example",
      "templateId": "example",
      "surveyType": "TEMPLATE",
      "purpose": "INTERNAL",
      "displayMode": "SCROLL"
    }
  ]
}
```