Actions193
- Application Actions
- Application Command Actions
- Application Role Connection Metadata Actions
- Audit Log Actions
- Auto Moderation Actions
- Channel Actions
- Get
- Modify
- Delete
- Trigger Typing
- Get Pinned Messages
- Unpin Message
- Create Reaction
- Delete Own Reaction
- Get Reactions
- Delete All Reactions
- Delete All Reactions For Emoji
- Bulk Delete Messages
- Crosspost Message
- Edit Channel Permissions
- Delete Channel Permission
- Get Channel Invites
- Create Channel Invite
- Follow Announcement Channel
- Group DM Add Recipient
- Group DM Remove Recipient
- Start Thread From Message
- Start Thread Without Message
- Start Thread In Forum Channel
- Join Thread
- Add Thread Member
- Leave Thread
- Get Thread Member
- List Thread Members
- List Public Archived Threads
- List Private Archived Threads
- List Joined Private Archived Threads
- Emoji Actions
- Entitlement Actions
- Guild Actions
- Get
- Modify
- Create
- Get Preview
- Delete
- Modify Channel Positions
- List Active Threads
- Get Bans
- Get Ban
- Remove Ban
- Get Prune Count
- Begin Prune
- Get Voice Regions
- Get Invites
- Get Integrations
- Delete Integration
- Get Widget Settings
- Modify Widget
- Get Widget
- Get Vanity URL
- Get Widget Image
- Get Welcome Screen
- Modify Welcome Screen
- Get Onboarding
- Modify Onboarding
- Modify Current User Voice State
- Modify User Voice State
- Search Members
- List Members
- Guild Scheduled Event Actions
- Guild Template Actions
- Interaction Response Actions
- Invite Actions
- Lobby Actions
- Member Actions
- Message Actions
- Poll Actions
- Role Actions
- SKU Actions
- Soundboard Actions
- Stage Instance Actions
- Sticker Actions
- Subscription Actions
- User Actions
- Voice Actions
- Webhook Actions
Application Command → Create Global
AI-generatedSummary
Create a global Discord application command for the specified application, with command settings and optional slash-command options, localizations, contexts, installation types, permissions, and NSFW status. The operation uses a bot token by default; OAuth2 user-token authentication is also selectable.
Inputs
- Authentication — Choose Bot Token (default) or OAuth2 (User Token).
- Application (required) — Discord application ID.
- Payload (required) — Raw Discord JSON request body. Typed fields can override matching payload keys.
- Command Type — Chat Input (Slash), User, or Message; defaults to Chat Input.
- Command Options — For slash commands, add options such as strings, numbers, users, channels, subcommands, and their constraints, choices, or localizations.
- Name Localizations — Set localized command names using the guided locale builder, raw JSON, or both. Raw JSON takes precedence for matching locale keys.
- Description Localizations — Set localized command descriptions using the guided locale builder, raw JSON, or both. Raw JSON takes precedence for matching locale keys.
- Contexts — Choose interaction contexts where the global command can be used: GUILD, BOT_DM, or PRIVATE_CHANNEL.
- Integration Types — Choose installation contexts: GUILD_INSTALL or USER_INSTALL.
- Default Member Permissions (Flags) — Select permission flags required by default, or provide a stringified permission bitfield. Selected flags take precedence over the raw bitfield.
- DM Permission — Legacy setting for whether the command is available in bot DMs; defaults to true and is superseded by Contexts.
- NSFW — Whether the command is age-restricted; defaults to false.
- Request Options — Optional request settings including batching, SSL certificate handling, proxy, and timeout.
Output shape
a single record
Contains the Discord API response for the created global application command.