Get Slash Command

Prev Next
Get
/api/v1/commands.get

Get details of a specific slash command.

Changelog

Version Description
0.60.2 Added
Header parameters
X-Auth-Token
stringRequired

The authToken of the authenticated user.

ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired

The userId of the authenticated user.

ExamplerbAXPnMktTFbNpwtJ
Query parameters
command
stringRequired

The name of the command.

Exampleme
Responses
200

OK

Success
{
  "command": {
    "command": "me",
    "params": "your_message",
    "description": "Displays_action_text",
    "clientOnly": false
  },
  "success": true
}
Expand All
object
command
object
command
string
params
string
description
string
clientOnly
boolean
success
boolean
400

Bad Request

Example 1
{
  "success": false,
  "error": "The query param \"command\" must be provided."
}
object
success
boolean
error
string
401

Unauthorized

Authorization Error
{
  "status": "error",
  "message": "You must be logged in to do this."
}
object
status
string
message
string