Skip to main content

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

FieldRequiredDescription
NameOptionalName of the step, should be unique within this workflow.
DescriptionOptionalDescribe the purpose or function of this step.
Select Auth ContextOptionalAuthorization context used to authenticate the request.

Auth

FieldRequiredDescription
Auth TypeOptionalSelect the authentication method for the request. Options: No Auth, Basic, API Key, OAuth 2.
Auth ResourceOptionalOAuth resource containing credentials.
User NameOptionalUsername for Basic Authentication.
PasswordOptionalPassword for Basic Authentication.
KeyOptionalAPI Key name for API Key Authentication.
ValueOptionalAPI 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.

FieldRequiredData TypeDescription
InputsOptionalObjectThe HTTP request.

Output

The activity returns an httpResponse object.

FieldData TypeDescription
status.codeIntegerNumeric HTTP status code.
status.messageStringShort message associated with the HTTP status.
headersObjectHTTP response headers.
bodyObjectParsed body of the response.

The response body carries 25 fields. The principal ones are:

FieldData TypeDescription
idString
typeInteger
last_message_idObject
flagsInteger
last_pin_timestampString
guild_idString
nameString
parent_idObject
rate_limit_per_userInteger
bitrateInteger
user_limitInteger
rtc_regionString
video_quality_modeInteger
permissionsString
topicString
default_auto_archive_durationInteger

The remaining fields are the rest of the object returned by this endpoint, as declared in the activity's output schema.