Coghub icon

Coghub

Interagir com a API do Coghub

Actions129

Agent Bots → Create An Agent Bot

AI-generated

Summary

Create a new agent bot by specifying its essential attributes such as name, description, webhook URL, account ID, and avatar information.

Inputs

  • name (required) — The name of the agent bot to create.
  • description (required) — A descriptive text about the agent bot.
  • outgoing_url (required) — The webhook URL that the agent bot will use to send outgoing requests.
  • account_id (required) — The numeric account ID to associate the agent bot with.
  • avatar — Binary data representing the avatar image to send with the request.
  • avatar_url — A URL pointing to a JPEG or PNG image to use as the agent bot's avatar, used if no binary avatar is provided.

Output shape

a single record containing the created agent bot's details as returned by the API

The output includes the API response confirming creation of the agent bot. No pagination or batch processing applies to this operation.

Links

Discussion