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

# Get a campaign group by id

> Returns a single campaign group, scoped to the authenticated organization. Returns 404 if the campaign group does not exist within the organization.



## OpenAPI

````yaml https://api.callers.ai/openapi-json get /campaign-groups/{campaignGroupId}
openapi: 3.0.0
info:
  title: Callers API
  description: API documentation for Callers, providing endpoints for seamless integration.
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.callers.ai
security: []
tags: []
paths:
  /campaign-groups/{campaignGroupId}:
    get:
      tags:
        - Campaign Groups
      summary: Get a campaign group by id
      description: >-
        Returns a single campaign group, scoped to the authenticated
        organization. Returns 404 if the campaign group does not exist within
        the organization.
      operationId: CampaignGroupPublicController_getCampaignGroupById
      parameters:
        - name: campaignGroupId
          required: true
          in: path
          description: Id of the campaign group as a string ObjectId value.
          schema:
            type: string
        - name: x-sub-organization-id
          in: header
          schema:
            type: string
          description: >-
            Optional sub organization ID. Must belong to your main organization
            API key.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CampaignGroupPublicDto'
        '404':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
      security:
        - Authorization: []
components:
  schemas:
    CampaignGroupPublicDto:
      type: object
      properties:
        id:
          type: string
          description: >-
            Unique identifier for the campaign group. String representation of
            an ObjectId.
          example: 507f1f77bcf86cd799439011
        name:
          type: string
          description: Display name of the campaign group.
          example: Onboarding Campaigns
        organizationId:
          type: string
          description: >-
            Id of the organization this campaign group belongs to. String
            representation of an ObjectId.
          example: 507f1f77bcf86cd799439012
        campaignsCount:
          type: number
          description: Number of campaigns currently assigned to this campaign group.
          example: 3
        createdAt:
          type: string
          description: Timestamp when the campaign group was created (ISO 8601 string).
          format: date-time
          example: '2024-04-09T12:00:00.000Z'
          nullable: true
        updatedAt:
          type: string
          description: >-
            Timestamp when the campaign group was last updated (ISO 8601
            string).
          format: date-time
          example: '2024-04-09T13:30:00.000Z'
          nullable: true
      required:
        - id
        - name
        - organizationId
        - campaignsCount
        - createdAt
        - updatedAt
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: Authorization

````