· 6 years ago · Oct 07, 2019, 08:42 AM
1* {
2* "name": "Robin",
3* "avatar": " https://cdn.livechat-static.com/api/file/lc/img/11233377/76d8ab437ad36bc13ebc78c56e7142d8.jpg ",
4* "status": "accepting chats",
5* "max_chats_count": 6,
6* "groups": [{
7* "id": 0,
8* "priority": "normal"
9* }, {
10* "id": 1,
11* "priority": "normal"
12* }, {
13* "id": 2,
14* "priority": "first"
15* }],
16* "webhooks": {
17* "url": " https://dialogflow.impactechs.io/detect-intent",
18* "secret_key": " laudla8802amda0pnoaa0",
19* "actions": [
20* {
21* "name": "incoming_rich_message_postback",
22* "additional_data": [
23* "chat_properties"
24* ]
25* },
26* {
27* "name": "incoming_event",
28* "filters": {
29* "author_type": "customer"
30* },
31* "additional_data": [
32* "chat_properties"
33* ]
34* },
35* {
36* "name": "incoming_chat_thread",
37* "additional_data": [
38* "chat_properties"
39* ]
40* },
41* {
42* "name": "chat_user_added",
43* "additional_data": [
44* "chat_properties"
45* ]
46* }
47* ]
48* }
49* }
50
511. The address is https://dialogflow.impactechs.io/detect-intent
522. Response:
53
54· {
55
56· "bot_agent": {
57
58· "id": "a2351d2537edb94f37c5bd4eb2512319",
59
60· "name": "Robin",
61
62· "avatar": "https://cdn.livechat-static.com/api/file/lc/img/11233377/76d8ab437ad36bc13ebc78c56e7142d8.jpg",
63
64· "status": "accepting chats",
65
66· "default_group_priority": "first",
67
68· "application": {
69
70· "client_id": "5bc33980b0a18bef7416bc9e34f61fb2"
71
72· },
73
74· "max_chats_count": 300,
75
76· "groups": [
77
78· {
79
80· "id": 0,
81
82· "priority": "normal"
83
84· },
85
86· {
87
88· "id": 2,
89
90· "priority": "first"
91
92· }
93
94· ],
95
96· "webhooks": {
97
98· "url": "https://dialogflow.impactechs.io/detect-intent",
99
100· "secret_key": "laudla8802amda0pnoaa0",
101
102· "actions": [
103
104· {
105
106· "name": "chat_user_added",
107
108· "additional_data": [
109
110· "chat_properties"
111
112· ]
113
114· },
115
116· {
117
118· "name": "incoming_rich_message_postback",
119
120· "additional_data": [
121
122· "chat_properties"
123
124· ]
125
126· },
127
128· {
129
130· "name": "incoming_event",
131
132· "filters": {
133
134· "author_type": "customer"
135
136· },
137
138· "additional_data": [
139
140· "chat_properties"
141
142· ]
143
144· },
145
146· {
147
148· "name": "incoming_chat_thread",
149
150· "additional_data": [
151· "chat_properties"
152· ]
153· }
154· ],
155· "api_version": "3.0"
156· }
157· }
158· }