Response object data

Knowledge Base Kb

Field Name
Type
Instructions
Example Value

id

integer

KB data unique identifier

5

subject

string

Article Title

"LINE Rich Menu"

content

string

Article content, supports HTML format

"<h2>Overview</h2><p>..."

like_count

integer

Number of likes

1

dislike_count

integer

Number of dislikes

0

readed_count

integer

Read count (read counter)

10

is_public

boolean

Whether the article is public

true

creater_id

integer

Creator user ID

3

creater

object

Creator information, containing detailed user attributes

{...}

β”œβ”€ id

integer

User ID

3

β”œβ”€ name

string

User name (full name)

"eason d"

sub_category_id

integer/null

Subcategory ID

null

sub_category

object/null

Subcategory information

null

file_entities_count

integer

Number of attachments

0

file_entities

array

Attachment list, each element contains file information

[]

category_id

integer

Main category ID

-1

category

object/null

Main category information

null

kb_tags

array

KB tag information object list

[]

kb_tag_ids

array

KB tag ID list

[]

Address

PROPERTY

TYPE

DESCRIPTION

id

Number

Address id

type

Number

Address type

  • 0: Home

  • 1: Mailing

  • 2: Billing

  • 3: Shipping

  • 4: Current residence

  • 5: Other

address

String

Address content

profile_id

Number

ID of the customer personal data object

state

Object

state_id

Number

County/City id

country

Object

country_id

Number

Country id

city

Object

city_id

Number

District id

description

String

Address description

Country

PROPERTY

TYPE

DESCRIPTION

id

Number

id

name

String

Name

State

PROPERTY

TYPE

DESCRIPTION

id

Number

id

name

String

Name

City

PROPERTY

TYPE

DESCRIPTION

id

Number

id

name

String

Name

Contact

PROPERTY

TYPE

DESCRIPTION

id

Number

Customer id

name

String

Full name

first_name

String

Last name

last_namt

String

First name

membership_no

String

Membership number

identity_no

String

National ID number

gender

Number

Gender

birth_at

Datetime

Birthday

profile_id

Number

ID of the customer personal data object

sponsor

Object

sponsor_id

Number

Owner id

campaign_queues

Array of objects

Ignore this field, not yet a formal feature

email_contacts

Array of objects

fbs

Array of objects

Ignore this field, not yet a formal feature

lines

Array of objects

Ignore this field, not yet a formal feature

cz_cols

Array of objects

tags

Array of objects

disturb_setting

Object

Customer Profile

PROPERTY

TYPE

DESCRIPTION

id

Number

ID of the customer profile object, used to fetch addresses and phones

phones

Array of object

Email Contact

PROPERTY

TYPE

DESCRIPTION

id

Number

Email id

contact_id

Number

Belongs to Customer id of

address

String

Email address

draft

String

Draft

name

String

Custom email alias

description

String

Email description

Custom Field CzCol

PROPERTY

TYPE

DESCRIPTION

id

Number

ID of the dynamic field

name

String

Dynamic field name

description

String

Dynamic field description

is_allowed_null

Boolean

Whether null is allowed

default

Object

Default value for this dynamic field

type

Number

Dynamic field type

  • 0: Number

  • 1: String

  • 2: Boolean

  • 3: Date

  • 4: Time

  • 5: DateTime

  • 6: Single choice

  • 7: Multiple choice

category_id

Number

Parent category id

category

Object

creater_id

Number

Employee id who created this dynamic field

creater

Object

Created by Employee

Custom Field Category CzColCategory

PROPERTY

TYPE

DESCRIPTION

id

Number

Dynamic field category id

name

String

Dynamic field category name

type

Number

Dynamic field category type {0: Contact dynamic related form 1: Contact dynamic related table 2: Ticket dynamic related form 3: Ticket dynamic related table}

description

String

Dynamic field category description

cols

Array of objects

Contact custom table Contact Cz Relation

PROPERTY

TYPE

DESCRIPTION

id

Number

Contact dynamic related table id

relation_id

Number

relation_name

