# Gets a channel type.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "v1",
    "title": "Channels API"
  },
  "paths": {
    "/channels/v1/accounts/{accountId}/channels/types/{channelTypeId}": {
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "Gets a channel type.",
        "operationId": "Channels_GetChannelTypeAsync",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "The account identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "channelTypeId",
            "in": "path",
            "description": "The channel type identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CM.Platform.Channels.Models.Channels.ApiChannelTypeResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CM.Platform.Channels.Models.Channels.ApiChannelTypeResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CM.Platform.Channels.Models.Channels.ApiChannelTypeResponse"
                }
              },
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/CM.Platform.Channels.Models.Channels.ApiChannelTypeResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.cm.com"
    }
  ],
  "components": {
    "schemas": {
      "CM.Platform.Channels.Models.Channels.ApiChannelTypeResponse": {
        "required": [
          "id",
          "currency",
          "startupCost",
          "monthlyCost",
          "noticePeriodDays",
          "channelRequestProcessingDays",
          "categories"
        ],
        "type": "object",
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "currency": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "prettyName": {
            "type": "string"
          },
          "iconClass": {
            "type": "string"
          },
          "startupCost": {
            "format": "double",
            "type": "number"
          },
          "monthlyCost": {
            "format": "double",
            "type": "number"
          },
          "noticePeriodDays": {
            "format": "int32",
            "type": "integer"
          },
          "channelRequestProcessingDays": {
            "format": "int32",
            "type": "integer"
          },
          "requiredCapability": {
            "type": "string"
          },
          "categories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CM.Platform.Channels.Models.Channels.ApiChannelCategory"
            }
          }
        }
      },
      "CM.Platform.Channels.Models.Channels.ApiChannelCategory": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "iconClass": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "channelLimit": {
            "format": "int32",
            "type": "integer"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 103,
      "1": 190,
      "2": 212,
      "3": 166,
      "4": 50,
      "5": 7,
      "6": 123,
      "7": 0,
      "8": 17,
      "9": 137,
      "10": 237,
      "11": 0
    }
  }
}
```