> ## Documentation Index
> Fetch the complete documentation index at: https://api.pollunit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get participant



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/polls/{poll_id}/voters/{id}
openapi: 3.0.1
info:
  title: PollUnit API
  version: v1
  description: Programmatic access to PollUnit.
servers:
  - url: https://pollunit.com
    description: Production
  - url: http://localhost:3000
    description: Development
security:
  - bearerAuth: []
paths:
  /api/v1/polls/{poll_id}/voters/{id}:
    parameters:
      - name: poll_id
        in: path
        description: Poll member_hash or admin_hash
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: Voter public_id
        required: true
        schema:
          type: string
      - name: organization_id
        in: query
        required: false
        description: >-
          public_id of an organization the user belongs to. When given, the
          request runs in that organization context instead of the personal
          account.
        schema:
          type: string
    get:
      tags:
        - Voters
      summary: Get participant
      responses:
        '200':
          description: participant found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Voter'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Unauthorized'
        '404':
          description: participant not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFound'
      security:
        - bearerAuth: []
components:
  schemas:
    Voter:
      type: object
      description: >-
        A participant of the poll. Which fields are returned depends on the poll
        type and on your access level: `complete` only for surveys,
        `required_option_votes_complete` only when the poll requires a vote on
        all options, and the moderation fields only with admin access.
      properties:
        id:
          type: string
          description: Voter public_id
        user_name:
          type: string
          nullable: true
          description: >-
            Name of the participant. A generated name when the poll has
            `anonymize_voter_names`.
        changed_by_admin:
          type: boolean
          nullable: true
          description: The votes of this participant were changed by an admin.
        complete:
          type: boolean
          nullable: true
          description: 'Surveys only: the participant finished the survey.'
        created_at:
          type: string
          format: date-time
          nullable: true
        updated_at:
          type: string
          format: date-time
          nullable: true
        fraudulent:
          type: boolean
          nullable: true
          description: Admin access only
        paid:
          type: boolean
          nullable: true
          description: >-
            Admin access only. `false` while a voting fee for this participant
            is still open.
        required_option_votes_complete:
          type: boolean
          nullable: true
          description: >-
            Admin access only, and only when the poll has
            `option_vote_requirement` `all_options`.
        privacy_policy_accepted:
          type: boolean
          nullable: true
          description: >-
            Admin access only, and only when the poll has
            `privacy_policy_for_voters`.
        terms_accepted:
          type: boolean
          nullable: true
          description: Admin access only, and only when the poll has `terms_for_voters`.
      required:
        - id
    Unauthorized:
      type: object
      properties:
        error:
          type: string
          example: Unauthorized
    NotFound:
      type: object
      properties:
        error:
          type: string
          example: Not Found
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: Personal API token — find yours under My Account → API.

````