Skip to main content

Guild Template Object

Represents a code that when used, creates a guild based on a snapshot of an existing guild.
Guild Template Structure
Example Guild Template Object

Get Guild Template

GET/guilds/templates/{template.code}
Returns a guild template object for the given code.

Get Guild Templates

GET/guilds/{guild.id}/templates
Returns an array of guild template objects. Requires the MANAGE_GUILD permission.

Create Guild Template

POST/guilds/{guild.id}/templates
Creates a template for the guild. Requires the MANAGE_GUILD permission. Returns the created guild template object on success.
JSON Params

Sync Guild Template

PUT/guilds/{guild.id}/templates/{template.code}
Syncs the template to the guild’s current state. Requires the MANAGE_GUILD permission. Returns the guild template object on success.

Modify Guild Template

PATCH/guilds/{guild.id}/templates/{template.code}
Modifies the template’s metadata. Requires the MANAGE_GUILD permission. Returns the guild template object on success.
JSON Params

Delete Guild Template

DELETE/guilds/{guild.id}/templates/{template.code}
Deletes the template. Requires the MANAGE_GUILD permission. Returns the deleted guild template object on success.