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

# List Jamf Groups

> Fetch the static Jamf groups of one type, sorted by name. Smart groups are left out because Jamf manages their members. Use the returned `external_id` in the Jamf "add to groups" and "remove from groups" workflow actions. Jamf must be connected and the role of the token owner must be allowed to run Jamf actions. This endpoint may change or be removed without prior notice.



## OpenAPI

````yaml /api-reference/openapi.yml get /v1/jamf_groups
openapi: 3.0.1
info:
  title: Siit Public API
  version: v0
servers:
  - url: https://api.siit.io
security: []
paths:
  /v1/jamf_groups:
    get:
      tags:
        - Unstable
        - Jamf Group
      summary: List Jamf Groups
      description: >-
        Fetch the static Jamf groups of one type, sorted by name. Smart groups
        are left out because Jamf manages their members. Use the returned
        `external_id` in the Jamf "add to groups" and "remove from groups"
        workflow actions. Jamf must be connected and the role of the token owner
        must be allowed to run Jamf actions. This endpoint may change or be
        removed without prior notice.
      parameters:
        - name: group_type
          in: query
          required: true
          description: The type of groups to list.
          schema:
            type: string
            enum:
              - computer_group
              - mobile_device_group
        - name: search
          in: query
          required: false
          description: Only return groups whose name contains this text (case-insensitive).
          schema:
            type: string
        - name: page
          in: query
          required: false
          description: The current page
          schema:
            type: integer
        - name: per_page
          in: query
          required: false
          description: Number of results retrieved per page.
          schema:
            type: integer
      responses:
        '200':
          description: Successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/meta_object'
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        external_id:
                          type: string
                          description: The identifier of the group in Jamf
                        name:
                          type: string
                          description: The name of the group in Jamf
                        group_type:
                          type: string
                          enum:
                            - computer_group
                            - mobile_device_group
                          description: Whether the group holds computers or mobile devices
                        created_at:
                          type: string
                          format: date-time
                          description: >-
                            datetime formatted as ISO 8601 (e.g.
                            "2020-12-15T03:34:13.000Z")
                        updated_at:
                          type: string
                          format: date-time
                          description: >-
                            datetime formatted as ISO 8601 (e.g.
                            "2020-12-15T03:34:13.000Z")
        '400':
          description: Missing or unknown group type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors_object'
        '401':
          description: Unauthorized
        '403':
          description: >-
            Jamf is not connected, or the role of the token owner cannot run
            Jamf actions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors_object'
      security:
        - bearer: []
components:
  schemas:
    meta_object:
      type: object
      properties:
        count:
          type: integer
        current_page:
          type: integer
        next_page_link:
          type: string
          nullable: true
        per_page:
          type: integer
          default: 20
          maximum: 200
        previous_page_link:
          type: string
          nullable: true
        total:
          type: integer
    errors_object:
      type: object
      properties:
        error:
          type: string
        troubleshoot:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````