Skip to main content
Call this API to send group chats using a custom bot.

API call description

  • This API allows a custom bot to send chats in Internal Groups and Standard Groups within your organization. Before calling this API, create a custom bot. For details, see Develop bot apps.
  • If you have a large volume of chats to send (for example, system monitoring alerts), consolidate the information and send it to the group as a summary in a markdown chat.
  • If the custom bot uses the custom bot security settings, append the timestamp and sign parameters when calling this API. Example:
  • Each bot can send up to 20 chats per minute to a group. Exceeding 20 chats triggers a 10-minute rate limit.

Request

Query parameters

Request body

Request example

Java
Python
PHP
C#

Response

Response body

Response body example

Error codes

If an error is returned when calling this API, look up the solution in the Global error codes documentation based on the error message. When the following errors occur, the chat failed validation. Check the bot’s security settings.