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

# List Ad Timings

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Playout Scheduler",
    "description": "",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.zype.com/"
    }
  ],
  "security": [
    {
      "api_key": []
    }
  ],
  "paths": {
    "/scheduler/v2/assets/ad_timings": {
      "get": {
        "summary": "List Ad Timings",
        "description": "",
        "operationId": "getPlayoutSchedulerAdTimings",
        "tags": [
          "Assets"
        ],
        "parameters": [
          {
            "name": "assetId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "CMS ID of the asset"
          }
        ],
        "responses": {
          "200": {
            "description": "Ad timings response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "adTimings": {
                      "$ref": "#/paths/~1scheduler~1v2~1assets~1ad_timings/post/responses/201/content/application~1json/schema"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1scheduler~1v1~1types/get/responses/422/content/application~1json/schema"
                }
              }
            }
          }
        }
      },
      "post": {
        "summary": "Create Ad Timing",
        "description": "",
        "operationId": "createPlayoutSchedulerAdTiming",
        "tags": [
          "Assets"
        ],
        "x-codegen-request-body-name": "adTiming",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "title": "AdTimingRequest",
                "type": "object",
                "required": [
                  "adTiming"
                ],
                "properties": {
                  "adTiming": {
                    "type": "object",
                    "title": "AdTimingProperties",
                    "required": [
                      "assetExternalId",
                      "time"
                    ],
                    "properties": {
                      "assetExternalId": {
                        "type": "string"
                      },
                      "time": {
                        "type": "number"
                      },
                      "duration": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Ad Timing",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "externalAssetId": {
                      "type": "string"
                    },
                    "siteId": {
                      "type": "string"
                    },
                    "disabled": {
                      "type": "boolean"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date"
                    },
                    "time": {
                      "type": "string"
                    },
                    "externalId": {
                      "type": "string"
                    },
                    "duration": {
                      "type": "number"
                    },
                    "assetId": {
                      "type": "string"
                    },
                    "overwritten": {
                      "type": "boolean"
                    },
                    "originalTime": {
                      "type": "number"
                    },
                    "originalDuration": {
                      "type": "number"
                    },
                    "placementId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "overwrite",
                        "push-out"
                      ]
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1scheduler~1v1~1types/get/responses/422/content/application~1json/schema"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "X-API-Key",
        "in": "header"
      }
    }
  }
}
```