> ## 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.

# Wurl EPG

# 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/channels/{id}/epg/wurl": {
      "get": {
        "summary": "Wurl EPG",
        "description": "",
        "operationId": "getWurlEPG",
        "tags": [
          "EPG"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "ID of Channel"
          },
          {
            "name": "custom_thumbnail",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "description": "If true, uses the custom thumbnail from the Assets when they have one."
          }
        ],
        "responses": {
          "200": {
            "description": "Return Wurl epg for next 7 days",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Wurl EPG",
                  "type": "object",
                  "properties": {
                    "channel": {
                      "type": "object",
                      "description": "The Wurl channel EPG.",
                      "properties": {
                        "title": {
                          "type": "string",
                          "description": "Wurl channel title."
                        },
                        "wurl_channel_slug": {
                          "type": "string",
                          "description": "Channel slug used to identify the channel in Wurl."
                        },
                        "broadcast_url": {
                          "type": "string",
                          "description": "Channel Streaming URL."
                        },
                        "language": {
                          "type": "string",
                          "description": "Channel Language."
                        },
                        "programs": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "key": {
                                "type": "string",
                                "description": "Program key. It will match with Playout video id."
                              },
                              "external_id": {
                                "type": "string",
                                "description": "Program external id. It will match with Wurl program key."
                              },
                              "title": {
                                "type": "string",
                                "description": "Program title."
                              },
                              "content_type": {
                                "type": "string",
                                "description": "It will be \"episode\" when the channel is a series episode. Otherwise it will be \"shortFormVideo\"."
                              },
                              "release_date": {
                                "type": "string",
                                "format": "date",
                                "description": "Program release date."
                              },
                              "short_description": {
                                "type": "string",
                                "description": "Video description."
                              },
                              "description": {
                                "type": "string",
                                "description": "Video description."
                              },
                              "thumbnails": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "url": {
                                      "type": "string",
                                      "description": "Thumbnail image URL"
                                    },
                                    "width": {
                                      "type": "number",
                                      "description": "Thumbnail image width"
                                    },
                                    "height": {
                                      "type": "number",
                                      "description": "Thumbnail image height"
                                    }
                                  }
                                }
                              },
                              "series": {
                                "type": "object",
                                "description": "Program series information (only available when the program is a series episode).",
                                "properties": {
                                  "title": {
                                    "type": "string",
                                    "description": "Series title."
                                  },
                                  "description": {
                                    "type": "string",
                                    "description": "Series description."
                                  },
                                  "season": {
                                    "type": "object",
                                    "properties": {
                                      "number": {
                                        "type": "number",
                                        "description": "Series Season number."
                                      },
                                      "episode_number": {
                                        "type": "number",
                                        "description": "Program Episode number."
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "events": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "program_key": {
                                "type": "string",
                                "description": "Program key. It will match with one of listed programs."
                              },
                              "time_slot": {
                                "type": "string",
                                "format": "date-time",
                                "description": "The timestamp when the event will air"
                              },
                              "duration": {
                                "type": "number",
                                "description": "Event duration in seconds."
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Channel not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1scheduler~1v2~1uploads/post/responses/404/content/application~1json/schema"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "X-API-Key",
        "in": "header"
      }
    }
  }
}
```