API v10InterfacesRESTPostAPIChatInputApplicationCommandsJSONBodyVersion: 0.37.112On this pageRESTPostAPIChatInputApplicationCommandsJSONBody https://discord.com/developers/docs/interactions/application-commands#create-global-application-commandHierarchyRESTPostAPIBaseApplicationCommandsJSONBodyRESTPostAPIChatInputApplicationCommandsJSONBodyIndex Propertiescontextsdefault_member_permissionsdefault_permissiondescriptiondescription_localizationsdm_permissionhandlerintegration_typesnamename_localizationsnsfwoptionstypeProperties optionalcontextscontexts?: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<InteractionContextType>[]optionaldefault_member_permissionsdefault_member_permissions?: null | stringoptionaldefault_permissiondefault_permission?: booleandescriptiondescription: stringoptionaldescription_localizationsdescription_localizations?: null | AddUndefinedToPossiblyUndefinedPropertiesOfInterface<Partial<Record<Locale, null | string>>>optionaldm_permissiondm_permission?: booleanoptionalhandlerhandler?: AppHandler | DiscordLaunchActivityoptionalintegration_typesintegration_types?: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<ApplicationIntegrationType>[]namename: stringoptionalname_localizationsname_localizations?: null | AddUndefinedToPossiblyUndefinedPropertiesOfInterface<Partial<Record<Locale, null | string>>>optionalnsfwnsfw?: booleanoptionaloptionsoptions?: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<APIApplicationCommandOption>[]optionaltypetype?: ChatInput
https://discord.com/developers/docs/interactions/application-commands#create-global-application-command