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

# Get group

> Get a group by ID. Requires a partner API token.



## OpenAPI

````yaml get /groups/{id}
openapi: 3.1.0
info:
  title: CookieChimp API
  description: API for CookieChimp.com
  version: 1.0.1
servers:
  - url: https://cookiechimp.com/api/v1
security:
  - authorization: []
paths:
  /groups/{id}:
    get:
      tags:
        - Groups
      summary: Get group
      description: Get a group by ID. Requires a partner API token.
      operationId: getGroup
      parameters:
        - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Group
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Group'
components:
  parameters:
    id:
      name: id
      in: path
      description: ID of the resource
      required: true
      schema:
        type: string
  schemas:
    Group:
      type: object
      properties:
        id:
          type: string
          readOnly: true
          description: Unique identifier for the group
      allOf:
        - $ref: '#/components/schemas/GroupCreate'
      example:
        id: abc123
        name: Example Ltd
        external_id: ABC_123
        partner: partner_one
        max_pageviews_per_month: 500000
    GroupCreate:
      type: object
      properties:
        name:
          type: string
          description: Name of the group
        external_id:
          type: string
          description: External ID set by the partner
        max_pageviews_per_month:
          type: integer
          description: Maximum number of pageviews per month
      required:
        - name
        - external_id
        - max_pageviews_per_month
  securitySchemes:
    authorization:
      type: http
      scheme: bearer
      description: API token obtained from the login endpoint or the dashboard

````