Endpoint
[POST] API URL ์ ๋ณด
๊ฐ๋ฐ ๋ฐ ํ
์คํธ์ฉ API
https://patch-customer.happytalk.io/user/api/chat_lists/format/json
JavaScript
๋ณต์ฌ
์ด์ API
https://customer.happytalk.io/user/api/chat_lists/format/json
JavaScript
๋ณต์ฌ
Request (Json)
Header
Body
Field Name | Type (Length) | Required | Description | Default |
token | String | Y | ๊ณ ๊ฐ์ฌ ํ ํฐ | |
uuid | String | Y | ๊ณ ๊ฐ ์๋ณ ๋ฒํธ (์ฌ์ด๋ ์์ด๋๋ฅผ ์ ์ธํ ์์ด๋ / ex : eHZrf_5ns7Tk) | |
ndate | String | N | ์กฐํ ์ผ์ (Y-m-d) | ๋น์ผ ์ผ์ |
sdate | String | N | ๊ฒ์ ์์์ผ (Y-m-d) | |
edate | String | N | ๊ฒ์ ์ข
๋ฃ์ผ (Y-m-d) | |
status | int | N | ์๋ด๋ฐฉ ์ํ | 99 |
sort_key | String | N | ์ ๋ ฌ ๊ธฐ์ค (reg_date, complate_date)) | reg_date |
sort_value | String | N | ์ ๋ ฌ ๋ฐฉ์ (asc, desc) | desc |
์ฐธ๊ณ ์ฌํญ
- ์กฐํ ์ผ์ ์ฐ์ ์์
1์์ : sdate, edate
2์์ : ndate
3์์ : null (null๋ก ๋๊ธธ๊ฒฝ์ฐ ๋น์ผ๋ ์ง๋ฅผ ์กฐํํฉ๋๋ค.)
JavaScript
๋ณต์ฌ
Example
REST API Sample
๊ฐ๋ฐ ๋ฐ ํ
์คํธ์ฉ API
curl --location --request POST 'https://patch-customer.happytalk.io/user/api/chat_lists/format/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"token" : "๊ณ ๊ฐ์ฌ ํ ํฐ",
"uuid" : "๊ณ ๊ฐ ์๋ณ ๋ฒํธ",
"ndate" : "2022-09-21",
"status" : "99",
"sort_key" : "reg_date",
"sort_value" : "desc"
}'
JavaScript
๋ณต์ฌ
์ด์ API
curl --location --request POST 'https://customer.happytalk.io/user/api/chat_lists/format/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"token" : "๊ณ ๊ฐ์ฌ ํ ํฐ",
"uuid" : "๊ณ ๊ฐ ์๋ณ ๋ฒํธ",
"ndate" : "2022-09-21",
"status" : "99",
"sort_key" : "reg_date",
"sort_value" : "desc"
}'
JavaScript
๋ณต์ฌ
Response (Json)
๋ฉ์์ง ํฌ๋งท ๊ฐ์ด๋
ํ
ํ๋ฆฟ ๋ฉ์์ง(template) ํฌ๋งท์ ๋ํ ์์ธํ ์ค๋ช
์ ์ ๊ท ๋ฉ์์ง ํฌ๋งท ๊ฐ์ด๋ ๋ฌธ์๋ฅผ ์ฐธ๊ณ ํ์ธ์.
Parameter
Field Name | Type | Description | ||
result | String | success : ์ฑ๊ณต , fail : ์คํจ | ||
data | Object[] | ์๋ด ๋ด์ญ ๊ฐ์ฒด | ||
chat | Object | ์๋ด๋ฐฉ ์ ๋ณด | ||
id | String | ์๋ด๋ฐฉ ID | ||
title | String | ์๋ด๋ฐฉ ์ ๋ชฉ | ||
counselor_name | String | ์๋ด์ฌ ์ด๋ฆ | ||
counselor_nickname | String | ์๋ด์ฌ ๋ณ๋ช
| ||
customer_uuid | String | ๊ณ ๊ฐ ์๋ณ ๋ฒํธ | ||
users_id | String | ๊ณ ๊ฐ ID | ||
category_id | String | ๋๋ถ๋ฅ ID | ||
division_id | String | ์ค๋ถ๋ฅ ID | ||
tags | Array | ํ๊ทธ | ||
cate_name1 | String | ๋๋ถ๋ฅ ๋ช
์นญ | ||
cate_name2 | String | ์ค๋ถ๋ฅ ๋ช
์นญ | ||
etc_assign | String | ์๋ถ๋ฅ ๋ช
์นญ | ||
reg_date | datetime | ์๋ด๋ฐฉ ๋ฑ๋ก ์ผ์ | ||
complate_date | datetime | ์๋ด๋ฐฉ ์ข
๋ฃ ์ผ์ | ||
out_api | out_api | ์๋ด ํ๊ฒฝ ๋ถ๋ฅ | ||
status | status | ์๋ด๋ฐฉ ์ํ | ||
order_number | String | ์ํ ์ฃผ๋ฌธ ๋ฒํธ | ||
product_number | String | ์ํ ๋ฒํธ | ||
parcel_number | String | ์ด์ก์ฅ ๋ฒํธ | ||
parcel_companycode | parcel_companycode | ํ๋ฐฐ์ฌ ์ฝ๋ | ||
app_ver | String | ์ฑ ๋ฒ์ | ||
phone_os | phone_os | ํด๋์ ํ OS | ||
phone_model | String | ํด๋์ ํ ๋ชจ๋ธ๋ช
| ||
phone_osver | String | ํด๋์ ํ OS ๊ตฌ๋ถ ๊ฐ | ||
phone_telecomm | String | ํต์ ์ฌ ์ ๋ณด | ||
app_hash | String | ์ฑ ์๋ณ ๋ฒํธ | ||
parameter1~10 | String | ์ปค์คํ
ํ๋ผ๋ฏธํฐ | ||
user_parameter | String | ์ฌ์ฉ์ ๋ณ์ | ||
vote_score | String | ์๋ด ํ๊ฐ ์ ์ | ||
vote_comment | String | ์๋ด ํ๊ฐ ๋ด์ฉ | ||
message | Array | ๋ฉ์์ง ๋ชฉ๋ก | ||
id | String | ๋ฉ์์ง ID | ||
from_id | String | ๋ฉ์์ง ๋ฐ์ก ID | ||
to_id | String | ๋ฉ์์ง ์์ ID | ||
type | type | ๋ฉ์์ง ํ์
| ||
user_type | user_type | ๋ฐ์ก์ ๊ตฌ๋ถ ํ์
| ||
contents_type | contents_type | ๋ฉ์์ง ๋ด์ฉ ํ์
| ||
contents | String | ๋ฉ์์ง ๋ด์ฉ (template ๋ฉ์์ง ๊ตฌ์กฐ) | ||
send_date | datetime | ๋ฉ์์ง ๋ฐ์ก ์ผ์ | ||
read_date | datetime | ๋ฉ์์ง ํ์ธ ์ผ์ |
Example
Success
{
"result": "success",
"data": [
{
"chat": {
"id": "68dd2893cbfbfTSDc66M6MvVeYpG2a",
"title": "1:1 ์ฑํ
์๋ด ๋ฌธ์ ๋๋ฆฝ๋๋ค.",
"counselor_name": "lc_biz_api",
"counselor_nickname": "lc_biz_api",
"customer_uuid": "1000227669_lc251001-1",
"users_id": "lc251001-1",
"category_id": "75725",
"division_id": "75726",
"tags": [],
"cate_name1": "์ํ๋ฌธ์(์ํ)",
"cate_name2": "์ผ๋ฐ์๋ด(์ํ)",
"etc_assign": "",
"reg_date": "2025-10-01 22:11:47",
"complate_date": "0000-00-00 00:00:00",
"out_api": "0",
"status": "1",
"order_number": "",
"product_number": "",
"parcel_number": "",
"parcel_companycode": "",
"app_ver": "",
"phone_os": "",
"phone_model": "",
"phone_osver": "",
"phone_telecomm": "",
"app_hash": "",
"parameter1": "",
"parameter2": "",
"parameter3": "",
"parameter4": "",
"parameter5": "",
"parameter6": "",
"parameter7": "",
"parameter8": "",
"parameter9": "",
"parameter10": "",
"user_parameter": "",
"vote_score": null,
"vote_comment": null
},
"message": [
{
"id": "942984610",
"from_id": "1000227669_lc251001-1",
"to_id": "lc_biz_api",
"type": "C",
"user_type": "C",
"contents_type": "text",
"contents": "1:1 ์ฑํ
์๋ด ๋ฌธ์ ๋๋ฆฝ๋๋ค.",
"send_date": "2025-10-01 22:11:47",
"read_date": "2025-10-01 22:12:29"
},
{
"id": "942984613",
"from_id": "lc_biz_api",
"to_id": "1000227669_lc251001-1",
"type": "C",
"user_type": "H",
"contents_type": "template",
"contents": "{\"type\":\"TEXT\",\"message\":\"ํ
์คํธ + ๋ฒํผ์ ํ
์คํธ\",\"isLocked\":false,\"buttonList\":[{\"type\":\"WEB_LINK\",\"name\":\"๋งํฌ\",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://example.com\"},{\"type\":\"TEXT\",\"name\":\"๋ดํค์๋\"}]}",
"send_date": "2025-10-01 22:12:41",
"read_date": "2025-10-01 22:18:01"
},
{
"id": "942984618",
"from_id": "lc_biz_api",
"to_id": "1000227669_lc251001-1",
"type": "C",
"user_type": "H",
"contents_type": "template",
"contents": "{\"type\":\"TEXT\",\"message\":\"ํ
์คํธ + ๋ฒํผ์ ํ
์คํธ\",\"isLocked\":true,\"buttonList\":[{\"type\":\"WEB_LINK\",\"name\":\"๋งํฌ\",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://example.com\"},{\"type\":\"TEXT\",\"name\":\"๋ดํค์๋\"},{\"type\":\"COUPON\",\"name\":\"10% ํ ์ธ ์ฟ ํฐ\",\"description\":\"์ ๊ท ๊ณ ๊ฐ ํ์ \",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://m.example.com\",\"schemaAOS\":\"https://example.com\",\"schemaIOS\":\"https://example.com\"}],\"quickReplyList\":[{\"type\":\"WEB_LINK\",\"name\":\"๋งํฌ\",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://example.com\"},{\"type\":\"TEXT\",\"name\":\"๋ดํค์๋\"}]}",
"send_date": "2025-10-01 22:13:35",
"read_date": "2025-10-01 22:18:01"
},
{
"id": "942984619",
"from_id": "lc_biz_api",
"to_id": "1000227669_lc251001-1",
"type": "C",
"user_type": "H",
"contents_type": "template",
"contents": "{\"type\":\"IMAGE\",\"message\":\"์ด๋ฏธ์ง + ํ
์คํธ์ ํ
์คํธ\",\"isLocked\":false,\"image\":{\"imageUrl\":\"https://example.com/data/template/1000227669/1000227669_7601e3f04190e4030569884f44d4d34b_w.jpg\"}}",
"send_date": "2025-10-01 22:13:42",
"read_date": "2025-10-01 22:18:01"
},
{
"id": "942984620",
"from_id": "lc_biz_api",
"to_id": "1000227669_lc251001-1",
"type": "C",
"user_type": "H",
"contents_type": "template",
"contents": "{\"type\":\"IMAGE\",\"message\":\"์ด๋ฏธ์ง+ํ
์คํธ+๋ฒํผ์ ํ
์คํธ\",\"isLocked\":false,\"image\":{\"imageUrl\":\"https://example.com/data/template/1000227669/1000227669_617a9702bfdd26b8ea395ea465fede4b_w.jpg\"},\"buttonList\":[{\"type\":\"WEB_LINK\",\"name\":\"์ด๋งํฌ\",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://example.com\"},{\"type\":\"TEXT\",\"name\":\"์ด๋ดํค์๋\"}]}",
"send_date": "2025-10-01 22:13:52",
"read_date": "2025-10-01 22:18:01"
},
{
"id": "942984621",
"from_id": "lc_biz_api",
"to_id": "1000227669_lc251001-1",
"type": "C",
"user_type": "H",
"contents_type": "template",
"contents": "{\"type\":\"IMAGE\",\"message\":\"์ด๋ฏธ์ง+ํ
์คํธ+๋ฒํผ์ ํ
์คํธ\",\"isLocked\":true,\"image\":{\"imageUrl\":\"https://example.com/data/template/1000227669/1000227669_617a9702bfdd26b8ea395ea465fede4b_w.jpg\"},\"buttonList\":[{\"type\":\"WEB_LINK\",\"name\":\"์ด๋งํฌ\",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://example.com\"},{\"type\":\"TEXT\",\"name\":\"์ด๋ดํค์๋\"},{\"type\":\"COUPON\",\"name\":\"10% ํ ์ธ ์ฟ ํฐ\",\"description\":\"์ ๊ท ๊ณ ๊ฐ ํ์ \",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://m.example.com\",\"schemaAOS\":\"https://example.com\",\"schemaIOS\":\"https://example.com\"}],\"quickReplyList\":[{\"type\":\"WEB_LINK\",\"name\":\"์ด๋งํฌ\",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://example.com\"},{\"type\":\"TEXT\",\"name\":\"์ด๋ดํค์๋\"}]}",
"send_date": "2025-10-01 22:13:55",
"read_date": "2025-10-01 22:18:01"
},
{
"id": "942984622",
"from_id": "lc_biz_api",
"to_id": "1000227669_lc251001-1",
"type": "C",
"user_type": "H",
"contents_type": "template",
"contents": "{\"type\":\"CAROUSEL\",\"message\":\"์บ๋ฌ์
+ ๋ฐ๋ก ์ฐ๊ฒฐ\",\"isLocked\":true,\"quickReplyList\":[{\"type\":\"TEXT\",\"name\":\"์ฑ๋ด ๋ฐํ ๋ฒํผ\"},{\"type\":\"WEB_LINK\",\"name\":\"๋งํฌ ๋ฒํผ\",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://m.example.com\"}],\"carouselBlocks\":[{\"header\":\"์บ๋ฌ์
1๋ฒ ํค๋\",\"message\":\"์บ๋ฌ์
1๋ฒ ๋ฉ์์ง\",\"image\":{\"imageUrl\":\"https://example.com/data/template/1000225100/1000225100_a8533563f0b5a28bae97055849958062_w.jpg\"},\"buttonList\":[{\"type\":\"TEXT\",\"name\":\"์ฑ๋ด ๋ฐํ ๋ฒํผ\"},{\"type\":\"WEB_LINK\",\"name\":\"๋งํฌ ๋ฒํผ\",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://m.example.com\"}],\"coupon\":{\"name\":\"10% ํ ์ธ ์ฟ ํฐ\",\"description\":\"์ ๊ท ๊ณ ๊ฐ ํ์ \",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://m.example.com\",\"schemaAOS\":\"https://example.com\",\"schemaIOS\":\"https://example.com\"}},{\"header\":\"์บ๋ฌ์
2๋ฒ ํค๋\",\"message\":\"์บ๋ฌ์
2๋ฒ ๋ฉ์์ง\",\"image\":{\"imageUrl\":\"https://example.com/data/template/1000225100/1000225100_a8533563f0b5a28bae97055849958062_w.jpg\"},\"buttonList\":[{\"type\":\"TEXT\",\"name\":\"์ฑ๋ด ๋ฐํ ๋ฒํผ\"},{\"type\":\"WEB_LINK\",\"name\":\"๋งํฌ ๋ฒํผ\",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://m.example.com\"}],\"coupon\":{\"name\":\"10% ํ ์ธ ์ฟ ํฐ\",\"description\":\"์ ๊ท ๊ณ ๊ฐ ํ์ \",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://m.example.com\",\"schemaAOS\":\"https://example.com\",\"schemaIOS\":\"https://example.com\"}}]}",
"send_date": "2025-10-01 22:13:59",
"read_date": "2025-10-01 22:18:01"
},
{
"id": "942984623",
"from_id": "lc_biz_api",
"to_id": "1000227669_lc251001-1",
"type": "C",
"user_type": "H",
"contents_type": "template",
"contents": "{\"type\":\"CAROUSEL\",\"message\":\"์บ๋ฌ์
+ ๋ฐ๋ก ์ฐ๊ฒฐ\",\"isLocked\":false,\"quickReplyList\":[{\"type\":\"TEXT\",\"name\":\"์ฑ๋ด ๋ฐํ ๋ฒํผ\"},{\"type\":\"WEB_LINK\",\"name\":\"๋งํฌ ๋ฒํผ\",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://m.example.com\"}],\"carouselBlocks\":[{\"header\":\"์บ๋ฌ์
1๋ฒ ํค๋\",\"message\":\"์บ๋ฌ์
1๋ฒ ๋ฉ์์ง\",\"image\":{\"imageUrl\":\"https://example.com/data/template/1000225100/1000225100_a8533563f0b5a28bae97055849958062_w.jpg\"},\"buttonList\":[{\"type\":\"TEXT\",\"name\":\"์ฑ๋ด ๋ฐํ ๋ฒํผ\"},{\"type\":\"WEB_LINK\",\"name\":\"๋งํฌ ๋ฒํผ\",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://m.example.com\"}],\"coupon\":{\"name\":\"10% ํ ์ธ ์ฟ ํฐ\",\"description\":\"์ ๊ท ๊ณ ๊ฐ ํ์ \",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://m.example.com\",\"schemaAOS\":\"https://example.com\",\"schemaIOS\":\"https://example.com\"}},{\"header\":\"์บ๋ฌ์
2๋ฒ ํค๋\",\"message\":\"์บ๋ฌ์
2๋ฒ ๋ฉ์์ง\",\"image\":{\"imageUrl\":\"https://example.com/data/template/1000225100/1000225100_a8533563f0b5a28bae97055849958062_w.jpg\"},\"buttonList\":[{\"type\":\"TEXT\",\"name\":\"์ฑ๋ด ๋ฐํ ๋ฒํผ\"},{\"type\":\"WEB_LINK\",\"name\":\"๋งํฌ ๋ฒํผ\",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://m.example.com\"}],\"coupon\":{\"name\":\"10% ํ ์ธ ์ฟ ํฐ\",\"description\":\"์ ๊ท ๊ณ ๊ฐ ํ์ \",\"pcUrl\":\"https://example.com\",\"mobileUrl\":\"https://m.example.com\",\"schemaAOS\":\"https://example.com\",\"schemaIOS\":\"https://example.com\"}}]}",
"send_date": "2025-10-01 22:14:08",
"read_date": "2025-10-01 22:18:01"
}
]
}
]
}
JavaScript
๋ณต์ฌ
Failure
Data Dictionary
V1
V2
Request Dictionary
status
Type | Description |
99 | ์ ์ฒด |
-2 | ์๋ด ๋๊ธฐ |
-1 | ์ฑ๋ด ์งํ์ค |
0 | ์ ์ ๋๊ธฐ |
1 | ์งํ์ค |
2 | ์๋ฃ |
3 | ์ญ์ |
Response Dictionary
chat
out_api
status
parcel_companycode
phone_os
Type | Description |
0 | ํดํผํก |
1 | ๋ค์ด๋ฒ ํกํก |
2 | ์นด์นด์คํก |
7 | ์ธ์คํ๊ทธ๋จ |
message
type
user_type
contents_type
content
Link
Type | Description |
C | ๋ฉ์์ง |
M | ๋ฉ๋ชจ |

