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

# Get Campaigns

## Overview

The "Get Campaigns" endpoint allows users to retrieve a list of all campaigns in Toingg. By sending a GET request to the `/get_campaigns` endpoint, users can obtain detailed information about each campaign, including its status, creation date, and other relevant details. This endpoint is useful for managing and reviewing campaign performance.

#### Example cURL Request

```bash theme={null}
curl -X 'GET' \
  'https://api.toingg.com/api/v3/get_campaigns' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer yourBearerToken'
```

### Response

The response will include the following fields for each campaign:

* `campaignId`: A unique identifier for the campaign.
* `name`: The name of the campaign.
* `status`: The current status of the campaign (e.g., "active", "paused", "completed").
* `creationDate`: The date and time when the campaign was created.
* `details`: Additional details about the campaign, if any.

These details help users manage and analyze their campaigns effectively, providing insights into their performance and status.


## OpenAPI

````yaml GET /get_campaigns
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.toingg.com/api/v3
security: []
paths:
  /get_campaigns:
    get:
      tags:
        - Campaign handling
      summary: Get Campaigns
      operationId: get_campaigns_get_campaigns_get
      parameters:
        - name: skip
          in: query
          required: false
          schema:
            type: integer
            default: 0
            title: Skip
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 10
            title: Limit
        - name: sort
          in: query
          required: false
          schema:
            type: integer
            default: -1
            title: Sort
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: login

````