String

information

Array of Objects

Contact custom table Contact Cz RelationInformation

PROPERTY

TYPE

DESCRIPTION

id

Number

ID of contact dynamic related table content

value

String

Value of contact dynamic related table content

col_id

Number

col_name

String

Contact Tag

PROPERTY

TYPE

DESCRIPTION

id

Number

id

name

String

Name

description

String

Instructions

Contact Do Not Disturb Setting

PROPERTY

TYPE

DESCRIPTION

id

Number

id

type

Array of string

Types of do not disturb settings, includes phone, Fb, Line

no_disturb_start_at

Time

Do not disturb start time

no_disturb_end_at

Time

Do not disturb end time

reason

String

Reason for do not disturb

Employee

PROPERTY

TYPE

DESCRIPTION

id

Number

Employee id

name

String

Name

first_name

String

Last name

last_name

String

First name

employee_no

String

Employee ID

photo_url

String

Photo URL

identity_no

String

National ID number

job_title_id

Number

Job title id

job_title

Object

department_id

Number

Department id

department

Object

extension_id

Number

Extension id

extension

Object

is_active

Boolean

Whether enabled

role

String

Permissions

email

String

Email address

group_id

Number

Employee group id

group

Object

is_immortal

Boolean

Immutable

cti_agent_account

String

cti account name

cti_agent

Object

created_at

Datetime

Initial creation time

updated_at

Datetime

Last update time

Job Title

PROPERTY

TYPE

DESCRIPTION

id

Number

id

abbrev

String

Abbreviation

name

String

Name

description

String

Instructions

Extension

PROPERTY

TYPE

DESCRIPTION

id

Number

id

type

Number

Type <0: Extension, 1: ACD, 2: IVR, 3: WEBRTC>

extension

String

Extension number

description

String

Instructions

media_cluster_id

Number

To be filled

media_cluster

Object

To be filled

employee_id

Number

employee

Object

Employee id

CTI Agent

PROPERTY

TYPE

DESCRIPTION

id

Number

id

account

String

Account

employee

Object

group_id

Number

Employee group id

group

Object

Employee Group

PROPERTY

TYPE

DESCRIPTION

id

Number

Employee id

name

String

Name

description

String

Instructions

supervisor_id

Number

Supervisor id

supervisor

Object

Supervisor, format isEmployee

members

Array of object

Group members, format isEmployeeArray of

Department

PROPERTY

TYPE

DESCRIPTION

id

Number

id

name

String

Name

abbrev

String

Abbreviation

number

Number

Code

description

String

Instructions

Phone Number

PROPERTY

TYPE

DESCRIPTION

id

Number

id

type

Number

0: Home, 1: Work, 2: Mobile, 3: Fax, 4: Other

extension

String

Extension

number

String

Number

description

String

Instructions

Ticket

PROPERTY

TYPE

DESCRIPTION

id

Number

id

subject

String

Title

content

String

Content

due_at

Datetime

Due date

status

Number

Ticket status < 0: Pending 1: In progress 2: Resolved 3: Closed >

status_memo

String

Status notes

priority

Number

Priority

termination_code_id

Number

Status detail id

termination_code

Object

contact

Object

contact_id

Number

Customer id

sub_category

Object

sub_category_id

Number

Subcategory id

handler_id

Number

Employee id who created this ticket

sponsor_id

Number

Employee id handling this ticket

created_at

Datetime

Initial creation time

updated_at

Datetime

Last update time

Ticket Termination Code

PROPERTY

TYPE

DESCRIPTION

id

Number

id

name

String

Name

description

String

Instructions

status

Number

Corresponding ticket status < 0: Pending 1: In progress 2: Resolved 3: Closed >

creater_id

Number

Employee id who created this status detail

Category

PROPERTY

TYPE

DESCRIPTION

id

Number

id

name

String

Name

description

String

Instructions

children

Array of objects

SubCategory

PROPERTY

TYPE

DESCRIPTION

id

Number

id

name

String

Name

description

String

Instructions

category

Object

category_id

