---
title: "Get a respondent by ID"
method: GET
path: "/respondents/id/{id}"
tags: ["respondents"]
---

# Get a respondent by ID

`GET /respondents/id/{id}`

## Request

- Base URL: `https://localhost:8081`
- URL: `https://localhost:8081/respondents/id/{id}`
- Auth: none declared

Get a respondent by ID

## Path parameters

- `id` string, uuid, required

## Response `200`

The respondent has been retrieved

- RespondentWithAssociations
  - `id` string, uuid
  - `sampleUnitType` string
  - `pendingEmailAddress` string, email
  - `firstName` string
  - `lastName` string
  - `telephone` string
  - `status` 'CREATED' | 'ACTIVE' | 'SUSPENDED'
  - `markForDeletion` boolean
  - `passwordVerificationToken` string
  - `passwordResetCounter` integer
  - `associations` Association[]
    - `partyId` string, uuid
    - `sampleUnitRef` string, string
    - `businessRespondentStatus` 'CREATED' | 'ACTIVE' | 'SUSPENDED'
    - `enrolments` Enrolment[]
      - `surveyId` string, uuid
      - `enrolmentStatus` 'PENDING' | 'ENABLED' | 'DISABLED' | 'SUSPENDED'

## Other responses

- `400`: The provided ID wasn't a UUID
- `404`: The respondent does not exist

---

[API](https://skmtc.dev/office-of-national-statistics/apis/party-service-api.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/party-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/party-service-api/revisions/49a2e83bb1a7?raw)
