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

# Scheduled Callbacks

> Fetches the list of scheduled callbacks for the agency 'voizerfreeaccount'.



## OpenAPI

````yaml GET /scheduled-callbacks/agency/{company_name}/
openapi: 3.1.0
info:
  title: CloserX.ai API
  description: >-
    The CloserX.ai API provides programmatic access to manage AI-powered calling
    operations, including agent creation, campaign management, contact handling,
    telephony integration, and more. This API enables seamless automation and
    integration with CRM systems, telephony providers, and other third-party
    services for enhanced client communication and business operations.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.closerx.ai/api
security:
  - api_key: []
paths:
  /scheduled-callbacks/agency/{company_name}/:
    get:
      summary: Retrieve scheduled callbacks for the specified agency
      description: >-
        Fetches the list of scheduled callbacks for the agency
        'voizerfreeaccount'.
      parameters:
        - name: Company-Name
          in: header
          required: true
          description: The schema name for multi-tenancy (company-wise DB separation)
          schema:
            type: string
      responses:
        '200':
          description: Successfully retrieved scheduled callbacks
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CallbackVoizerFreeAccount'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CallbackVoizerFreeAccount:
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful
        agency_id:
          type: string
          description: The unique ID of the agency (e.g., voizerfreeaccount)
        scheduled_tasks:
          type: array
          description: List of scheduled tasks associated with the agency
          items:
            type: object
            properties:
              id:
                type: integer
                description: The unique ID of the scheduled task
              name:
                type: string
                description: The name of the scheduled task
              task:
                type: string
                description: The task to be executed
              args:
                type: string
                description: Arguments passed to the task (usually a list)
              clocked:
                type: object
                properties:
                  clocked_time:
                    type: string
                    format: date-time
                    description: The scheduled time of the task in UTC
              enabled:
                type: boolean
                description: Indicates whether the task is enabled or not
            required:
              - id
              - name
              - task
              - clocked
              - enabled
        quick_campaign_results:
          type: array
          description: >-
            List of results for the quick campaign, including errors or success
            information
          items:
            type: object
            properties:
              id:
                type: integer
                description: The ID of the quick campaign result
              error:
                type: string
                description: Any error message if the result was not found or failed
            required:
              - id
              - error
      required:
        - success
        - agency_id
        - scheduled_tasks
        - quick_campaign_results
    Error:
      required:
        - success
        - message
        - data
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: api_key

````