POST /guilds/{guild_id}/channels

Changed on

Request

  • Base URL
    https://discord.com/api/v10
  • Auth
    API key in header Authorization

Request body

namestring required
positioninteger nullable
topicstring nullable
bitrateinteger nullable
user_limitinteger nullable
nsfwboolean nullable
rate_limit_per_userinteger nullable
parent_idstring snowflake
rtc_regionstring nullable
default_thread_rate_limit_per_userinteger nullable

Response

201 response for create_guild_channel

idstring snowflake required
last_message_idstring snowflake
flagsinteger required
last_pin_timestampstring date-time nullable
guild_idstring snowflake required
namestring required
parent_idstring snowflake
rate_limit_per_userinteger
bitrateinteger
user_limitinteger
rtc_regionstring nullable
permissionsstring
topicstring nullable
default_thread_rate_limit_per_userinteger
positioninteger required
nsfwboolean

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • breaking

      added subschema #1: DEFAULT subschema #2: LIST subschema #3: GRID to the response property oneOf list for the response status

    • breaking

      the response's property type changed from no type to integer, and format from no format to int32 for status

    • info

      the response property ///// became required for the status

    • info

      the response property ///// became required for the status

    • info

      removed subschema #1 from the response property oneOf list for the response status