commands

Get a command

Get a command definition based on command id string.

Permissions

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

get/api/v4/commands/{command_id}

Path parameters

command_idstring required

ID of the command to get

Response

Command get successful

idstring

The ID of the slash command

tokenstring

The token which is used to verify the source of the payload

create_atinteger

The time in milliseconds the command was created

update_atinteger

The time in milliseconds the command was last updated

delete_atinteger

The time in milliseconds the command was deleted, 0 if never deleted

creator_idstring

The user id for the commands creator

team_idstring

The team id for which this command is configured

triggerstring

The string that triggers this command

methodstring

Is the trigger done with HTTP Get ('G') or HTTP Post ('P')

usernamestring

What is the username for the response post

icon_urlstring

The url to find the icon for this users avatar

auto_completeboolean

Use auto complete for this command

auto_complete_descstring

The description for this command shown when selecting the command

auto_complete_hintstring

The hint for this command

display_namestring

Display name for the command

descriptionstring

Description for this command

urlstring

The URL that is triggered

Changes