API v9InterfacesRESTPostAPIContextMenuApplicationCommandsJSONBodyVersion: 0.37.112On this pageRESTPostAPIContextMenuApplicationCommandsJSONBody https://discord.com/developers/docs/interactions/application-commands#create-global-application-commandHierarchyRESTPostAPIBaseApplicationCommandsJSONBodyRESTPostAPIContextMenuApplicationCommandsJSONBodyIndex Propertiescontextsdefault_member_permissionsdefault_permissiondescription_localizationsdm_permissionhandlerintegration_typesnamename_localizationsnsfwoptionstypeProperties optionalcontextscontexts?: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<InteractionContextType>[]optionaldefault_member_permissionsdefault_member_permissions?: null | stringoptionaldefault_permissiondefault_permission?: booleanoptionaldescription_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>[]typetype: User | Message
https://discord.com/developers/docs/interactions/application-commands#create-global-application-command