---
title: "Get survey respondent paths"
url: https://docs.gleap.ai/en/reference/rest-api/paths
method: GET
path: "/engagement/surveys/{surveyId}/paths"
api: "API Reference"
tag: "Engagement Survey"
operationId: "Paths"
updatedAt: "2026-11-01T18:40:15.677Z"
language: en
---

# Get survey respondent paths

`GET https://api.gleap.io/v3/engagement/surveys/{surveyId}/paths`

How respondents moved through the survey, for the Results flow chart. Query `from`, `to` (YYYY-MM-DD) and `version`. Returns `{ responses, other, sampled, paths: [{ path, status, nps?, count }] }`: identical paths grouped (biggest 300), `path` = block ids in order (a completed one may end with its ending id, an open one ends where it stopped), `nps` = detractor | passive | promoter on the first NPS question. Reads the newest 20,000 responses (`sampled: true` beyond that).

## Authorization

- `Authorization` (header, required): `Bearer <token>`

## Path parameters

- `surveyId` (string, required)

## Headers

- `project` (string, required)

## Example request

```bash
curl --request GET \
  --url 'https://api.gleap.io/v3/engagement/surveys/{surveyId}/paths' \
  --header 'Authorization: Bearer <token>' \
  --header 'project: <project>'
```

## Responses

### 200 (`application/json`)

Ok
