Coghub icon

Coghub

Interagir com a API do Coghub

Actions129

Agents → Add New Agent To Account

AI-generated

Summary

Create a new agent in a Coghub account by specifying their name, email, role, availability status, and auto offline setting.

Inputs

  • Name (required) — Full name of the agent to add.
  • Email (required) — Email address of the agent.
  • Role (required) — Role of the agent, either 'Agent' or 'Administrator'.
  • Availability Status — Current availability status of the agent; options are 'Available', 'Busy', or 'Offline'. Defaults to 'Available'.
  • Auto Offline — Boolean to enable automatic transition to offline when away; defaults to true.

Output shape

a single JSON object representing the newly created agent's details returned from the API

The output includes the agent's configured properties as confirmation of creation. No pagination or error envelope specific to this operation.

Links

Discussion