---
updatedAt: 2026-08-01T11:27:33.000Z
agentTools:
  projectIndex: https://dev.kevel.com/llms.txt
---

# Create Channels

## Why Create a Channel?

When working within your network, you may find it necessary to add a new channel to the network. The Kevel Inventory Management API enables you to add a new channel to the network using the Create Channels API endpoint.

By default, an `All Sites` channel is created with the network, which cannot be deleted. The result includes the unique Channel ID that can be used to update or remove the channel.

## API Syntax

When using the Create Channels API endpoint, it is important to understand the syntax required to make the request. Because the Kevel API is a RESTful API, there is a specific request format that must be followed to ensure the endpoint can process the request. The format is:

`POST https://api.kevel.co/v1/channel`

Where:

* `POST` - the type of API request being made.
* `https://api.kevel.co` - the URL for the request.
* `v1` - the API version.
* `channel` - the API endpoint being called.

> 📘 Note
>
> Make sure to set `Engine` to `0` in all requests.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "management-api-2",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.kevel.co"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "X-Adzerk-ApiKey",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/channel": {
      "post": {
        "summary": "Create Channels",
        "description": "",
        "operationId": "create-channels-1",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "Title",
                  "AdTypes",
                  "Engine"
                ],
                "properties": {
                  "Title": {
                    "type": "string",
                    "description": "The channel's name"
                  },
                  "AdTypes": {
                    "type": "array",
                    "description": "The [Ad Types](doc:ad-sizes) you want to use. Note - if the Ad Types aren't already created (you can check in UI by going to Inventory --> Ad Sizes), you'll need to first do that with the UI or [API](ref:ad-type).",
                    "items": {
                      "type": "integer",
                      "format": "int32"
                    }
                  },
                  "Engine": {
                    "type": "string",
                    "description": "Set to 0 for all requests",
                    "default": "0"
                  },
                  "CPM": {
                    "type": "number",
                    "description": "Set to 0 for all requests",
                    "format": "float"
                  },
                  "CustomTargeting": {
                    "type": "string",
                    "description": "Zerkel string for Custom targeting. Instructions [here](https://dev.kevel.com/docs/custom-targeting). The maximum string length for `CustomTargeting` is 1000 characters."
                  },
                  "IsDeleted": {
                    "type": "boolean",
                    "description": "Don't use when creating a Channel. Defaults to `false`",
                    "default": false
                  }
                }
              },
              "examples": {
                "JSON": {
                  "value": {
                    "Title": "Finance Sites",
                    "AdTypes": [
                      5
                    ],
                    "Engine": 0
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"Title\": \"Finance Sites\",\n  \"IsDeleted\": false,\n  \"CustomTargeting\": null,\n  \"AdTypes\": [\n    5\n  ],\n  \"Keywords\": null,\n  \"Commission\": 0,\n  \"Engine\": \"CPM\",\n  \"CPM\": 0,\n  \"Id\": 1234\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "Title": {
                      "type": "string",
                      "example": "Finance Sites"
                    },
                    "IsDeleted": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "CustomTargeting": {},
                    "AdTypes": {
                      "type": "array",
                      "items": {
                        "type": "integer",
                        "example": 5,
                        "default": 0
                      }
                    },
                    "Keywords": {},
                    "Commission": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "Engine": {
                      "type": "string",
                      "example": "CPM"
                    },
                    "CPM": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "Id": {
                      "type": "integer",
                      "example": 1234,
                      "default": 0
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl -X POST -H \"X-Adzerk-ApiKey:$ADZERK_API_KEY\" -H \"Content-Type:application/json\" \"https://api.kevel.co/v1/channel\" --data-binary '{\"Title\":\"Finance Sites\",\"Engine\":0,\"AdTypes\":[5]}'"
            },
            {
              "language": "javascript",
              "code": "const Adzerk = require('@adzerk/management-sdk');\nconst apiKey = process.env.ADZERK_API_KEY;\n\nasync function createChannel() {\n  let specifications = await Adzerk.fetchSpecifications();\n  let client = await Adzerk.buildClient({apiKey, specifications});\n\n  let channel = await client.run(\"channel\", \"create\", {\n    title: \"Finance Sites\",\n    adTypes: [ 5 ],\n  });\n\n  console.log(channel);\n}\n\ncreateChannel();"
            },
            {
              "language": "ruby",
              "code": "require \"adzerk\"\n\ndef create_channel()\n    client = Adzerk::Client.new(ENV[\"ADZERK_API_KEY\"])\n    opts = {\n        title: \"Channel Title\",\n        ad_types: [5, 6],\n        engine: 0 # set to 0 for all requests\n    }\n    pp client.channels.create(opts)\nend\ncreate_channel()"
            }
          ],
          "samples-languages": [
            "curl",
            "javascript",
            "ruby"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "X-Adzerk-Sdk-Version",
        "value": "Readme.io:ManagementAPI2"
      }
    ],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```