Chat icon

Chat

Interact with the Chat API

Actions253

Inbox → Update Agents

AI-generated

Summary

Update selected agents in an inbox

Inputs

  • accountId (required) — Select the account to use.
  • inboxId (required) — Select the inbox to use.
  • userIds (required) — Select agents to add, update, or remove.

Output shape

A list of updated agent objects

The response contains the updated agents; may be empty on failure.

Examples

Example 1: Update agents 101 and 102 in inbox 45 of account 12

accountId=12, inboxId=45, userIds=[101,102]

Example 2: Remove agent 200 from inbox 7 of account 3

accountId=3, inboxId=7, userIds=[200]

Example 3: Replace agents in inbox 9 with new list

accountId=9, inboxId=9, userIds=[300,301,302]

Links

Discussion