api

post/api/guilds/{guild_id}/templates/

Path parameters

guild_idstring required

guild_id

Request body

namestring required
descriptionstring

Response

codestring required
namestring required
descriptionstring
usage_countinteger
creator_idstring required
created_atstring date-time required
updated_atstring date-time required
source_guild_idstring required
idstring required

Changes

Changed in 2 of the 62 revisions of this API.123

  • 9d1008c46d60122See the full diff
    • the response property creator/settings/friend_source_flags/all became optional for the status 200

      response-property-became-optional

    • added the new darker enum value to the creator/settings/theme response property for the response status 200

      response-property-enum-value-added

    • added the new midnight enum value to the creator/settings/theme response property for the response status 200

      response-property-enum-value-added

    • added the optional property creator/settings/friend_source_flags/mutual_friends to the response with the 200 status

      response-optional-property-added

    • added the optional property creator/settings/friend_source_flags/mutual_guilds to the response with the 200 status

      response-optional-property-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added