# Get a channel's custom request form.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "v1",
    "title": "Channels API"
  },
  "paths": {
    "/channels/v1/accounts/{accountId}/channels/{channelId}/customrequestform": {
      "get": {
        "tags": [
          "Channels"
        ],
        "summary": "Get a channel's custom request form.",
        "operationId": "Channels_GetChannelCustomRequestFormAsync",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "The account identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "channelId",
            "in": "path",
            "description": "The channel identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CM.Platform.Channels.Models.RequestForms.ApiCustomRequestForm"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CM.Platform.Channels.Models.RequestForms.ApiCustomRequestForm"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CM.Platform.Channels.Models.RequestForms.ApiCustomRequestForm"
                }
              },
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/CM.Platform.Channels.Models.RequestForms.ApiCustomRequestForm"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.cm.com"
    }
  ],
  "components": {
    "schemas": {
      "CM.Platform.Channels.Models.RequestForms.ApiCustomRequestForm": {
        "type": "object",
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "channelCategoryId": {
            "format": "uuid",
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "formElements": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CM.Platform.Channels.Models.RequestForms.ApiRequestFormElement"
            }
          }
        }
      },
      "CM.Platform.Channels.Models.RequestForms.ApiRequestFormElement": {
        "type": "object",
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "inputKey": {
            "type": "string"
          },
          "inputDescriptionKey": {
            "type": "string"
          },
          "inputPosition": {
            "type": "string"
          },
          "inputProperties": {
            "$ref": "#/components/schemas/CM.Platform.Channels.Models.RequestForms.ApiRequestFormElementProperties"
          },
          "inputType": {
            "type": "string"
          },
          "isRequired": {
            "type": "boolean"
          },
          "isAdminElement": {
            "type": "boolean"
          }
        }
      },
      "CM.Platform.Channels.Models.RequestForms.ApiRequestFormElementProperties": {
        "type": "object",
        "properties": {
          "cssClass": {
            "type": "string"
          },
          "cssGridClass": {
            "type": "string"
          },
          "cssStyle": {
            "type": "string"
          },
          "fileSizeMax": {
            "format": "int32",
            "type": "integer"
          },
          "fileType": {
            "type": "string"
          },
          "lengthMax": {
            "format": "int32",
            "type": "integer"
          },
          "lengthMin": {
            "format": "int32",
            "type": "integer"
          },
          "regex": {
            "type": "string"
          },
          "resolutionMax": {
            "type": "string"
          },
          "resolutionMin": {
            "type": "string"
          },
          "selectable": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "showAs": {
            "type": "string"
          },
          "showInputDescriptionKey": {
            "type": "boolean"
          }
        }
      }
    }
  },
  "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
    }
  }
}
```