# at.ducs.channels.createChannel

> Published by [ducs.at](https://lexicon.garden/identity/did:plc:c5ljrscuf2xu4oovnafzoqlg)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:c5ljrscuf2xu4oovnafzoqlg/at.ducs.channels.createChannel)
- [Documentation](https://lexicon.garden/lexicon/did:plc:c5ljrscuf2xu4oovnafzoqlg/at.ducs.channels.createChannel/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:c5ljrscuf2xu4oovnafzoqlg/at.ducs.channels.createChannel/examples)

## Definitions

### `at.ducs.channels.createChannel`

**Type**: `procedure`

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes |  |
| `members` | `array` | Yes |  |

#### Output

**Encoding**: `application/json`

## Raw Schema

```json
{
  "id": "at.ducs.channels.createChannel",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "name",
            "members"
          ],
          "properties": {
            "name": {
              "type": "string"
            },
            "members": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "at-identifier"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "ref": "at.ducs.channels.defs#channel",
          "type": "ref"
        },
        "encoding": "application/json"
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
