commands

Execute a command

Execute a command on a team.

Permissions

Must have use_slash_commands permission for the team the command is in.

post/api/v4/commands/execute

Request body

channel_idstring required

Channel Id where the command will execute

commandstring required

The slash command to execute, including parameters. Eg, '/echo bounces around the room'

Response

Command execution successful

ResponseTypestring

The response type either in_channel or ephemeral

Textstring
Usernamestring
IconURLstring
GotoLocationstring

Changes

No recorded changes to this endpoint across all 1 revision of this API.