# SaveChannelType

> Save a channel type's display name and detail prompt. Write access, channels toolset, MCP tool save_channel_type.

**Access:** [Write](https://developer.missin.co.uk/get-started/authentication.md#access-levels)

## Variables

| Variable | Type | Required | Accepts | Description |
|---|---|---|---|---|
| `input` | `SaveChannelTypeInput!` | yes | Input object, below |  |

## Input types

### SaveChannelTypeInput

| Field | Type | Required | Accepts | Description |
|---|---|---|---|---|
| `askDetail` | `Boolean` | no |  | Off silences this type's follow-up for every form saved after. |
| `channelTypeId` | `UUID!` | yes |  |  |
| `detailOptions` | `[String!]` | no | each at most 60 characters | The follow-up's answers. Fewer than two means no follow-up is asked. |
| `detailPrompt` | `String` | no | at most 200 characters | The follow-up question asked after a channel of this type is picked. |
| `displayName` | `String` | no | at most 80 characters | What a respondent reads. Null or blank falls back to the canonical name. |

## Call it

```bash curl
curl https://api.missin.co.uk/graphql/v1 \
  -H "Authorization: Bearer $MISSIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operationName":"SaveChannelType","variables":{"input":{"channelTypeId":"00000000-0000-0000-0000-000000000000"}},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"86eec9dbea42cee243789efad79a1a09b09dba815dc4f55ce9ca3d87332bb817"}}}'
```

## Document

```graphql
mutation SaveChannelType($input: SaveChannelTypeInput!) { __typename saveChannelType(input: $input) { __typename channelTypeId userErrors { __typename code field message } } }
```

Source: https://developer.missin.co.uk/reference/channels/save-channel-type
