---
updatedAt: 2026-10-22T07:09:07.000Z
agentTools:
  projectIndex: https://workable.readme.io/llms.txt
---

# /surveys

Returns the account's survey cycles. Required scope: `r_surveys`.

> 🚧 This endpoint uses the `r_surveys` scope, which must be enabled through the Integrations section found within the Settings menu.

Requires a **user token** whose member has permission to view survey cycles, or an **account token** together with the `member_id` query parameter of such a member (the request is then evaluated with that member's permissions). An account token without `member_id` gets `403` `Account tokens need a member_id for this operation`. The account must have the Surveys feature enabled.

Deleted survey cycles are never returned. Members whose survey view permission is granted through a scoped role only see the survey cycles within their scope, plus any survey cycle they participate in.

Results are ordered by creation (ascending id).

## Pagination

`limit` and `offset` are optional. When both are omitted, every matching survey cycle is returned in a single response. `total_count` always reflects the total number of matching survey cycles, regardless of `limit` / `offset`.

## Filtering

Use `states[]` to restrict the results to one or more states, e.g. `?states[]=active&states[]=closed`. Valid values: `draft`, `scheduled`, `active`, `closed`, `archived`. When omitted, survey cycles in all of these states are returned.

## Results

```json
{
  "total_count": 1,
  "survey_cycles": [
    {
      "id": "4d4",
      "name": "Q1 Engagement Pulse",
      "welcome_message": "<p>Tell us how things are going this quarter.</p>",
      "state": "active",
      "type": "cycle",
      "template_id": "b2f0c1de-5a7e-4c1b-9d2a-0f6c3e8a91d4",
      "start_date": "2025-03-01T08:00:00.000Z",
      "end_date": "2025-03-15T20:00:00.000Z",
      "timezone": "Europe/Athens",
      "is_anonymous": true,
      "min_responses_required": 3,
      "participant_count": 42,
      "employee_sharing_type": "all",
      "created_at": "2025-02-15T10:00:00.000Z",
      "updated_at": "2025-03-01T08:00:00.000Z"
    }
  ]
}
```

| key            | type      | description                                                                                          |
| :------------- | :-------- | :--------------------------------------------------------------------------------------------------- |
| total\_count   | `integer` | Number of survey cycles matching the filters                                                         |
| survey\_cycles | `array`   | Array of survey cycle objects (see [GET /surveys/:id](https://workable.readme.io/reference/surveys-get) for the survey cycle payload) |

## Error responses

| Status  | Condition                                                                                                                                                            |
| :------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **400** | Invalid query parameters (`limit` < 1, `offset` < 0, or an unknown value in `states[]`)                                                                              |
| **401** | Missing or invalid token                                                                                                                                             |
| **403** | Missing `r_surveys` scope, account token without `member_id`, the Surveys feature is not enabled for the account, or the user lacks permission to view survey cycles |

Error bodies: `401` / `403` responses are plain text holding the reason (e.g. `Required scopes missing: ["r_surveys"]`). `404` responses are JSON of the form `{"message": "..."}`. `400` validation errors are JSON keyed by the offending field, e.g. `{"limit": {"code": "number.min", "message": "\"limit\" must be greater than or equal to 1"}}`.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "account-root",
    "version": "3.16.2"
  },
  "servers": [
    {
      "url": "https://{subdomain}.workable.com/spi/v3",
      "variables": {
        "subdomain": {
          "default": "subdomain"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "",
        "x-default": "Bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/surveys": {
      "get": {
        "summary": "/surveys",
        "description": "Returns the account's survey cycles. Required scope: `r_surveys`. Requires a user token whose member has permission to view survey cycles, or an account token with the `member_id` of such a member; an account token without `member_id` gets `403`. The account must have the Surveys feature enabled.\n\nDeleted survey cycles are never returned. Members with a scoped role only see survey cycles within their scope plus any they participate in. Results are ordered by id. Pagination is optional via `limit` and `offset`; when omitted every survey cycle is returned.",
        "operationId": "surveys-list",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "Maximum number of survey cycles to return. When omitted, all matching survey cycles are returned.",
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Number of survey cycles to skip (for pagination).",
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          },
          {
            "name": "states[]",
            "in": "query",
            "description": "Filter by one or more states. Defaults to all of `draft`, `scheduled`, `active`, `closed`, `archived`.",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "minItems": 1,
              "items": {
                "type": "string",
                "enum": [
                  "draft",
                  "scheduled",
                  "active",
                  "closed",
                  "archived"
                ]
              }
            }
          },
          {
            "name": "member_id",
            "in": "query",
            "description": "Required when using an account token: the member (SPI key, from `GET /members`) to act as. The request is evaluated with that member's permissions; without it the request gets `403`. Ignored for user tokens.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"total_count\": 1,\n    \"survey_cycles\": [\n        {\n            \"id\": \"4d4\",\n            \"name\": \"Q1 Engagement Pulse\",\n            \"welcome_message\": \"<p>Tell us how things are going this quarter.</p>\",\n            \"state\": \"active\",\n            \"type\": \"cycle\",\n            \"template_id\": \"b2f0c1de-5a7e-4c1b-9d2a-0f6c3e8a91d4\",\n            \"start_date\": \"2025-03-01T08:00:00.000Z\",\n            \"end_date\": \"2025-03-15T20:00:00.000Z\",\n            \"timezone\": \"Europe/Athens\",\n            \"is_anonymous\": true,\n            \"min_responses_required\": 3,\n            \"participant_count\": 42,\n            \"employee_sharing_type\": \"all\",\n            \"created_at\": \"2025-02-15T10:00:00.000Z\",\n            \"updated_at\": \"2025-03-01T08:00:00.000Z\"\n        }\n    ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "total_count": {
                      "type": "integer",
                      "example": 1
                    },
                    "survey_cycles": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "Survey cycle key"
                          },
                          "name": {
                            "type": "string"
                          },
                          "welcome_message": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "Welcome message shown to participants (HTML)"
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "draft",
                              "scheduled",
                              "active",
                              "closed",
                              "archived"
                            ]
                          },
                          "type": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "enum": [
                              "cycle",
                              "workflow_task",
                              null
                            ],
                            "description": "`cycle` = date-based survey, `workflow_task` = survey sent as a workflow task"
                          },
                          "template_id": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "Survey master template id"
                          },
                          "start_date": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "date-time"
                          },
                          "end_date": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "format": "date-time"
                          },
                          "timezone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "IANA timezone"
                          },
                          "is_anonymous": {
                            "type": "boolean"
                          },
                          "min_responses_required": {
                            "type": "integer",
                            "description": "Anonymity threshold; 0 = none"
                          },
                          "participant_count": {
                            "type": "integer"
                          },
                          "employee_sharing_type": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "enum": [
                              "all",
                              "selected",
                              "custom",
                              null
                            ]
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updated_at": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"limit\": {\n        \"code\": \"number.min\",\n        \"message\": \"\\\"limit\\\" must be greater than or equal to 1\"\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "description": "Validation errors keyed by the offending field. Each entry has a `code` and a `message`.",
                  "additionalProperties": true
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "No token found"
                  }
                },
                "schema": {
                  "type": "string",
                  "description": "Plain-text reason."
                }
              }
            }
          },
          "403": {
            "description": "403",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "Required scopes missing: [\"r_surveys\"]"
                  }
                },
                "schema": {
                  "type": "string",
                  "description": "Plain-text reason. `Required scopes missing: [...]` for a missing scope, or `Forbidden` when the Surveys feature is disabled or the member lacks permission."
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```