Chatlabs icon

Chatlabs

Interaja com a API do Chatlabs

Chat → Transferir

AI-generated

Summary

Transfer a chat to a specific attendant, department queue, or automatically to an available attendant in a department, optionally sending an automatic transfer message to the client.

Inputs

  • ID do Chat (required) — ID do chat a ser transferido
  • Tipo de Transferência (required) — Tipo de transferência a ser realizada: to a specific attendant, to a department, or to an available attendant in a department
  • ID do Atendente — ID do atendente de destino, required if transfer type is 'Para Atendente'
  • ID do Departamento — ID do departamento de destino, required if transfer type is 'Para Departamento'
  • ID do Departamento para disponibilidade — Departamento onde buscar atendentes online, required if transfer type is 'Para Atendente Disponível'
  • IDs de Cargo (roleIds) — Optional comma-separated list of role IDs to filter attendants when transferring to an available attendant
  • Tipo do Fallback — Optional fallback type if no attendant is available when transferring to an available attendant: none, department, or attendant
  • ID do Fallback — ID of fallback department or attendant, required if a fallback type is specified
  • Enviar Mensagem de Transferência — Whether to send an automatic transfer message to the client

Output shape

a single JSON object confirming the transfer result

The API response contains the result of the chat transfer action. No pagination is involved.

Links

Discussion