Coghub icon

Coghub

Interagir com a API do Coghub

Actions129

Account Agent Bots → Create An Account Agent Bot

AI-generated

Summary

Create a new Account Agent Bot by specifying its name, description, webhook URL, avatar (image binary or URL), type, and configuration options.

Inputs

  • Name (required) — The name of the agent bot to create.
  • Description (required) — A textual description of the agent bot.
  • Outgoing Url (required) — The webhook URL that the bot will use for outgoing requests.
  • Avatar — Binary data of the avatar image for the bot; alternatively, provide the avatar URL.
  • Avatar Url — URL to a JPEG or PNG file to use as the bot's avatar.
  • Bot Type (required) — An integer specifying the type of the bot (0 represents webhook type).
  • Bot Config (required) — A JSON object defining the configuration parameters for the bot.

Output shape

a single JSON object containing details of the created agent bot

The operation returns the created agent bot's properties as confirmed by the API. If applicable, HTTP request options such as batching, timeout, proxy, and SSL certificate validation can be configured at the node level but do not affect the output shape.

Links

Discussion