Skip to content

Add Webchat Handoff Pool Teams

POST
/webchat/handoff-pool/teams

Add whole teams to the handoff pool. Returns the whole pool afterwards.

A team’s members are expanded when a chat is routed, so someone joining the team later is reachable without another call.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

Teams to add to the handoff pool. Same bot-scoping rules as people.

object
chat_bot_ids
Array<string>
<= 200 items
pool
string
default: external
Allowed values: external internal
team_ids
required
Array<string>
>= 1 items <= 200 items

Responses

201

Successful Response

object
data
required

An open envelope for one webchat object.

Open because the widget’s config grows a field per product decision and a pinned schema would DROP it. Same choice the desk surface made.

object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
notes
Any of:
Array<string>
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer
total_available
Any of:
integer
total_is_lower_bound
Any of:
boolean

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string