Create a bot
Creates a new bot within an application. Creating a bot is similar to creating a normal user, except a callback URL should be specified for a bot to receive events.
Note: The bot must first join a group channel to interact with users. In group channels, you can also invite a bot through the invite as members action.
The following table lists the properties of an HTTP request that this action supports.
Specifies the unique ID of a bot. The length is limited to 80 characters.
Specifies the bot's nickname. The length is limited to 80 characters.
Specifies the URL of a bot's profile image. The length is limited to 2,048 characters.
Specifies the bot's type to categorize bots. The length is limited to 128 characters.
Specifies the server URL of where a bot is located to receive all events, requests, and data forwarded from an application. For security reasons, it is highly recommended that you use an SSL server. The length is limited to 1,024 characters.
Determines whether to forward all or specific messages to the bot in channels where the bot is a member. If set to
Determines whether to mark a bot's message as read upon sending it. (Default:
Determines whether to include information about the members of each channel in a callback response. (Default:
Determines whether a bot automatically joins a channel when invited or joins a channel after manually accepting an invitation using the API. If set to
Specifies attributes of an AI bot. If specified, the bot functions as an AI bot, which can generate responses automatically and independently of the client's server-side operations.
Specifies the system that powers the AI bot. Acceptable value is
array of strings
Specifies a message used to help set the behavior of a ChatGPT bot. (Default:
Specifies the temperature of a ChatGPT bot which controls the randomness or creativity in the generated responses. A higher temperature value will result in more diverse and unpredictable responses, while a lower temperature value will produce more conservative and predictable responses. Acceptable values range from
Specifies the maximum number of tokens to generate in the response by ChatGPT bots. One token generates roughly four characters for normal English text. Acceptable values range from
Specifies a value that determines the diversity of response generated by ChatGPT bots via nucleus sampling. Higher values can lead to a variety of responses, but less reliable answers.(Default:
Specifies a value between
Specifies a value between
If successful, this action returns a bot resource in the response body.
In the case of an error, an error object is returned. A detailed list of error codes is available here.