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

# List counties for a state



## OpenAPI

````yaml /openapi/nimbo_public.yml get /api/v1/states/{id}/counties
openapi: 3.1.0
info:
  title: Nimbo catalogs and sites
  version: 0.1.0
  description: >-
    Nimbo API reference. Use the API host and integration access provided by
    Nimbo.
servers:
  - url: https://api.example.test
    description: Reference only; not a live API host
security: []
tags:
  - name: Countries
  - name: Catalogs
  - name: SAT Catalogs
  - name: Sites
  - name: Public Portals
  - name: Telehealth
paths:
  /api/v1/states/{id}/counties:
    get:
      tags:
        - Catalogs
      summary: List counties for a state
      operationId: listStateCounties
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          example: '123'
      responses:
        '200':
          description: Counties with the response root.
          content:
            application/json:
              schema:
                type: object
                required:
                  - counties
                additionalProperties: false
                properties:
                  counties:
                    type: array
                    items:
                      type: object
                      required:
                        - code
                        - id
                        - links
                        - name
                        - state_id
                      additionalProperties: false
                      example:
                        id: 9101
                        state_id: 9001
                        code: COY
                        name: Coyoacan
                        links:
                          state: /api/v1/states/9001
                      properties:
                        id:
                          type: integer
                        state_id:
                          type:
                            - integer
                            - 'null'
                        code:
                          type:
                            - string
                            - 'null'
                        name:
                          type:
                            - string
                            - 'null'
                        links:
                          type: object
                          required:
                            - state
                          additionalProperties: false
                          properties:
                            state:
                              type: string
        '404':
          description: >-
            The requested resource was not found or is outside the authorized
            patient scope.
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                additionalProperties: false
                properties:
                  error:
                    type: string
              examples:
                not_found:
                  value:
                    error: Not found

````