---
title: "Get a survey by its ID"
method: GET
path: "/surveys/{id}"
tags: ["surveys"]
---

# Get a survey by its ID

`GET /surveys/{id}`

Returns a single survey by ID.

**Rate limit:** 60 requests per minute

## Path parameters

- `id` string, required

## Response `200`

- GetSurveyResponseBody
  - `data` Survey
    - `id` string — The unique identifier of the survey.
    - `name` string — The name of the survey.
    - `type` 'nps' | 'csat' | 'custom' — The type of the survey. `nps`: Represents an NPS survey. `csat`: Represents a CSAT survey. `custom`: Represents a custom survey.
    - `updated_at` string — When the survey was last updated (RFC3339 format).
  - `request_id` string — The request ID for tracking.

## Other responses

- `400` — The request was invalid or could not be completed.
- `404`
- `500` — An unexpected internal error occurred.

---

[API](https://skmtc.net/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.net/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usepylon/pylon-api/versions/7b6ea6af992a/schema)
