Configuration APIData structures

Overview

Data structures

The objects the Configuration API sends and returns, with their fields and an example of each.

LCAgent

FieldDescription

idstringrequired

namestringrequired

emailstring

rolestringrequired

One of owner, normal.

typestringrequired

One of human, bot.

login_statusstringrequired

One of accepting chats, not accepting chats.

routing_statusstringrequired

One of accepting_chats, not_accepting_chats, offline.

job_titlestring

avatar_pathstring

max_chats_countintegerrequired

groupsarray of objectrequired

suspendedbooleanrequired

awaiting_approvalbooleanrequired

LCAgent exampleJSON
{
  "id": "828aec20-b9c3-7700-80fb-c1e028342cc0",
  "name": "Nadia Rahman",
  "email": "nadia@shop.northwind.example",
  "role": "owner",
  "type": "human",
  "login_status": "accepting chats",
  "routing_status": "accepting_chats",
  "job_title": "Customer support",
  "avatar_path": "avatar path",
  "max_chats_count": 3,
  "groups": [
    {
      "id": 1,
      "priority": "first"
    }
  ],
  "suspended": true,
  "awaiting_approval": true
}

LCGroup

FieldDescription

idintegerrequired

namestringrequired

language_codestringrequired

agent_prioritiesobjectrequired

Agent ID → first.

routing_statusstringrequired

One of accepting_chats, not_accepting_chats, offline.
LCGroup exampleJSON
{
  "id": 1,
  "name": "Nadia Rahman",
  "language_code": "language code",
  "agent_priorities": {},
  "routing_status": "accepting_chats"
}

LCTag

FieldDescription

idstringrequired

namestringrequired

group_idsarray of integerrequired

Empty means every group.

author_idstring

created_atstringrequired

LCTag exampleJSON
{
  "id": "828aec20-b9c3-7700-80fb-c1e028342cc0",
  "name": "Nadia Rahman",
  "group_ids": [
    0
  ],
  "author_id": "19623f8a-8ab9-7d30-8c10-9ad66d67c87c",
  "created_at": "2026-11-13T09:30:00Z"
}

LCCannedResponse

FieldDescription

idstringrequired

textstringrequired

tagsarray of stringrequired

Its shortcuts.

group_idintegerrequired

is_privatebooleanrequired

author_idstring

created_atstringrequired

updated_atstringrequired

LCCannedResponse exampleJSON
{
  "id": "828aec20-b9c3-7700-80fb-c1e028342cc0",
  "text": "Orders ship within 1 business day.",
  "tags": [
    "tag"
  ],
  "group_id": 0,
  "is_private": true,
  "author_id": "19623f8a-8ab9-7d30-8c10-9ad66d67c87c",
  "created_at": "2026-11-13T09:30:00Z",
  "updated_at": "2026-11-13T09:30:00Z"
}

WebhookAction

One of incoming_chat, incoming_event, chat_deactivated, chat_transferred, thread_tagged, routing_status_set, customer_visit_started.

LCWebhook

FieldDescription

idstringrequired

urlstringrequired

actionWebhookActionrequired

One of incoming_chat, incoming_event, chat_deactivated, chat_transferred, thread_tagged, routing_status_set, customer_visit_started.

descriptionstring

typestringrequired

One of license.

additional_dataarray of stringrequired

filtersobjectrequired

enabledbooleanrequired

LCWebhook exampleJSON
{
  "id": "828aec20-b9c3-7700-80fb-c1e028342cc0",
  "url": "https://hooks.northwind.example/mlivechat",
  "action": "incoming_chat",
  "description": "Orders to our helpdesk",
  "type": "license",
  "additional_data": [
    "additional data"
  ],
  "filters": {},
  "enabled": true
}