Create a command
Create a command for a team.
Permissions
manage_slash_commands for the team the command is in.
Request body
Team ID to where the command should be created
'P' for post request, 'G' for get request
Activation word to trigger the command
The URL that the command will make the request
Response
Command creation successful
The ID of the slash command
The token which is used to verify the source of the payload
The time in milliseconds the command was created
The time in milliseconds the command was last updated
The time in milliseconds the command was deleted, 0 if never deleted
The user id for the commands creator
The team id for which this command is configured
The string that triggers this command
Is the trigger done with HTTP Get ('G') or HTTP Post ('P')
What is the username for the response post
The url to find the icon for this users avatar
Use auto complete for this command
The description for this command shown when selecting the command
The hint for this command
Display name for the command
Description for this command
The URL that is triggered