UtilityGhar LogoUtilityGhar Logo
Support Me

Discord Slash Command JSON Validator

Validate Discord application slash command JSON against API schemas.

What is Discord Slash Command Validator?

The Discord Slash Command Validator checks application command JSON definitions against Discord API v10 specifications for option types, choices, localization dictionaries, and parameter constraints.

Validate slash command payloads before registering commands via Discord REST API endpoints, catching schema errors instantly.

Slash Command JSON

Enter JSON to validate
Fix schema issues listed below

Frequently Asked Questions

What are the required fields for a slash command definition?
Slash commands require a valid name (1-32 lowercase characters) and description (1-100 characters).
What option types are supported in slash commands?
Options include SUB_COMMAND, STRING, INTEGER, BOOLEAN, USER, CHANNEL, ROLE, MENTIONABLE, NUMBER, and ATTACHMENT.
How many options can a single command contain?
A command can contain up to 25 options per command definition.

How to use Discord Slash Command Validator

To validate slash commands:

  • Paste your command JSON payload into the editor.
  • Click Validate Command to run schema checks against Discord API specifications.
  • Fix highlighted schema errors and copy valid registration JSON.