Get Slash Commands
    • Dark
      Light
    • PDF

    Get Slash Commands

    • Dark
      Light
    • PDF

    Article summary

    Get
    /api/v1/commands.get

    Get specification of the slash command.

    Changelog

    VersionDescription
    0.60.2Added
    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
    401

    Unauthorized

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

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.