API endpoints for previewing welcome message templates and listing supported template variables.
The welcome API is used by the web dashboard to preview how welcome messages will render with real or mock member data before saving them.Base path: /api/v1/guilds/:id/welcomeAuthentication: API key or JWT Bearer token required.
Renders a welcome message template with mock or provided member data. Useful for previewing how a message will look in the dashboard before saving.All body fields are optional. The template resolution order is:
{ "variables": [ { "variable": "{user}", "description": "Discord mention of the new member (e.g. <@123>)" }, { "variable": "{username}", "description": "Plain username of the new member" }, { "variable": "{guild}", "description": "Name of the server (alias for {server})" }, { "variable": "{server}", "description": "Name of the server (alias for {guild})" }, { "variable": "{count}", "description": "Current member count (alias for {memberCount})" }, { "variable": "{memberCount}", "description": "Current member count (alias for {count})" } ]}