Create Guild Channel
CreateGuildChannel creates a channel in a guild.
It calls POST https://discord.com/api/v10/guilds/{guild_id}/channels.
The activity has 4 tabs: Configuration, Auth, Input, and Output.
Configuration
| Field | Required | Description |
|---|---|---|
| Name | Optional | Name of the step, should be unique within this workflow. |
| Description | Optional | Describe the purpose or function of this step. |
| Select Auth Context | Optional | Authorization context used to authenticate the request. |
Auth
| Field | Required | Description |
|---|---|---|
| Auth Type | Optional | Select the authentication method for the request. Options: No Auth, Basic, API Key, OAuth 2. |
| Auth Resource | Optional | OAuth resource containing credentials. |
| User Name | Optional | Username for Basic Authentication. |
| Password | Optional | Password for Basic Authentication. |
| Key | Optional | API Key name for API Key Authentication. |
| Value | Optional | API Key value for API Key Authentication. |
Input
This activity is built on the REST Client, so the Input tab is the generic HTTP request rather than a Discord-shaped payload.
| Field | Required | Data Type | Description |
|---|---|---|---|
| Inputs | Optional | Object | The HTTP request. |
Output
The activity returns an httpResponse object.
| Field | Data Type | Description |
|---|---|---|
| status.code | Integer | Numeric HTTP status code. |
| status.message | String | Short message associated with the HTTP status. |
| headers | Object | HTTP response headers. |
| body | Object | Parsed body of the response. |
The response body carries 25 fields. The principal ones are:
| Field | Data Type | Description |
|---|---|---|
| id | String | — |
| type | Integer | — |
| last_message_id | Object | — |
| flags | Integer | — |
| last_pin_timestamp | String | — |
| guild_id | String | — |
| name | String | — |
| parent_id | Object | — |
| rate_limit_per_user | Integer | — |
| bitrate | Integer | — |
| user_limit | Integer | — |
| rtc_region | String | — |
| video_quality_mode | Integer | — |
| permissions | String | — |
| topic | String | — |
| default_auto_archive_duration | Integer | — |
The remaining fields are the rest of the object returned by this endpoint, as declared in the activity's output schema.