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

# Active Slots

> Returns ad-slot / widget slot configuration currently active on the site.



## OpenAPI

````yaml /openapi/content-delivery.json get /publisher/{publisher_id}/active-slots/
openapi: 3.1.0
info:
  title: Publive Content Delivery API
  version: 1.0.0
  description: >-
    Read-only API for delivering publisher content, configuration, and static
    assets. All endpoints require HTTP Basic Auth and are GET requests.
servers:
  - url: https://cds.thepublive.com
security:
  - basicAuth: []
tags:
  - name: Site Configuration
  - name: Content
  - name: Posts
  - name: Forms
  - name: Static Files
  - name: Sitemaps
paths:
  /publisher/{publisher_id}/active-slots/:
    get:
      tags:
        - Site Configuration
      summary: Active Slots
      description: >-
        Returns ad-slot / widget slot configuration currently active on the
        site.
      operationId: getActiveSlots
      parameters:
        - $ref: '#/components/parameters/PublisherId'
      responses:
        '200':
          description: Active slots
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                  message:
                    type: string
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                        name:
                          type: string
                        data:
                          type: object
                          properties:
                            size:
                              type: string
                            html:
                              type: string
                            contains_ads:
                              type: boolean
                        registered_slot:
                          type: object
                          properties:
                            id:
                              type: integer
                            name:
                              type: string
                        formatted_update_on:
                          type: string
                        type:
                          type: string
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  parameters:
    PublisherId:
      name: publisher_id
      in: path
      required: true
      schema:
        type: string
      description: Your Publisher ID
  responses:
    Unauthorized:
      description: Invalid or missing credentials
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorDetail'
          example:
            detail: Invalid Auth Credentials
  schemas:
    ErrorDetail:
      type: object
      properties:
        detail:
          type: string
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic Auth using your Publive API key pair, base64-encoded.

````