product:chat

Creates custom chat command

post/commands

Request

  • Base URL
    https://chat.stream-io-api.com
  • URL
    https://chat.stream-io-api.com/commands
  • Auth
    • API key in header Authorization and API key in query parameter api_key and API key in header Stream-Auth-Type
    • or API key in query parameter api_key and API key in header Stream-Auth-Type

Request body

argsstring

Arguments help text, shown in commands auto-completion

descriptionstring required

Description, shown in commands auto-completion

namestring required

Unique command name

setstring

Set name used for grouping commands

Response

CreateCommandResponse

durationstring required

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status