> ## 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.

# List poll options



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/polls/{poll_id}/options
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}/options:
    parameters:
      - name: poll_id
        in: path
        description: Poll member_hash or admin_hash
        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:
        - Options
      summary: List poll options
      responses:
        '200':
          description: options listed
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OptionListItem'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Unauthorized'
        '404':
          description: poll not found
      security:
        - bearerAuth: []
components:
  schemas:
    OptionListItem:
      type: object
      description: >-
        Summary of a poll option as returned by the list endpoint. Fields are
        included conditionally depending on the poll's visibility settings and
        your access level (admin vs. member).
      properties:
        id:
          type: string
          description: Option public_id
        admin_url:
          type: string
          format: uri
          nullable: true
          description: Admin access only
        public_url:
          type: string
          format: uri
        type:
          type: string
          description: Option STI class
          example: Options::TextOption
        content:
          type: string
          nullable: true
        subtitle:
          type: string
          nullable: true
        author_name:
          type: string
          nullable: true
        position:
          type: integer
          nullable: true
        state:
          type: string
          nullable: true
        rank:
          type: integer
          nullable: true
        rating:
          type: number
          format: float
          nullable: true
        average_rating:
          type: number
          format: float
          nullable: true
        best_rating:
          type: boolean
          nullable: true
        selected:
          type: boolean
          nullable: true
        paid:
          type: boolean
          nullable: true
        info_link:
          type: string
          nullable: true
        info_link_title:
          type: string
          nullable: true
        start_date:
          type: string
          format: date-time
          nullable: true
        end_date:
          type: string
          format: date-time
          nullable: true
        created_at:
          type: string
          format: date-time
          nullable: true
        updated_at:
          type: string
          format: date-time
          nullable: true
        approval_state:
          type: string
          nullable: true
          description: Admin access only
          enum:
            - unreviewed
            - approved
            - disapproved
        approval_state_updated_at:
          type: string
          format: date-time
          nullable: true
          description: Admin access only
        archived:
          type: boolean
          nullable: true
          description: Admin access only
      required:
        - id
        - type
        - public_url
    Unauthorized:
      type: object
      properties:
        error:
          type: string
          example: Unauthorized
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: Personal API token — find yours under My Account → API.

````