POST /guilds/{guild_id}/templates

Changed on

Request

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

Request body

namestring required
descriptionstring nullable

Response

200 response for create_guild_template

codestring required
namestring required
descriptionstring nullable required
usage_countinteger required
creator_idstring snowflake required
created_atstring date-time required
updated_atstring date-time required
source_guild_idstring snowflake required
is_dirtyboolean nullable required

Changes

    • breaking

      added subschema #1: CRIMSON subschema #2: BERRY subschema #3: SKY subschema #4: TEAL subschema #5: FOREST subschema #6: BUBBLE_GUM subschema #7: VIOLET subschema #8: COBALT subschema #9: CLOVER subschema #10: LEMON subschema #11: WHITE subschema #12: BLACK to the /////////////// response property oneOf list for the response status

    • breaking

      removed the required property /// from the response with the status

    • breaking

      the //// response's property type changed from no type to object 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

    • info

      added the required property ///// to the response with the status

    • info

      added the required property ///// to the response with the status

    • info

      added the required property ///// to the response with the status

    • info

      added the required property ///// to the response with the status