> ## 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 Campaign Webhook

## Overview

The "Get Campaign Webhooks" endpoint allows users to retrieve all webhook configurations associated with a specific campaign in Toingg. By sending a POST request to the `/get_campaingn_webhooks` endpoint, users can access details of each webhook, including its name, event path, HTTP method, and any associated headers or JSON data. This functionality is crucial for reviewing and managing campaign-specific integrations with external systems, ensuring that webhooks are correctly configured to trigger the desired actions in response to campaign events. The endpoint provides comprehensive information to support effective webhook management and alignment with campaign needs.

#### Example cURL Request

```bash theme={null}
curl -X GET \
  'https://api.toingg.com/api/v3/get_campaingn_webhooks?campaignId=YOUR_CAMPAIGN_ID' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
```


## OpenAPI

````yaml GET /get_campaingn_webhooks
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.toingg.com/api/v3
security: []
paths:
  /get_campaingn_webhooks:
    get:
      tags:
        - Webhook handling
      summary: Get Campaingn Webhooks
      operationId: get_campaingn_webhooks_get_campaingn_webhooks_get
      parameters:
        - name: campaignId
          in: query
          required: true
          schema:
            type: string
            title: Campaignid
      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

````