Number

Parent category id

PROPERTY

TYPE

DESCRIPTION

id

Number

id

name

String

Name

description

String

Instructions

is_immortal

Boolean

Whether immutable

Interact-collection (service record)

PROPERTY

TYPE

DESCRIPTION

id

Number

Service record system ID

is_acw_completed

Boolean

Whether service is completed, 0: not completed, 1: completed

first_enter_queue_time

String

Time when the customer first entered the queue to be assigned.

first_start_service_at

Datetime

Time when the agent answered and started service with the customer.

last_finished_at

Datetime

Time when the conversation with the customer ended, but does not necessarily indicate service completion.

acw_at

Datetime

Time when the agent finished and completed this service.

handler_id

Number

Responsible agent system ID

handler

Object

Responsible agent data

contact_id

Number

Customer ID

contact

Object

Customer data

memo

String

Service record notes

bound_type

Number

Direction of service. 0 indicates the agent proactively visited; 1 indicates the customer proactively contacted.

logs

Array

All associated conversation records of this service record; the list does not contain full information, please read a single record to obtain complete information.

sponsor_id

Number

Owner ID

sponsor

Object

Owner data

reasons

Array

Service reason data

reason_ids

Array

All IDs of service reasons

result_id

Number

Service result ID

result

Object

Service result data

media_cluster_id

Number

Channel integration ID

media_cluster

Object

Channel integration

transfer_logs

Array

Records of transfers for this service record

created_at

Datetime

Service record system creation time

Relation Import Recipe (custom table import template)

Property

Type

Description

id

Number

Custom table batch import templateid of

name

String

Custom table batch import templateName of

importable_type

String

Custom table batch import templateType of, currently only supports App\Contact

description

String

Custom table batch import templateDetailed description of

headers

Array

Field definitions of the import file

cz_col_category_id

Number

Dynamic field category id

cz_col_category

Object

Dynamic field category

unique_columns

Array

DefinedCustomerUnique value determination fields

relation_unique_column

Array

DefinedCustom tableUnique value determination fields

creater_id

Number

Creator id

creater

Object

Creator

tasks_count

Number

Based on thisCustom table batch import templateCreatedBatch import tasks for custom tableQuantity

Relation Import Task (custom table import schedule)

Only important fields described

Property

Type

Description

id

Number

Custom table import taskid of

size

Number

File size (bytes)

total_amount

Number

Total rows

description

String

Task description

status

Number

Status (0: created, 1: importing, 2: completed, 10: error, 11: paused)

current_sheet_index

Number

Which sheet the import file is currently processing

current_row_index

Number

Which row is currently being imported

executed_start_at

Datetime

Execution start time

executed_end_at

Datetime

Execution end time

creater_id

Number

Creator id

created_at

Datetime

Initial creation time

updated_at

Datetime

Last update time

Entity Import Recipe (contact import template)

Property

Type

Description

id

Number

Batch import templateid of

name

String

Batch import templateName of

importable_type

String

Batch import templateType of, currently only supports App\Contact

description

String

Batch import templateDetailed description of

headers

Array

Field definitions of the import file

cz_col_category_id

Number

Dynamic field category id

cz_col_category

Object

Dynamic field category

unique_columns

Array

DefinedCustomerUnique value determination fields

creater_id

Number

Creator id

creater

Object

Creator

tasks_count

Number

Based on thisBatch import templateCreatedBatch import taskQuantity

Entity Import Task (contact import schedule)

Only important fields described

Property

Type

Description

id

Number

Import tasksid of

size

Number

File size (bytes)

total_amount

Number

Total rows

description

String

Task description

status

Number

Status (0: created, 1: importing, 2: completed, 10: error, 11: paused)

current_sheet_index

Number

Which sheet the import file is currently processing

current_row_index

Number

Which row is currently being imported

executed_start_at

Datetime

Execution start time

executed_end_at

Datetime

Execution end time

creater_id

Number

Creator id

created_at

Datetime

Initial creation time

updated_at

Datetime

Last update time

Last updated