crisp-api 10.9.2 → 10.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +308 -308
- package/dist/crisp.d.ts +2 -2
- package/dist/crisp.js +5 -1
- package/dist/resources/WebsiteConversation.d.ts +1 -1
- package/dist/resources/WebsiteConversation.js +1 -1
- package/lib/crisp.ts +8 -2
- package/lib/resources/WebsiteConversation.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -94,7 +94,7 @@ All the available Crisp API resources are fully implemented. **Programmatic meth
|
|
|
94
94
|
|
|
95
95
|
All methods that you will most likely need when building a Crisp integration are prefixed with a star symbol (⭐).
|
|
96
96
|
|
|
97
|
-
**⚠️ Note that, depending on your authentication token tier, which is either `user` or `plugin`, you may not be allowed to use all methods from the library. When in doubt, refer to the library method descriptions below. Most likely, you are using a `plugin` token.**
|
|
97
|
+
**⚠️ Note that, depending on your authentication token tier, which is either `user`, `website` or `plugin`, you may not be allowed to use all methods from the library. When in doubt, refer to the library method descriptions below. Most likely, you are using a `plugin` token.**
|
|
98
98
|
|
|
99
99
|
---
|
|
100
100
|
|
|
@@ -176,7 +176,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
176
176
|
### Website
|
|
177
177
|
|
|
178
178
|
* #### **Website Conversations**
|
|
179
|
-
* **⭐ List Conversations
|
|
179
|
+
* **⭐ List Conversations**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-conversations)
|
|
180
180
|
* `CrispClient.website.listConversations(websiteID, pageNumber, options)`
|
|
181
181
|
* <details>
|
|
182
182
|
<summary>See Example</summary>
|
|
@@ -193,7 +193,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
193
193
|
```
|
|
194
194
|
</details>
|
|
195
195
|
|
|
196
|
-
* **List Suggested Conversation Segments
|
|
196
|
+
* **List Suggested Conversation Segments**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-suggested-conversation-segments)
|
|
197
197
|
* `CrispClient.website.listSuggestedConversationSegments(websiteID, pageNumber)`
|
|
198
198
|
* <details>
|
|
199
199
|
<summary>See Example</summary>
|
|
@@ -206,7 +206,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
206
206
|
```
|
|
207
207
|
</details>
|
|
208
208
|
|
|
209
|
-
* **Delete Suggested Conversation Segment
|
|
209
|
+
* **Delete Suggested Conversation Segment**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#delete-suggested-conversation-segment)
|
|
210
210
|
* `CrispClient.website.deleteSuggestedConversationSegment(websiteID, segment)`
|
|
211
211
|
* <details>
|
|
212
212
|
<summary>See Example</summary>
|
|
@@ -220,7 +220,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
220
220
|
```
|
|
221
221
|
</details>
|
|
222
222
|
|
|
223
|
-
* **List Suggested Conversation Data Keys
|
|
223
|
+
* **List Suggested Conversation Data Keys**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-suggested-conversation-data-keys)
|
|
224
224
|
* `CrispClient.website.listSuggestedConversationDataKeys(websiteID, pageNumber)`
|
|
225
225
|
* <details>
|
|
226
226
|
<summary>See Example</summary>
|
|
@@ -233,7 +233,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
233
233
|
```
|
|
234
234
|
</details>
|
|
235
235
|
|
|
236
|
-
* **Delete Suggested Conversation Data Key
|
|
236
|
+
* **Delete Suggested Conversation Data Key**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#delete-suggested-conversation-data-key)
|
|
237
237
|
* `CrispClient.website.deleteSuggestedConversationDataKey(websiteID, key)`
|
|
238
238
|
* <details>
|
|
239
239
|
<summary>See Example</summary>
|
|
@@ -247,7 +247,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
247
247
|
```
|
|
248
248
|
</details>
|
|
249
249
|
|
|
250
|
-
* **List Spam Conversations
|
|
250
|
+
* **List Spam Conversations**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-spam-conversations)
|
|
251
251
|
* `CrispClient.website.listSpamConversations(websiteID, pageNumber)`
|
|
252
252
|
* <details>
|
|
253
253
|
<summary>See Example</summary>
|
|
@@ -260,7 +260,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
260
260
|
```
|
|
261
261
|
</details>
|
|
262
262
|
|
|
263
|
-
* **Resolve Spam Conversation Content
|
|
263
|
+
* **Resolve Spam Conversation Content**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#resolve-spam-conversation-content)
|
|
264
264
|
* `CrispClient.website.resolveSpamConversationContent(websiteID, spamID)`
|
|
265
265
|
* <details>
|
|
266
266
|
<summary>See Example</summary>
|
|
@@ -273,7 +273,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
273
273
|
```
|
|
274
274
|
</details>
|
|
275
275
|
|
|
276
|
-
* **Submit Spam Conversation Decision
|
|
276
|
+
* **Submit Spam Conversation Decision**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#submit-spam-conversation-decision)
|
|
277
277
|
* `CrispClient.website.submitSpamConversationDecision(websiteID, spamID, action)`
|
|
278
278
|
* <details>
|
|
279
279
|
<summary>See Example</summary>
|
|
@@ -290,7 +290,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
290
290
|
|
|
291
291
|
|
|
292
292
|
* #### **Website Conversation**
|
|
293
|
-
* **⭐ Create A New Conversation
|
|
293
|
+
* **⭐ Create A New Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#create-a-new-conversation)
|
|
294
294
|
* `CrispClient.website.createNewConversation(websiteID)`
|
|
295
295
|
* <details>
|
|
296
296
|
<summary>See Example</summary>
|
|
@@ -302,7 +302,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
302
302
|
```
|
|
303
303
|
</details>
|
|
304
304
|
|
|
305
|
-
* **Check If Conversation Exists
|
|
305
|
+
* **Check If Conversation Exists**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#check-if-conversation-exists)
|
|
306
306
|
* `CrispClient.website.checkConversationExists(websiteID, sessionID)`
|
|
307
307
|
* <details>
|
|
308
308
|
<summary>See Example</summary>
|
|
@@ -315,7 +315,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
315
315
|
```
|
|
316
316
|
</details>
|
|
317
317
|
|
|
318
|
-
* **⭐ Get A Conversation
|
|
318
|
+
* **⭐ Get A Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-a-conversation)
|
|
319
319
|
* `CrispClient.website.getConversation(websiteID, sessionID)`
|
|
320
320
|
* <details>
|
|
321
321
|
<summary>See Example</summary>
|
|
@@ -328,7 +328,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
328
328
|
```
|
|
329
329
|
</details>
|
|
330
330
|
|
|
331
|
-
* **Remove A Conversation
|
|
331
|
+
* **Remove A Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#remove-a-conversation)
|
|
332
332
|
* `CrispClient.website.removeConversation(websiteID, sessionID)`
|
|
333
333
|
* <details>
|
|
334
334
|
<summary>See Example</summary>
|
|
@@ -341,7 +341,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
341
341
|
```
|
|
342
342
|
</details>
|
|
343
343
|
|
|
344
|
-
* **Initiate A Conversation With Existing Session
|
|
344
|
+
* **Initiate A Conversation With Existing Session**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#initiate-a-conversation-with-existing-session)
|
|
345
345
|
* `CrispClient.website.initiateConversationWithExistingSession(websiteID, sessionID)`
|
|
346
346
|
* <details>
|
|
347
347
|
<summary>See Example</summary>
|
|
@@ -354,7 +354,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
354
354
|
```
|
|
355
355
|
</details>
|
|
356
356
|
|
|
357
|
-
* **⭐ Get Messages In Conversation
|
|
357
|
+
* **⭐ Get Messages In Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-messages-in-conversation)
|
|
358
358
|
* `CrispClient.website.getMessagesInConversation(websiteID, sessionID, timestampBefore)`
|
|
359
359
|
* <details>
|
|
360
360
|
<summary>See Example</summary>
|
|
@@ -368,7 +368,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
368
368
|
```
|
|
369
369
|
</details>
|
|
370
370
|
|
|
371
|
-
* **⭐ Send A Message In Conversation
|
|
371
|
+
* **⭐ Send A Message In Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#send-a-message-in-conversation)
|
|
372
372
|
* `CrispClient.website.sendMessageInConversation(websiteID, sessionID, message)`
|
|
373
373
|
* <details>
|
|
374
374
|
<summary>See Example</summary>
|
|
@@ -388,7 +388,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
388
388
|
```
|
|
389
389
|
</details>
|
|
390
390
|
|
|
391
|
-
* **Get A Message In Conversation
|
|
391
|
+
* **Get A Message In Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-a-message-in-conversation)
|
|
392
392
|
* `CrispClient.website.getMessageInConversation(websiteID, sessionID, fingerprint)`
|
|
393
393
|
* <details>
|
|
394
394
|
<summary>See Example</summary>
|
|
@@ -402,7 +402,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
402
402
|
```
|
|
403
403
|
</details>
|
|
404
404
|
|
|
405
|
-
* **Update A Message In Conversation
|
|
405
|
+
* **Update A Message In Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#update-a-message-in-conversation)
|
|
406
406
|
* `CrispClient.website.updateMessageInConversation(websiteID, sessionID, fingerprint, content)`
|
|
407
407
|
* <details>
|
|
408
408
|
<summary>See Example</summary>
|
|
@@ -418,7 +418,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
418
418
|
```
|
|
419
419
|
</details>
|
|
420
420
|
|
|
421
|
-
* **Remove A Message In Conversation
|
|
421
|
+
* **Remove A Message In Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#remove-a-message-in-conversation)
|
|
422
422
|
* `CrispClient.website.removeMessageInConversation(websiteID, sessionID, fingerprint)`
|
|
423
423
|
* <details>
|
|
424
424
|
<summary>See Example</summary>
|
|
@@ -432,7 +432,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
432
432
|
```
|
|
433
433
|
</details>
|
|
434
434
|
|
|
435
|
-
* **Compose A Message In Conversation
|
|
435
|
+
* **Compose A Message In Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#compose-a-message-in-conversation)
|
|
436
436
|
* `CrispClient.website.composeMessageInConversation(websiteID, sessionID, compose)`
|
|
437
437
|
* <details>
|
|
438
438
|
<summary>See Example</summary>
|
|
@@ -450,7 +450,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
450
450
|
```
|
|
451
451
|
</details>
|
|
452
452
|
|
|
453
|
-
* **⭐ Mark Messages As Read In Conversation
|
|
453
|
+
* **⭐ Mark Messages As Read In Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#mark-messages-as-read-in-conversation)
|
|
454
454
|
* `CrispClient.website.markMessagesReadInConversation(websiteID, sessionID, read)`
|
|
455
455
|
* <details>
|
|
456
456
|
<summary>See Example</summary>
|
|
@@ -471,7 +471,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
471
471
|
```
|
|
472
472
|
</details>
|
|
473
473
|
|
|
474
|
-
* **Mark Conversation As Unread
|
|
474
|
+
* **Mark Conversation As Unread**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#mark-conversation-as-unread)
|
|
475
475
|
* `CrispClient.website.markConversationAsUnread(websiteID, sessionID, unread)`
|
|
476
476
|
* <details>
|
|
477
477
|
<summary>See Example</summary>
|
|
@@ -488,7 +488,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
488
488
|
```
|
|
489
489
|
</details>
|
|
490
490
|
|
|
491
|
-
* **⭐ Mark Messages As Delivered In Conversation
|
|
491
|
+
* **⭐ Mark Messages As Delivered In Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#mark-messages-as-delivered-in-conversation)
|
|
492
492
|
* `CrispClient.website.markMessagesDeliveredInConversation(websiteID, sessionID, delivered)`
|
|
493
493
|
* <details>
|
|
494
494
|
<summary>See Example</summary>
|
|
@@ -509,7 +509,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
509
509
|
```
|
|
510
510
|
</details>
|
|
511
511
|
|
|
512
|
-
* **Update Conversation Open State
|
|
512
|
+
* **Update Conversation Open State**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#update-conversation-open-state)
|
|
513
513
|
* `CrispClient.website.updateConversationOpenState(websiteID, sessionID, opened)`
|
|
514
514
|
* <details>
|
|
515
515
|
<summary>See Example</summary>
|
|
@@ -524,7 +524,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
524
524
|
```
|
|
525
525
|
</details>
|
|
526
526
|
|
|
527
|
-
* **⭐ Get Conversation Routing Assign
|
|
527
|
+
* **⭐ Get Conversation Routing Assign**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-conversation-routing-assign)
|
|
528
528
|
* `CrispClient.website.getConversationRoutingAssign(websiteID, sessionID)`
|
|
529
529
|
* <details>
|
|
530
530
|
<summary>See Example</summary>
|
|
@@ -537,7 +537,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
537
537
|
```
|
|
538
538
|
</details>
|
|
539
539
|
|
|
540
|
-
* **⭐ Assign Conversation Routing
|
|
540
|
+
* **⭐ Assign Conversation Routing**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#assign-conversation-routing)
|
|
541
541
|
* `CrispClient.website.assignConversationRouting(websiteID, sessionID, assign)`
|
|
542
542
|
* <details>
|
|
543
543
|
<summary>See Example</summary>
|
|
@@ -556,7 +556,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
556
556
|
```
|
|
557
557
|
</details>
|
|
558
558
|
|
|
559
|
-
* **Update Conversation Inbox
|
|
559
|
+
* **Update Conversation Inbox**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#update-conversation-inbox)
|
|
560
560
|
* `CrispClient.website.updateConversationInbox(websiteID, sessionID, inboxID)`
|
|
561
561
|
* <details>
|
|
562
562
|
<summary>See Example</summary>
|
|
@@ -570,7 +570,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
570
570
|
```
|
|
571
571
|
</details>
|
|
572
572
|
|
|
573
|
-
* **⭐ Get Conversation Metas
|
|
573
|
+
* **⭐ Get Conversation Metas**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-conversation-metas)
|
|
574
574
|
* `CrispClient.website.getConversationMetas(websiteID, sessionID)`
|
|
575
575
|
* <details>
|
|
576
576
|
<summary>See Example</summary>
|
|
@@ -583,7 +583,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
583
583
|
```
|
|
584
584
|
</details>
|
|
585
585
|
|
|
586
|
-
* **⭐ Update Conversation Metas
|
|
586
|
+
* **⭐ Update Conversation Metas**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#update-conversation-metas)
|
|
587
587
|
* `CrispClient.website.updateConversationMetas(websiteID, sessionID, metas)`
|
|
588
588
|
* <details>
|
|
589
589
|
<summary>See Example</summary>
|
|
@@ -610,7 +610,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
610
610
|
```
|
|
611
611
|
</details>
|
|
612
612
|
|
|
613
|
-
* **Get An Original Message In Conversation
|
|
613
|
+
* **Get An Original Message In Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-an-original-message-in-conversation)
|
|
614
614
|
* `CrispClient.website.getOriginalMessageInConversation(websiteID, sessionID, originalID)`
|
|
615
615
|
* <details>
|
|
616
616
|
<summary>See Example</summary>
|
|
@@ -624,7 +624,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
624
624
|
```
|
|
625
625
|
</details>
|
|
626
626
|
|
|
627
|
-
* **List Conversation Pages
|
|
627
|
+
* **List Conversation Pages**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-conversation-pages)
|
|
628
628
|
* `CrispClient.website.listConversationPages(websiteID, sessionID, pageNumber)`
|
|
629
629
|
* <details>
|
|
630
630
|
<summary>See Example</summary>
|
|
@@ -638,7 +638,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
638
638
|
```
|
|
639
639
|
</details>
|
|
640
640
|
|
|
641
|
-
* **List Conversation Events
|
|
641
|
+
* **List Conversation Events**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-conversation-events)
|
|
642
642
|
* `CrispClient.website.listConversationEvents(websiteID, sessionID, pageNumber)`
|
|
643
643
|
* <details>
|
|
644
644
|
<summary>See Example</summary>
|
|
@@ -652,7 +652,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
652
652
|
```
|
|
653
653
|
</details>
|
|
654
654
|
|
|
655
|
-
* **List Conversation Files
|
|
655
|
+
* **List Conversation Files**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-conversation-files)
|
|
656
656
|
* `CrispClient.website.listConversationFiles(websiteID, sessionID, pageNumber)`
|
|
657
657
|
* <details>
|
|
658
658
|
<summary>See Example</summary>
|
|
@@ -666,7 +666,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
666
666
|
```
|
|
667
667
|
</details>
|
|
668
668
|
|
|
669
|
-
* **Get Conversation State
|
|
669
|
+
* **Get Conversation State**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-conversation-state)
|
|
670
670
|
* `CrispClient.website.getConversationState(websiteID, sessionID)`
|
|
671
671
|
* <details>
|
|
672
672
|
<summary>See Example</summary>
|
|
@@ -679,7 +679,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
679
679
|
```
|
|
680
680
|
</details>
|
|
681
681
|
|
|
682
|
-
* **⭐ Change Conversation State
|
|
682
|
+
* **⭐ Change Conversation State**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#change-conversation-state)
|
|
683
683
|
* `CrispClient.website.changeConversationState(websiteID, sessionID, state, user, origin)`
|
|
684
684
|
* <details>
|
|
685
685
|
<summary>See Example</summary>
|
|
@@ -694,7 +694,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
694
694
|
```
|
|
695
695
|
</details>
|
|
696
696
|
|
|
697
|
-
* **Get Conversation Relations
|
|
697
|
+
* **Get Conversation Relations**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-conversation-relations)
|
|
698
698
|
* `CrispClient.website.getConversationRelations(websiteID, sessionID)`
|
|
699
699
|
* <details>
|
|
700
700
|
<summary>See Example</summary>
|
|
@@ -707,7 +707,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
707
707
|
```
|
|
708
708
|
</details>
|
|
709
709
|
|
|
710
|
-
* **Get Conversation Participants
|
|
710
|
+
* **Get Conversation Participants**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-conversation-participants)
|
|
711
711
|
* `CrispClient.website.getConversationParticipants(websiteID, sessionID)`
|
|
712
712
|
* <details>
|
|
713
713
|
<summary>See Example</summary>
|
|
@@ -720,7 +720,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
720
720
|
```
|
|
721
721
|
</details>
|
|
722
722
|
|
|
723
|
-
* **Save Conversation Participants
|
|
723
|
+
* **Save Conversation Participants**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#save-conversation-participants)
|
|
724
724
|
* `CrispClient.website.saveConversationParticipants(websiteID, sessionID, participants)`
|
|
725
725
|
* <details>
|
|
726
726
|
<summary>See Example</summary>
|
|
@@ -742,7 +742,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
742
742
|
```
|
|
743
743
|
</details>
|
|
744
744
|
|
|
745
|
-
* **Get Block Status For Conversation
|
|
745
|
+
* **Get Block Status For Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-block-status-for-conversation)
|
|
746
746
|
* `CrispClient.website.getBlockStatusForConversation(websiteID, sessionID)`
|
|
747
747
|
* <details>
|
|
748
748
|
<summary>See Example</summary>
|
|
@@ -755,7 +755,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
755
755
|
```
|
|
756
756
|
</details>
|
|
757
757
|
|
|
758
|
-
* **Block Incoming Messages For Conversation
|
|
758
|
+
* **Block Incoming Messages For Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#block-incoming-messages-for-conversation)
|
|
759
759
|
* `CrispClient.website.blockIncomingMessagesForConversation(websiteID, sessionID, blocked, user, origin)`
|
|
760
760
|
* <details>
|
|
761
761
|
<summary>See Example</summary>
|
|
@@ -770,7 +770,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
770
770
|
```
|
|
771
771
|
</details>
|
|
772
772
|
|
|
773
|
-
* **Get Verify Status For Conversation
|
|
773
|
+
* **Get Verify Status For Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-verify-status-for-conversation)
|
|
774
774
|
* `CrispClient.website.getVerifyStatusForConversation(websiteID, sessionID)`
|
|
775
775
|
* <details>
|
|
776
776
|
<summary>See Example</summary>
|
|
@@ -783,7 +783,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
783
783
|
```
|
|
784
784
|
</details>
|
|
785
785
|
|
|
786
|
-
* **Update Verify Status For Conversation
|
|
786
|
+
* **Update Verify Status For Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#update-verify-status-for-conversation)
|
|
787
787
|
* `CrispClient.website.updateVerifyStatusForConversation(websiteID, sessionID, verified)`
|
|
788
788
|
* <details>
|
|
789
789
|
<summary>See Example</summary>
|
|
@@ -798,7 +798,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
798
798
|
```
|
|
799
799
|
</details>
|
|
800
800
|
|
|
801
|
-
* **Request Identity Verification For Conversation
|
|
801
|
+
* **Request Identity Verification For Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#request-identity-verification-for-conversation)
|
|
802
802
|
* `CrispClient.website.requestIdentityVerificationForConversation(websiteID, sessionID, verification)`
|
|
803
803
|
* <details>
|
|
804
804
|
<summary>See Example</summary>
|
|
@@ -833,7 +833,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
833
833
|
```
|
|
834
834
|
</details>
|
|
835
835
|
|
|
836
|
-
* **Request Email Transcript For Conversation
|
|
836
|
+
* **Request Email Transcript For Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#request-email-transcript-for-conversation)
|
|
837
837
|
* `CrispClient.website.requestEmailTranscriptForConversation(websiteID, sessionID, to, email)`
|
|
838
838
|
* <details>
|
|
839
839
|
<summary>See Example</summary>
|
|
@@ -851,7 +851,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
851
851
|
```
|
|
852
852
|
</details>
|
|
853
853
|
|
|
854
|
-
* **Request Chatbox Binding Purge For Conversation
|
|
854
|
+
* **Request Chatbox Binding Purge For Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#request-chatbox-binding-purge-for-conversation)
|
|
855
855
|
* `CrispClient.website.requestChatboxBindingPurgeForConversation(websiteID, sessionID)`
|
|
856
856
|
* <details>
|
|
857
857
|
<summary>See Example</summary>
|
|
@@ -864,7 +864,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
864
864
|
```
|
|
865
865
|
</details>
|
|
866
866
|
|
|
867
|
-
* **Request User Feedback For Conversation
|
|
867
|
+
* **Request User Feedback For Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#request-user-feedback-for-conversation)
|
|
868
868
|
* `CrispClient.website.requestUserFeedbackForConversation(websiteID, sessionID)`
|
|
869
869
|
* <details>
|
|
870
870
|
<summary>See Example</summary>
|
|
@@ -877,7 +877,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
877
877
|
```
|
|
878
878
|
</details>
|
|
879
879
|
|
|
880
|
-
* **List Browsing Sessions For Conversation
|
|
880
|
+
* **List Browsing Sessions For Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-browsing-sessions-for-conversation)
|
|
881
881
|
* `CrispClient.website.listBrowsingSessionsForConversation(websiteID, sessionID)`
|
|
882
882
|
* <details>
|
|
883
883
|
<summary>See Example</summary>
|
|
@@ -890,7 +890,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
890
890
|
```
|
|
891
891
|
</details>
|
|
892
892
|
|
|
893
|
-
* **Initiate Browsing Session For Conversation
|
|
893
|
+
* **Initiate Browsing Session For Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#initiate-browsing-session-for-conversation)
|
|
894
894
|
* `CrispClient.website.initiateBrowsingSessionForConversation(websiteID, sessionID)`
|
|
895
895
|
* <details>
|
|
896
896
|
<summary>See Example</summary>
|
|
@@ -903,7 +903,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
903
903
|
```
|
|
904
904
|
</details>
|
|
905
905
|
|
|
906
|
-
* **Send Action To An Existing Browsing Session
|
|
906
|
+
* **Send Action To An Existing Browsing Session**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#send-action-to-an-existing-browsing-session)
|
|
907
907
|
* `CrispClient.website.sendActionToExistingBrowsingSession(websiteID, sessionID, browsingID, action)`
|
|
908
908
|
* <details>
|
|
909
909
|
<summary>See Example</summary>
|
|
@@ -919,7 +919,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
919
919
|
```
|
|
920
920
|
</details>
|
|
921
921
|
|
|
922
|
-
* **Assist Existing Browsing Session
|
|
922
|
+
* **Assist Existing Browsing Session**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#assist-an-existing-browsing-session)
|
|
923
923
|
* `CrispClient.website.assistExistingBrowsingSession(websiteID, sessionID, browsingID, assist)`
|
|
924
924
|
* <details>
|
|
925
925
|
<summary>See Example</summary>
|
|
@@ -941,7 +941,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
941
941
|
```
|
|
942
942
|
</details>
|
|
943
943
|
|
|
944
|
-
* **Initiate New Call Session For Conversation
|
|
944
|
+
* **Initiate New Call Session For Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#initiate-new-call-session-for-conversation)
|
|
945
945
|
* `CrispClient.website.initiateNewCallSessionForConversation(websiteID, sessionID, mode, user, origin)`
|
|
946
946
|
* <details>
|
|
947
947
|
<summary>See Example</summary>
|
|
@@ -956,7 +956,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
956
956
|
```
|
|
957
957
|
</details>
|
|
958
958
|
|
|
959
|
-
* **Get Ongoing Call Session For Conversation
|
|
959
|
+
* **Get Ongoing Call Session For Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-ongoing-call-session-for-conversation)
|
|
960
960
|
* `CrispClient.website.getOngoingCallSessionForConversation(websiteID, sessionID)`
|
|
961
961
|
* <details>
|
|
962
962
|
<summary>See Example</summary>
|
|
@@ -969,7 +969,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
969
969
|
```
|
|
970
970
|
</details>
|
|
971
971
|
|
|
972
|
-
* **Abort Ongoing Call Session For Conversation
|
|
972
|
+
* **Abort Ongoing Call Session For Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#abort-ongoing-call-session-for-conversation)
|
|
973
973
|
* `CrispClient.website.abortOngoingCallSessionForConversation(websiteID, sessionID, callID, user, origin)`
|
|
974
974
|
* <details>
|
|
975
975
|
<summary>See Example</summary>
|
|
@@ -983,7 +983,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
983
983
|
```
|
|
984
984
|
</details>
|
|
985
985
|
|
|
986
|
-
* **Transmit Signaling On Ongoing Call Session
|
|
986
|
+
* **Transmit Signaling On Ongoing Call Session**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#transmit-signaling-on-ongoing-call-session)
|
|
987
987
|
* `CrispClient.website.transmitSignalingOnOngoingCallSession(websiteID, sessionID, callID, payload)`
|
|
988
988
|
* <details>
|
|
989
989
|
<summary>See Example</summary>
|
|
@@ -1002,7 +1002,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1002
1002
|
```
|
|
1003
1003
|
</details>
|
|
1004
1004
|
|
|
1005
|
-
* **Deliver Widget Button Action For Conversation
|
|
1005
|
+
* **Deliver Widget Button Action For Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#deliver-widget-button-action-for-conversation)
|
|
1006
1006
|
* `CrispClient.website.deliverWidgetButtonActionForConversation(websiteID, sessionID, pluginID, sectionID, itemID, data, value)`
|
|
1007
1007
|
* <details>
|
|
1008
1008
|
<summary>See Example</summary>
|
|
@@ -1026,7 +1026,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1026
1026
|
```
|
|
1027
1027
|
</details>
|
|
1028
1028
|
|
|
1029
|
-
* **Deliver Widget Data Fetch Action For Conversation
|
|
1029
|
+
* **Deliver Widget Data Fetch Action For Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#deliver-widget-data-action-for-conversation)
|
|
1030
1030
|
* `CrispClient.website.deliverWidgetDataFetchActionForConversation(websiteID, sessionID, pluginID, sectionID, itemID, data)`
|
|
1031
1031
|
* <details>
|
|
1032
1032
|
<summary>See Example</summary>
|
|
@@ -1049,7 +1049,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1049
1049
|
```
|
|
1050
1050
|
</details>
|
|
1051
1051
|
|
|
1052
|
-
* **Deliver Widget Data Edit Action For Conversation
|
|
1052
|
+
* **Deliver Widget Data Edit Action For Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#deliver-widget-data-action-for-conversation)
|
|
1053
1053
|
* `CrispClient.website.deliverWidgetDataEditActionForConversation(websiteID, sessionID, pluginID, sectionID, itemID, value)`
|
|
1054
1054
|
* <details>
|
|
1055
1055
|
<summary>See Example</summary>
|
|
@@ -1072,7 +1072,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1072
1072
|
```
|
|
1073
1073
|
</details>
|
|
1074
1074
|
|
|
1075
|
-
* **Schedule A Reminder For Conversation
|
|
1075
|
+
* **Schedule A Reminder For Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#schedule-a-reminder-for-conversation)
|
|
1076
1076
|
* `CrispClient.website.scheduleReminderForConversation(websiteID, sessionID, date, note, user, origin)`
|
|
1077
1077
|
* <details>
|
|
1078
1078
|
<summary>See Example</summary>
|
|
@@ -1090,7 +1090,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1090
1090
|
```
|
|
1091
1091
|
</details>
|
|
1092
1092
|
|
|
1093
|
-
* **Report Conversation
|
|
1093
|
+
* **Report Conversation**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#report-conversation)
|
|
1094
1094
|
* `CrispClient.website.reportConversation(websiteID, sessionID, flag)`
|
|
1095
1095
|
* <details>
|
|
1096
1096
|
<summary>See Example</summary>
|
|
@@ -1107,7 +1107,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1107
1107
|
|
|
1108
1108
|
|
|
1109
1109
|
* ### **Website People** _(these are your end-users)_
|
|
1110
|
-
* **Get People Statistics
|
|
1110
|
+
* **Get People Statistics**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-people-statistics)
|
|
1111
1111
|
* `CrispClient.website.getPeopleStatistics(websiteID)`
|
|
1112
1112
|
* <details>
|
|
1113
1113
|
<summary>See Example</summary>
|
|
@@ -1119,7 +1119,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1119
1119
|
```
|
|
1120
1120
|
</details>
|
|
1121
1121
|
|
|
1122
|
-
* **List Suggested People Segments
|
|
1122
|
+
* **List Suggested People Segments**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-suggested-people-segments)
|
|
1123
1123
|
* `CrispClient.website.listSuggestedPeopleSegments(websiteID, pageNumber)`
|
|
1124
1124
|
* <details>
|
|
1125
1125
|
<summary>See Example</summary>
|
|
@@ -1132,7 +1132,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1132
1132
|
```
|
|
1133
1133
|
</details>
|
|
1134
1134
|
|
|
1135
|
-
* **Delete Suggested People Segment
|
|
1135
|
+
* **Delete Suggested People Segment**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#delete-suggested-people-segment)
|
|
1136
1136
|
* `CrispClient.website.deleteSuggestedPeopleSegment(websiteID, segment)`
|
|
1137
1137
|
* <details>
|
|
1138
1138
|
<summary>See Example</summary>
|
|
@@ -1146,7 +1146,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1146
1146
|
```
|
|
1147
1147
|
</details>
|
|
1148
1148
|
|
|
1149
|
-
* **List Suggested People Data Keys
|
|
1149
|
+
* **List Suggested People Data Keys**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-suggested-people-data-keys)
|
|
1150
1150
|
* `CrispClient.website.listSuggestedPeopleDataKeys(websiteID, pageNumber)`
|
|
1151
1151
|
* <details>
|
|
1152
1152
|
<summary>See Example</summary>
|
|
@@ -1159,7 +1159,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1159
1159
|
```
|
|
1160
1160
|
</details>
|
|
1161
1161
|
|
|
1162
|
-
* **Delete Suggested People Data Key
|
|
1162
|
+
* **Delete Suggested People Data Key**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#delete-suggested-people-data-key)
|
|
1163
1163
|
* `CrispClient.website.deleteSuggestedPeopleDataKey(websiteID, key)`
|
|
1164
1164
|
* <details>
|
|
1165
1165
|
<summary>See Example</summary>
|
|
@@ -1173,7 +1173,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1173
1173
|
```
|
|
1174
1174
|
</details>
|
|
1175
1175
|
|
|
1176
|
-
* **List Suggested People Events
|
|
1176
|
+
* **List Suggested People Events**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-suggested-people-events)
|
|
1177
1177
|
* `CrispClient.website.listSuggestedPeopleEvents(websiteID, pageNumber)`
|
|
1178
1178
|
* <details>
|
|
1179
1179
|
<summary>See Example</summary>
|
|
@@ -1186,7 +1186,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1186
1186
|
```
|
|
1187
1187
|
</details>
|
|
1188
1188
|
|
|
1189
|
-
* **Delete Suggested People Event
|
|
1189
|
+
* **Delete Suggested People Event**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#delete-suggested-people-event)
|
|
1190
1190
|
* `CrispClient.website.deleteSuggestedPeopleEvent(websiteID, text)`
|
|
1191
1191
|
* <details>
|
|
1192
1192
|
<summary>See Example</summary>
|
|
@@ -1200,7 +1200,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1200
1200
|
```
|
|
1201
1201
|
</details>
|
|
1202
1202
|
|
|
1203
|
-
* **⭐ List People Profiles
|
|
1203
|
+
* **⭐ List People Profiles**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-people-profiles)
|
|
1204
1204
|
* `CrispClient.website.listPeopleProfiles(websiteID, pageNumber, searchField, searchOrder, searchOperator, searchFilter, searchText)`
|
|
1205
1205
|
* <details>
|
|
1206
1206
|
<summary>See Example</summary>
|
|
@@ -1213,7 +1213,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1213
1213
|
```
|
|
1214
1214
|
</details>
|
|
1215
1215
|
|
|
1216
|
-
* **⭐ Add New People Profile
|
|
1216
|
+
* **⭐ Add New People Profile**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#add-new-people-profile)
|
|
1217
1217
|
* `CrispClient.website.addNewPeopleProfile(websiteID, peopleProfile)`
|
|
1218
1218
|
* <details>
|
|
1219
1219
|
<summary>See Example</summary>
|
|
@@ -1232,7 +1232,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1232
1232
|
```
|
|
1233
1233
|
</details>
|
|
1234
1234
|
|
|
1235
|
-
* **⭐ Check If People Profile Exists
|
|
1235
|
+
* **⭐ Check If People Profile Exists**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#check-if-people-profile-exists)
|
|
1236
1236
|
* `CrispClient.website.checkPeopleProfileExists(websiteID, peopleID)`
|
|
1237
1237
|
* <details>
|
|
1238
1238
|
<summary>See Example</summary>
|
|
@@ -1245,7 +1245,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1245
1245
|
```
|
|
1246
1246
|
</details>
|
|
1247
1247
|
|
|
1248
|
-
* **⭐ Get People Profile
|
|
1248
|
+
* **⭐ Get People Profile**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-people-profile)
|
|
1249
1249
|
* `CrispClient.website.getPeopleProfile(websiteID, peopleID)`
|
|
1250
1250
|
* <details>
|
|
1251
1251
|
<summary>See Example</summary>
|
|
@@ -1258,7 +1258,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1258
1258
|
```
|
|
1259
1259
|
</details>
|
|
1260
1260
|
|
|
1261
|
-
* **⭐ Save People Profile
|
|
1261
|
+
* **⭐ Save People Profile**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#save-people-profile)
|
|
1262
1262
|
* `CrispClient.website.savePeopleProfile(websiteID, peopleID, peopleProfile)`
|
|
1263
1263
|
* <details>
|
|
1264
1264
|
<summary>See Example</summary>
|
|
@@ -1278,7 +1278,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1278
1278
|
```
|
|
1279
1279
|
</details>
|
|
1280
1280
|
|
|
1281
|
-
* **⭐ Update People Profile
|
|
1281
|
+
* **⭐ Update People Profile**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#update-people-profile)
|
|
1282
1282
|
* `CrispClient.website.updatePeopleProfile(websiteID, peopleID, peopleProfile)`
|
|
1283
1283
|
* <details>
|
|
1284
1284
|
<summary>See Example</summary>
|
|
@@ -1298,7 +1298,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1298
1298
|
```
|
|
1299
1299
|
</details>
|
|
1300
1300
|
|
|
1301
|
-
* **⭐ Remove People Profile
|
|
1301
|
+
* **⭐ Remove People Profile**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#remove-people-profile)
|
|
1302
1302
|
* `CrispClient.website.removePeopleProfile(websiteID, peopleID)`
|
|
1303
1303
|
* <details>
|
|
1304
1304
|
<summary>See Example</summary>
|
|
@@ -1311,7 +1311,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1311
1311
|
```
|
|
1312
1312
|
</details>
|
|
1313
1313
|
|
|
1314
|
-
* **List People Conversations
|
|
1314
|
+
* **List People Conversations**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-people-conversations)
|
|
1315
1315
|
* `CrispClient.website.listPeopleConversations(websiteID, peopleID, pageNumber)`
|
|
1316
1316
|
* <details>
|
|
1317
1317
|
<summary>See Example</summary>
|
|
@@ -1325,7 +1325,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1325
1325
|
```
|
|
1326
1326
|
</details>
|
|
1327
1327
|
|
|
1328
|
-
* **List People Campaigns
|
|
1328
|
+
* **List People Campaigns**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-people-campaigns)
|
|
1329
1329
|
* `CrispClient.website.listPeopleCampaigns(websiteID, peopleID, pageNumber)`
|
|
1330
1330
|
* <details>
|
|
1331
1331
|
<summary>See Example</summary>
|
|
@@ -1339,7 +1339,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1339
1339
|
```
|
|
1340
1340
|
</details>
|
|
1341
1341
|
|
|
1342
|
-
* **Add A People Event
|
|
1342
|
+
* **Add A People Event**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#add-a-people-event)
|
|
1343
1343
|
* `CrispClient.website.addPeopleEvent(websiteID, peopleID, peopleEvent)`
|
|
1344
1344
|
* <details>
|
|
1345
1345
|
<summary>See Example</summary>
|
|
@@ -1361,7 +1361,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1361
1361
|
```
|
|
1362
1362
|
</details>
|
|
1363
1363
|
|
|
1364
|
-
* **List People Events
|
|
1364
|
+
* **List People Events**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-people-events)
|
|
1365
1365
|
* `CrispClient.website.listPeopleEvents(websiteID, peopleID, pageNumber)`
|
|
1366
1366
|
* <details>
|
|
1367
1367
|
<summary>See Example</summary>
|
|
@@ -1375,7 +1375,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1375
1375
|
```
|
|
1376
1376
|
</details>
|
|
1377
1377
|
|
|
1378
|
-
* **Get People Data
|
|
1378
|
+
* **Get People Data**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-people-data)
|
|
1379
1379
|
* `CrispClient.website.getPeopleData(websiteID, peopleID)`
|
|
1380
1380
|
* <details>
|
|
1381
1381
|
<summary>See Example</summary>
|
|
@@ -1388,7 +1388,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1388
1388
|
```
|
|
1389
1389
|
</details>
|
|
1390
1390
|
|
|
1391
|
-
* **Save People Data
|
|
1391
|
+
* **Save People Data**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#save-people-data)
|
|
1392
1392
|
* `CrispClient.website.savePeopleData(websiteID, peopleID, peopleData)`
|
|
1393
1393
|
* <details>
|
|
1394
1394
|
<summary>See Example</summary>
|
|
@@ -1408,7 +1408,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1408
1408
|
```
|
|
1409
1409
|
</details>
|
|
1410
1410
|
|
|
1411
|
-
* **Update People Data
|
|
1411
|
+
* **Update People Data**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#update-people-data)
|
|
1412
1412
|
* `CrispClient.website.updatePeopleData(websiteID, peopleID, peopleData)`
|
|
1413
1413
|
* <details>
|
|
1414
1414
|
<summary>See Example</summary>
|
|
@@ -1427,7 +1427,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1427
1427
|
```
|
|
1428
1428
|
</details>
|
|
1429
1429
|
|
|
1430
|
-
* **Get People Subscription Status
|
|
1430
|
+
* **Get People Subscription Status**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-people-subscription-status)
|
|
1431
1431
|
* `CrispClient.website.getPeopleSubscriptionStatus(websiteID, peopleID)`
|
|
1432
1432
|
* <details>
|
|
1433
1433
|
<summary>See Example</summary>
|
|
@@ -1440,7 +1440,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1440
1440
|
```
|
|
1441
1441
|
</details>
|
|
1442
1442
|
|
|
1443
|
-
* **Update People Subscription Status
|
|
1443
|
+
* **Update People Subscription Status**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#update-people-subscription-status)
|
|
1444
1444
|
* `CrispClient.website.updatePeopleSubscriptionStatus(websiteID, peopleID, peopleSubscription)`
|
|
1445
1445
|
* <details>
|
|
1446
1446
|
<summary>See Example</summary>
|
|
@@ -1457,7 +1457,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1457
1457
|
```
|
|
1458
1458
|
</details>
|
|
1459
1459
|
|
|
1460
|
-
* **Export People Profiles
|
|
1460
|
+
* **Export People Profiles**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#export-people-profiles)
|
|
1461
1461
|
* `CrispClient.website.exportPeopleProfiles(websiteID)`
|
|
1462
1462
|
* <details>
|
|
1463
1463
|
<summary>See Example</summary>
|
|
@@ -1469,7 +1469,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1469
1469
|
```
|
|
1470
1470
|
</details>
|
|
1471
1471
|
|
|
1472
|
-
* **Import People Profiles
|
|
1472
|
+
* **Import People Profiles**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#import-people-profiles)
|
|
1473
1473
|
* `CrispClient.website.importPeopleProfiles(websiteID, profileImportSetup)`
|
|
1474
1474
|
* <details>
|
|
1475
1475
|
<summary>See Example</summary>
|
|
@@ -1503,7 +1503,7 @@ All methods that you will most likely need when building a Crisp integration are
|
|
|
1503
1503
|
_👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
1504
1504
|
|
|
1505
1505
|
* #### **Website Helpdesk**
|
|
1506
|
-
* **Check If Helpdesk Exists
|
|
1506
|
+
* **Check If Helpdesk Exists**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#check-if-helpdesk-exists)
|
|
1507
1507
|
* `CrispClient.website.checkHelpdeskExists(websiteID)`
|
|
1508
1508
|
* <details>
|
|
1509
1509
|
<summary>See Example</summary>
|
|
@@ -1515,7 +1515,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1515
1515
|
```
|
|
1516
1516
|
</details>
|
|
1517
1517
|
|
|
1518
|
-
* **Resolve Helpdesk
|
|
1518
|
+
* **Resolve Helpdesk**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#resolve-helpdesk)
|
|
1519
1519
|
* `CrispClient.website.resolveHelpdesk(websiteID)`
|
|
1520
1520
|
* <details>
|
|
1521
1521
|
<summary>See Example</summary>
|
|
@@ -1527,7 +1527,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1527
1527
|
```
|
|
1528
1528
|
</details>
|
|
1529
1529
|
|
|
1530
|
-
* **Initialize Helpdesk
|
|
1530
|
+
* **Initialize Helpdesk**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#initialize-helpdesk)
|
|
1531
1531
|
* `CrispClient.website.initializeHelpdesk(websiteID, name, domainBasic)`
|
|
1532
1532
|
* <details>
|
|
1533
1533
|
<summary>See Example</summary>
|
|
@@ -1542,7 +1542,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1542
1542
|
```
|
|
1543
1543
|
</details>
|
|
1544
1544
|
|
|
1545
|
-
* **Delete Helpdesk
|
|
1545
|
+
* **Delete Helpdesk**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#delete-helpdesk)
|
|
1546
1546
|
* `CrispClient.website.deleteHelpdesk(websiteID, verify)`
|
|
1547
1547
|
* <details>
|
|
1548
1548
|
<summary>See Example</summary>
|
|
@@ -1559,7 +1559,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1559
1559
|
```
|
|
1560
1560
|
</details>
|
|
1561
1561
|
|
|
1562
|
-
* **List Helpdesk Locales
|
|
1562
|
+
* **List Helpdesk Locales**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-helpdesk-locales)
|
|
1563
1563
|
* `CrispClient.website.listHelpdeskLocales(websiteID, pageNumber, options={})`
|
|
1564
1564
|
* <details>
|
|
1565
1565
|
<summary>See Example</summary>
|
|
@@ -1574,7 +1574,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1574
1574
|
```
|
|
1575
1575
|
</details>
|
|
1576
1576
|
|
|
1577
|
-
* **Add Helpdesk Locale
|
|
1577
|
+
* **Add Helpdesk Locale**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#add-helpdesk-locale)
|
|
1578
1578
|
* `CrispClient.website.addHelpdeskLocale(websiteID, locale)`
|
|
1579
1579
|
* <details>
|
|
1580
1580
|
<summary>See Example</summary>
|
|
@@ -1588,7 +1588,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1588
1588
|
```
|
|
1589
1589
|
</details>
|
|
1590
1590
|
|
|
1591
|
-
* **Check If Helpdesk Locale Exists
|
|
1591
|
+
* **Check If Helpdesk Locale Exists**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#check-if-helpdesk-locale-exists)
|
|
1592
1592
|
* `CrispClient.website.checkHelpdeskLocaleExists(websiteID, locale)`
|
|
1593
1593
|
* <details>
|
|
1594
1594
|
<summary>See Example</summary>
|
|
@@ -1602,7 +1602,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1602
1602
|
```
|
|
1603
1603
|
</details>
|
|
1604
1604
|
|
|
1605
|
-
* **Resolve Helpdesk Locale
|
|
1605
|
+
* **Resolve Helpdesk Locale**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#resolve-helpdesk-locale)
|
|
1606
1606
|
* `CrispClient.website.resolveHelpdeskLocale(websiteID, locale)`
|
|
1607
1607
|
* <details>
|
|
1608
1608
|
<summary>See Example</summary>
|
|
@@ -1616,7 +1616,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1616
1616
|
```
|
|
1617
1617
|
</details>
|
|
1618
1618
|
|
|
1619
|
-
* **Delete Helpdesk Locale
|
|
1619
|
+
* **Delete Helpdesk Locale**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#delete-helpdesk-locale)
|
|
1620
1620
|
* `CrispClient.website.deleteHelpdeskLocale(websiteID, locale)`
|
|
1621
1621
|
* <details>
|
|
1622
1622
|
<summary>See Example</summary>
|
|
@@ -1630,7 +1630,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1630
1630
|
```
|
|
1631
1631
|
</details>
|
|
1632
1632
|
|
|
1633
|
-
* **List Helpdesk Locale Articles
|
|
1633
|
+
* **List Helpdesk Locale Articles**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-helpdesk-locale-articles)
|
|
1634
1634
|
* `CrispClient.website.listHelpdeskLocaleArticles(websiteID, locale, pageNumber)`
|
|
1635
1635
|
* <details>
|
|
1636
1636
|
<summary>See Example</summary>
|
|
@@ -1645,7 +1645,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1645
1645
|
```
|
|
1646
1646
|
</details>
|
|
1647
1647
|
|
|
1648
|
-
* **Add A New Helpdesk Locale Article
|
|
1648
|
+
* **Add A New Helpdesk Locale Article**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#add-a-new-helpdesk-locale-article)
|
|
1649
1649
|
* `CrispClient.website.addNewHelpdeskLocaleArticle(websiteID, locale, title)`
|
|
1650
1650
|
* <details>
|
|
1651
1651
|
<summary>See Example</summary>
|
|
@@ -1660,7 +1660,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1660
1660
|
```
|
|
1661
1661
|
</details>
|
|
1662
1662
|
|
|
1663
|
-
* **Check If Helpdesk Locale Article Exists
|
|
1663
|
+
* **Check If Helpdesk Locale Article Exists**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#check-if-helpdesk-locale-article-exists)
|
|
1664
1664
|
* `CrispClient.website.checkHelpdeskLocaleArticleExists(websiteID, locale, articleId)`
|
|
1665
1665
|
* <details>
|
|
1666
1666
|
<summary>See Example</summary>
|
|
@@ -1675,7 +1675,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1675
1675
|
```
|
|
1676
1676
|
</details>
|
|
1677
1677
|
|
|
1678
|
-
* **Resolve Helpdesk Locale Article
|
|
1678
|
+
* **Resolve Helpdesk Locale Article**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#resolve-helpdesk-locale-article)
|
|
1679
1679
|
* `CrispClient.website.resolveHelpdeskLocaleArticle(websiteID, locale, articleId)`
|
|
1680
1680
|
* <details>
|
|
1681
1681
|
<summary>See Example</summary>
|
|
@@ -1690,7 +1690,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1690
1690
|
```
|
|
1691
1691
|
</details>
|
|
1692
1692
|
|
|
1693
|
-
* **Save Helpdesk Locale Article
|
|
1693
|
+
* **Save Helpdesk Locale Article**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#save-helpdesk-locale-article)
|
|
1694
1694
|
* `CrispClient.website.saveHelpdeskLocaleArticle(websiteID, locale, articleId, article)`
|
|
1695
1695
|
* <details>
|
|
1696
1696
|
<summary>See Example</summary>
|
|
@@ -1713,7 +1713,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1713
1713
|
```
|
|
1714
1714
|
</details>
|
|
1715
1715
|
|
|
1716
|
-
* **Update Helpdesk Locale Article
|
|
1716
|
+
* **Update Helpdesk Locale Article**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#update-helpdesk-locale-article)
|
|
1717
1717
|
* `CrispClient.website.updateHelpdeskLocaleArticle(websiteID, locale, articleId, article)`
|
|
1718
1718
|
* <details>
|
|
1719
1719
|
<summary>See Example</summary>
|
|
@@ -1732,7 +1732,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1732
1732
|
```
|
|
1733
1733
|
</details>
|
|
1734
1734
|
|
|
1735
|
-
* **Delete Helpdesk Locale Article
|
|
1735
|
+
* **Delete Helpdesk Locale Article**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#delete-helpdesk-locale-article)
|
|
1736
1736
|
* `CrispClient.website.deleteHelpdeskLocaleArticle(websiteID, locale, articleId)`
|
|
1737
1737
|
* <details>
|
|
1738
1738
|
<summary>See Example</summary>
|
|
@@ -1747,7 +1747,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1747
1747
|
```
|
|
1748
1748
|
</details>
|
|
1749
1749
|
|
|
1750
|
-
* **Resolve Helpdesk Locale Article Page
|
|
1750
|
+
* **Resolve Helpdesk Locale Article Page**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#resolve-helpdesk-locale-article-page)
|
|
1751
1751
|
* `CrispClient.website.resolveHelpdeskLocaleArticlePage(websiteID, locale, articleId)`
|
|
1752
1752
|
* <details>
|
|
1753
1753
|
<summary>See Example</summary>
|
|
@@ -1762,7 +1762,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1762
1762
|
```
|
|
1763
1763
|
</details>
|
|
1764
1764
|
|
|
1765
|
-
* **Resolve Helpdesk Locale Article Category
|
|
1765
|
+
* **Resolve Helpdesk Locale Article Category**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#resolve-helpdesk-locale-article-category)
|
|
1766
1766
|
* `CrispClient.website.resolveHelpdeskLocaleArticleCategory(websiteID, locale, articleId)`
|
|
1767
1767
|
* <details>
|
|
1768
1768
|
<summary>See Example</summary>
|
|
@@ -1777,7 +1777,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1777
1777
|
```
|
|
1778
1778
|
</details>
|
|
1779
1779
|
|
|
1780
|
-
* **Update Helpdesk Locale Article Category
|
|
1780
|
+
* **Update Helpdesk Locale Article Category**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#update-helpdesk-locale-article-category)
|
|
1781
1781
|
* `CrispClient.website.updateHelpdeskLocaleArticleCategory(websiteID, locale, articleId, categoryId, sectionId)`
|
|
1782
1782
|
* <details>
|
|
1783
1783
|
<summary>See Example</summary>
|
|
@@ -1793,7 +1793,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1793
1793
|
```
|
|
1794
1794
|
</details>
|
|
1795
1795
|
|
|
1796
|
-
* **List Helpdesk Locale Article Alternates
|
|
1796
|
+
* **List Helpdesk Locale Article Alternates**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-helpdesk-locale-article-alternates)
|
|
1797
1797
|
* `CrispClient.website.listHelpdeskLocaleArticleAlternates(websiteID, locale, articleId)`
|
|
1798
1798
|
* <details>
|
|
1799
1799
|
<summary>See Example</summary>
|
|
@@ -1808,7 +1808,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1808
1808
|
```
|
|
1809
1809
|
</details>
|
|
1810
1810
|
|
|
1811
|
-
* **Check If Helpdesk Locale Article Alternate Exists
|
|
1811
|
+
* **Check If Helpdesk Locale Article Alternate Exists**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#check-if-helpdesk-locale-article-alternate-exists)
|
|
1812
1812
|
* `CrispClient.website.checkHelpdeskLocaleArticleAlternateExists(websiteID, locale, articleId, localeLinked)`
|
|
1813
1813
|
* <details>
|
|
1814
1814
|
<summary>See Example</summary>
|
|
@@ -1824,7 +1824,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1824
1824
|
```
|
|
1825
1825
|
</details>
|
|
1826
1826
|
|
|
1827
|
-
* **Resolve Helpdesk Locale Article Alternate
|
|
1827
|
+
* **Resolve Helpdesk Locale Article Alternate**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#resolve-helpdesk-locale-article-alternate)
|
|
1828
1828
|
* `CrispClient.website.resolveHelpdeskLocaleArticleAlternate(websiteID, locale, articleId, localeLinked)`
|
|
1829
1829
|
* <details>
|
|
1830
1830
|
<summary>See Example</summary>
|
|
@@ -1840,7 +1840,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1840
1840
|
```
|
|
1841
1841
|
</details>
|
|
1842
1842
|
|
|
1843
|
-
* **Save Helpdesk Locale Article Alternate
|
|
1843
|
+
* **Save Helpdesk Locale Article Alternate**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#save-helpdesk-locale-article-alternate)
|
|
1844
1844
|
* `CrispClient.website.saveHelpdeskLocaleArticleAlternate(websiteID, locale, articleId, localeLinked, articleIdLinked)`
|
|
1845
1845
|
* <details>
|
|
1846
1846
|
<summary>See Example</summary>
|
|
@@ -1857,7 +1857,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1857
1857
|
```
|
|
1858
1858
|
</details>
|
|
1859
1859
|
|
|
1860
|
-
* **Delete Helpdesk Locale Article Alternate
|
|
1860
|
+
* **Delete Helpdesk Locale Article Alternate**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#delete-helpdesk-locale-article-alternate)
|
|
1861
1861
|
* `CrispClient.website.deleteHelpdeskLocaleArticleAlternate(websiteID, locale, articleId, localeLinked)`
|
|
1862
1862
|
* <details>
|
|
1863
1863
|
<summary>See Example</summary>
|
|
@@ -1873,7 +1873,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1873
1873
|
```
|
|
1874
1874
|
</details>
|
|
1875
1875
|
|
|
1876
|
-
* **Publish Helpdesk Locale Article
|
|
1876
|
+
* **Publish Helpdesk Locale Article**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#publish-helpdesk-locale-article)
|
|
1877
1877
|
* `CrispClient.website.publishHelpdeskLocaleArticle(websiteID, locale, articleId)`
|
|
1878
1878
|
* <details>
|
|
1879
1879
|
<summary>See Example</summary>
|
|
@@ -1888,7 +1888,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1888
1888
|
```
|
|
1889
1889
|
</details>
|
|
1890
1890
|
|
|
1891
|
-
* **Unpublish Helpdesk Locale Article
|
|
1891
|
+
* **Unpublish Helpdesk Locale Article**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#unpublish-helpdesk-locale-article)
|
|
1892
1892
|
* `CrispClient.website.unpublishHelpdeskLocaleArticle(websiteID, locale, articleId)`
|
|
1893
1893
|
* <details>
|
|
1894
1894
|
<summary>See Example</summary>
|
|
@@ -1903,7 +1903,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1903
1903
|
```
|
|
1904
1904
|
</details>
|
|
1905
1905
|
|
|
1906
|
-
* **List Helpdesk Locale Categories
|
|
1906
|
+
* **List Helpdesk Locale Categories**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-helpdesk-locale-categories)
|
|
1907
1907
|
* `CrispClient.website.listHelpdeskLocaleCategories(websiteID, locale, pageNumber)`
|
|
1908
1908
|
* <details>
|
|
1909
1909
|
<summary>See Example</summary>
|
|
@@ -1918,7 +1918,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1918
1918
|
```
|
|
1919
1919
|
</details>
|
|
1920
1920
|
|
|
1921
|
-
* **Add Helpdesk Locale Category
|
|
1921
|
+
* **Add Helpdesk Locale Category**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#add-helpdesk-locale-category)
|
|
1922
1922
|
* `CrispClient.website.addHelpdeskLocaleCategory(websiteID, locale, name)`
|
|
1923
1923
|
* <details>
|
|
1924
1924
|
<summary>See Example</summary>
|
|
@@ -1933,7 +1933,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1933
1933
|
```
|
|
1934
1934
|
</details>
|
|
1935
1935
|
|
|
1936
|
-
* **Check If Helpdesk Locale Category Exists
|
|
1936
|
+
* **Check If Helpdesk Locale Category Exists**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#check-if-helpdesk-locale-category-exists)
|
|
1937
1937
|
* `CrispClient.website.checkHelpdeskLocaleCategoryExists(websiteID, locale, categoryId)`
|
|
1938
1938
|
* <details>
|
|
1939
1939
|
<summary>See Example</summary>
|
|
@@ -1948,7 +1948,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1948
1948
|
```
|
|
1949
1949
|
</details>
|
|
1950
1950
|
|
|
1951
|
-
* **Resolve Helpdesk Locale Category
|
|
1951
|
+
* **Resolve Helpdesk Locale Category**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#resolve-helpdesk-locale-category)
|
|
1952
1952
|
* `CrispClient.website.resolveHelpdeskLocaleCategory(websiteID, locale, categoryId)`
|
|
1953
1953
|
* <details>
|
|
1954
1954
|
<summary>See Example</summary>
|
|
@@ -1963,7 +1963,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1963
1963
|
```
|
|
1964
1964
|
</details>
|
|
1965
1965
|
|
|
1966
|
-
* **Save Helpdesk Locale Category
|
|
1966
|
+
* **Save Helpdesk Locale Category**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#save-helpdesk-locale-category)
|
|
1967
1967
|
* `CrispClient.website.saveHelpdeskLocaleCategory(websiteID, locale, categoryId, category)`
|
|
1968
1968
|
* <details>
|
|
1969
1969
|
<summary>See Example</summary>
|
|
@@ -1986,7 +1986,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
1986
1986
|
```
|
|
1987
1987
|
</details>
|
|
1988
1988
|
|
|
1989
|
-
* **Update Helpdesk Locale Category
|
|
1989
|
+
* **Update Helpdesk Locale Category**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#update-helpdesk-locale-category)
|
|
1990
1990
|
* `CrispClient.website.updateHelpdeskLocaleCategory(websiteID, locale, categoryId, category)`
|
|
1991
1991
|
* <details>
|
|
1992
1992
|
<summary>See Example</summary>
|
|
@@ -2005,7 +2005,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2005
2005
|
```
|
|
2006
2006
|
</details>
|
|
2007
2007
|
|
|
2008
|
-
* **Delete Helpdesk Locale Category
|
|
2008
|
+
* **Delete Helpdesk Locale Category**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#delete-helpdesk-locale-category)
|
|
2009
2009
|
* `CrispClient.website.deleteHelpdeskLocaleCategory(websiteID, locale, categoryId)`
|
|
2010
2010
|
* <details>
|
|
2011
2011
|
<summary>See Example</summary>
|
|
@@ -2020,7 +2020,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2020
2020
|
```
|
|
2021
2021
|
</details>
|
|
2022
2022
|
|
|
2023
|
-
* **List Helpdesk Locale Sections
|
|
2023
|
+
* **List Helpdesk Locale Sections**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-helpdesk-locale-sections)
|
|
2024
2024
|
* `CrispClient.website.listHelpdeskLocaleSections(websiteID, locale, categoryId, pageNumber)`
|
|
2025
2025
|
* <details>
|
|
2026
2026
|
<summary>See Example</summary>
|
|
@@ -2036,7 +2036,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2036
2036
|
```
|
|
2037
2037
|
</details>
|
|
2038
2038
|
|
|
2039
|
-
* **Add Helpdesk Locale Section
|
|
2039
|
+
* **Add Helpdesk Locale Section**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#add-helpdesk-locale-section)
|
|
2040
2040
|
* `CrispClient.website.addHelpdeskLocaleSection(websiteID, locale, categoryId, name)`
|
|
2041
2041
|
* <details>
|
|
2042
2042
|
<summary>See Example</summary>
|
|
@@ -2052,7 +2052,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2052
2052
|
```
|
|
2053
2053
|
</details>
|
|
2054
2054
|
|
|
2055
|
-
* **Check If Helpdesk Locale Section Exists
|
|
2055
|
+
* **Check If Helpdesk Locale Section Exists**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#check-if-helpdesk-locale-section-exists)
|
|
2056
2056
|
* `CrispClient.website.checkHelpdeskLocaleSectionExists(websiteID, locale, categoryId, sectionId)`
|
|
2057
2057
|
* <details>
|
|
2058
2058
|
<summary>See Example</summary>
|
|
@@ -2068,7 +2068,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2068
2068
|
```
|
|
2069
2069
|
</details>
|
|
2070
2070
|
|
|
2071
|
-
* **Resolve Helpdesk Locale Section
|
|
2071
|
+
* **Resolve Helpdesk Locale Section**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#resolve-helpdesk-locale-section)
|
|
2072
2072
|
* `CrispClient.website.resolveHelpdeskLocaleSection(websiteID, locale, categoryId, sectionId)`
|
|
2073
2073
|
* <details>
|
|
2074
2074
|
<summary>See Example</summary>
|
|
@@ -2084,7 +2084,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2084
2084
|
```
|
|
2085
2085
|
</details>
|
|
2086
2086
|
|
|
2087
|
-
* **Save Helpdesk Locale Section
|
|
2087
|
+
* **Save Helpdesk Locale Section**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#save-helpdesk-locale-section)
|
|
2088
2088
|
* `CrispClient.website.saveHelpdeskLocaleSection(websiteID, locale, categoryId, sectionId, section)`
|
|
2089
2089
|
* <details>
|
|
2090
2090
|
<summary>See Example</summary>
|
|
@@ -2105,7 +2105,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2105
2105
|
```
|
|
2106
2106
|
</details>
|
|
2107
2107
|
|
|
2108
|
-
* **Update Helpdesk Locale Section
|
|
2108
|
+
* **Update Helpdesk Locale Section**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#update-helpdesk-locale-section)
|
|
2109
2109
|
* `CrispClient.website.updateHelpdeskLocaleSection(websiteID, locale, categoryId, sectionId, section)`
|
|
2110
2110
|
* <details>
|
|
2111
2111
|
<summary>See Example</summary>
|
|
@@ -2126,7 +2126,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2126
2126
|
```
|
|
2127
2127
|
</details>
|
|
2128
2128
|
|
|
2129
|
-
* **Delete Helpdesk Locale Section
|
|
2129
|
+
* **Delete Helpdesk Locale Section**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#delete-helpdesk-locale-section)
|
|
2130
2130
|
* `CrispClient.website.deleteHelpdeskLocaleSection(websiteID, locale, categoryId, sectionId)`
|
|
2131
2131
|
* <details>
|
|
2132
2132
|
<summary>See Example</summary>
|
|
@@ -2142,7 +2142,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2142
2142
|
```
|
|
2143
2143
|
</details>
|
|
2144
2144
|
|
|
2145
|
-
* **Map Helpdesk Locale Feedback Ratings
|
|
2145
|
+
* **Map Helpdesk Locale Feedback Ratings**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#map-helpdesk-locale-feedback-ratings)
|
|
2146
2146
|
* `CrispClient.website.mapHelpdeskLocaleFeedbackRatings(websiteID, locale, filterDateStart, filterDateEnd)`
|
|
2147
2147
|
* <details>
|
|
2148
2148
|
<summary>See Example</summary>
|
|
@@ -2156,7 +2156,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2156
2156
|
```
|
|
2157
2157
|
</details>
|
|
2158
2158
|
|
|
2159
|
-
* **List Helpdesk Locale Feedbacks
|
|
2159
|
+
* **List Helpdesk Locale Feedbacks**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-helpdesk-locale-feedbacks)
|
|
2160
2160
|
* `CrispClient.website.listHelpdeskLocaleFeedbacks(websiteID, locale, pageNumber, filterDateStart, filterDateEnd)`
|
|
2161
2161
|
* <details>
|
|
2162
2162
|
<summary>See Example</summary>
|
|
@@ -2171,7 +2171,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2171
2171
|
```
|
|
2172
2172
|
</details>
|
|
2173
2173
|
|
|
2174
|
-
* **Import External Helpdesk To Locale
|
|
2174
|
+
* **Import External Helpdesk To Locale**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#import-external-helpdesk-to-locale)
|
|
2175
2175
|
* `CrispClient.website.importExternalHelpdeskToLocale(websiteID, locale, helpdeskUrl)`
|
|
2176
2176
|
* <details>
|
|
2177
2177
|
<summary>See Example</summary>
|
|
@@ -2186,7 +2186,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2186
2186
|
```
|
|
2187
2187
|
</details>
|
|
2188
2188
|
|
|
2189
|
-
* **Export Helpdesk Locale Articles
|
|
2189
|
+
* **Export Helpdesk Locale Articles**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#export-helpdesk-locale-articles)
|
|
2190
2190
|
* `CrispClient.website.exportHelpdeskLocaleArticles(websiteID, locale)`
|
|
2191
2191
|
* <details>
|
|
2192
2192
|
<summary>See Example</summary>
|
|
@@ -2200,7 +2200,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2200
2200
|
```
|
|
2201
2201
|
</details>
|
|
2202
2202
|
|
|
2203
|
-
* **List Helpdesk Redirections
|
|
2203
|
+
* **List Helpdesk Redirections**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-helpdesk-redirections)
|
|
2204
2204
|
* `CrispClient.website.listHelpdeskRedirections(websiteID, pageNumber)`
|
|
2205
2205
|
* <details>
|
|
2206
2206
|
<summary>See Example</summary>
|
|
@@ -2213,7 +2213,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2213
2213
|
```
|
|
2214
2214
|
</details>
|
|
2215
2215
|
|
|
2216
|
-
* **Add Helpdesk Redirection
|
|
2216
|
+
* **Add Helpdesk Redirection**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#add-helpdesk-redirection)
|
|
2217
2217
|
* `CrispClient.website.addHelpdeskRedirection(websiteID, redirectionPath, redirectionTarget)`
|
|
2218
2218
|
* <details>
|
|
2219
2219
|
<summary>See Example</summary>
|
|
@@ -2228,7 +2228,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2228
2228
|
```
|
|
2229
2229
|
</details>
|
|
2230
2230
|
|
|
2231
|
-
* **Check If Helpdesk Redirection Exists
|
|
2231
|
+
* **Check If Helpdesk Redirection Exists**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#check-if-helpdesk-redirection-exists)
|
|
2232
2232
|
* `CrispClient.website.checkHelpdeskRedirectionExists(websiteID, redirectionId)`
|
|
2233
2233
|
* <details>
|
|
2234
2234
|
<summary>See Example</summary>
|
|
@@ -2241,7 +2241,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2241
2241
|
```
|
|
2242
2242
|
</details>
|
|
2243
2243
|
|
|
2244
|
-
* **Resolve Helpdesk Redirection
|
|
2244
|
+
* **Resolve Helpdesk Redirection**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#resolve-helpdesk-redirection)
|
|
2245
2245
|
* `CrispClient.website.resolveHelpdeskRedirection(websiteID, redirectionId)`
|
|
2246
2246
|
* <details>
|
|
2247
2247
|
<summary>See Example</summary>
|
|
@@ -2254,7 +2254,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2254
2254
|
```
|
|
2255
2255
|
</details>
|
|
2256
2256
|
|
|
2257
|
-
* **Delete Helpdesk Redirection
|
|
2257
|
+
* **Delete Helpdesk Redirection**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#delete-helpdesk-redirection)
|
|
2258
2258
|
* `CrispClient.website.deleteHelpdeskRedirection(websiteID, redirectionId)`
|
|
2259
2259
|
* <details>
|
|
2260
2260
|
<summary>See Example</summary>
|
|
@@ -2267,7 +2267,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2267
2267
|
```
|
|
2268
2268
|
</details>
|
|
2269
2269
|
|
|
2270
|
-
* **Resolve Helpdesk Settings
|
|
2270
|
+
* **Resolve Helpdesk Settings**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#resolve-helpdesk-settings)
|
|
2271
2271
|
* `CrispClient.website.resolveHelpdeskSettings(websiteID)`
|
|
2272
2272
|
* <details>
|
|
2273
2273
|
<summary>See Example</summary>
|
|
@@ -2279,7 +2279,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2279
2279
|
```
|
|
2280
2280
|
</details>
|
|
2281
2281
|
|
|
2282
|
-
* **Save Helpdesk Settings
|
|
2282
|
+
* **Save Helpdesk Settings**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#save-helpdesk-settings)
|
|
2283
2283
|
* `CrispClient.website.saveHelpdeskSettings(websiteID, settings)`
|
|
2284
2284
|
* <details>
|
|
2285
2285
|
<summary>See Example</summary>
|
|
@@ -2323,7 +2323,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2323
2323
|
```
|
|
2324
2324
|
</details>
|
|
2325
2325
|
|
|
2326
|
-
* **Resolve Helpdesk Domain
|
|
2326
|
+
* **Resolve Helpdesk Domain**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#resolve-helpdesk-domain)
|
|
2327
2327
|
* `CrispClient.website.resolveHelpdeskDomain(websiteID)`
|
|
2328
2328
|
* <details>
|
|
2329
2329
|
<summary>See Example</summary>
|
|
@@ -2335,7 +2335,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2335
2335
|
```
|
|
2336
2336
|
</details>
|
|
2337
2337
|
|
|
2338
|
-
* **Request Helpdesk Domain Change
|
|
2338
|
+
* **Request Helpdesk Domain Change**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#request-helpdesk-domain-change)
|
|
2339
2339
|
* `CrispClient.website.requestHelpdeskDomainChange(websiteID, basic, custom)`
|
|
2340
2340
|
* <details>
|
|
2341
2341
|
<summary>See Example</summary>
|
|
@@ -2350,7 +2350,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2350
2350
|
```
|
|
2351
2351
|
</details>
|
|
2352
2352
|
|
|
2353
|
-
* **Generate Helpdesk Domain Setup Flow
|
|
2353
|
+
* **Generate Helpdesk Domain Setup Flow**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#generate-helpdesk-domain-setup-flow)
|
|
2354
2354
|
* `CrispClient.website.generateHelpdeskDomainSetupFlow(websiteID, custom)`
|
|
2355
2355
|
* <details>
|
|
2356
2356
|
<summary>See Example</summary>
|
|
@@ -2365,7 +2365,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2365
2365
|
</details>
|
|
2366
2366
|
|
|
2367
2367
|
* #### **Website Base**
|
|
2368
|
-
* **Check If Website Exists
|
|
2368
|
+
* **Check If Website Exists**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#check-if-website-exists)
|
|
2369
2369
|
* `CrispClient.website.checkWebsiteExists(domain)`
|
|
2370
2370
|
* <details>
|
|
2371
2371
|
<summary>See Example</summary>
|
|
@@ -2375,7 +2375,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2375
2375
|
```
|
|
2376
2376
|
</details>
|
|
2377
2377
|
|
|
2378
|
-
* **Create Website
|
|
2378
|
+
* **Create Website**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#create-website)
|
|
2379
2379
|
* `CrispClient.website.createWebsite(websiteData)`
|
|
2380
2380
|
* <details>
|
|
2381
2381
|
<summary>See Example</summary>
|
|
@@ -2385,7 +2385,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2385
2385
|
```
|
|
2386
2386
|
</details>
|
|
2387
2387
|
|
|
2388
|
-
* **Get A Website
|
|
2388
|
+
* **Get A Website**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-a-website)
|
|
2389
2389
|
* `CrispClient.website.getWebsite(websiteID)`
|
|
2390
2390
|
* <details>
|
|
2391
2391
|
<summary>See Example</summary>
|
|
@@ -2397,7 +2397,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2397
2397
|
```
|
|
2398
2398
|
</details>
|
|
2399
2399
|
|
|
2400
|
-
* **Delete A Website
|
|
2400
|
+
* **Delete A Website**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#delete-a-website)
|
|
2401
2401
|
* `CrispClient.website.deleteWebsite(websiteID, verify)`
|
|
2402
2402
|
* <details>
|
|
2403
2403
|
<summary>See Example</summary>
|
|
@@ -2414,7 +2414,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2414
2414
|
```
|
|
2415
2415
|
</details>
|
|
2416
2416
|
|
|
2417
|
-
* **Abort Website Deletion
|
|
2417
|
+
* **Abort Website Deletion**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#abort-website-deletion)
|
|
2418
2418
|
* `CrispClient.website.abortWebsiteDeletion(websiteID)`
|
|
2419
2419
|
* <details>
|
|
2420
2420
|
<summary>See Example</summary>
|
|
@@ -2428,7 +2428,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2428
2428
|
|
|
2429
2429
|
|
|
2430
2430
|
* #### **Website Settings**
|
|
2431
|
-
* **Get Website Settings
|
|
2431
|
+
* **Get Website Settings**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-website-settings)
|
|
2432
2432
|
* `CrispClient.website.getWebsiteSettings(websiteID)`
|
|
2433
2433
|
* <details>
|
|
2434
2434
|
<summary>See Example</summary>
|
|
@@ -2440,7 +2440,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2440
2440
|
```
|
|
2441
2441
|
</details>
|
|
2442
2442
|
|
|
2443
|
-
* **Update Website Settings
|
|
2443
|
+
* **Update Website Settings**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#update-website-settings)
|
|
2444
2444
|
* `CrispClient.website.updateWebsiteSettings(websiteID, settings)`
|
|
2445
2445
|
* <details>
|
|
2446
2446
|
<summary>See Example</summary>
|
|
@@ -2535,7 +2535,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2535
2535
|
|
|
2536
2536
|
|
|
2537
2537
|
* #### **Website Operator**
|
|
2538
|
-
* **List Website Operators
|
|
2538
|
+
* **List Website Operators**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-website-operators)
|
|
2539
2539
|
* `CrispClient.website.listWebsiteOperators(websiteID)`
|
|
2540
2540
|
* <details>
|
|
2541
2541
|
<summary>See Example</summary>
|
|
@@ -2547,7 +2547,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2547
2547
|
```
|
|
2548
2548
|
</details>
|
|
2549
2549
|
|
|
2550
|
-
* **List Last Active Website Operators
|
|
2550
|
+
* **List Last Active Website Operators**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-last-active-website-operators)
|
|
2551
2551
|
* `CrispClient.website.listLastActiveWebsiteOperators(websiteID)`
|
|
2552
2552
|
* <details>
|
|
2553
2553
|
<summary>See Example</summary>
|
|
@@ -2559,7 +2559,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2559
2559
|
```
|
|
2560
2560
|
</details>
|
|
2561
2561
|
|
|
2562
|
-
* **Flush Last Active Website Operators
|
|
2562
|
+
* **Flush Last Active Website Operators**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#flush-last-active-website-operators)
|
|
2563
2563
|
* `CrispClient.website.flushLastActiveWebsiteOperators(websiteID)`
|
|
2564
2564
|
* <details>
|
|
2565
2565
|
<summary>See Example</summary>
|
|
@@ -2571,7 +2571,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2571
2571
|
```
|
|
2572
2572
|
</details>
|
|
2573
2573
|
|
|
2574
|
-
* **Send Email To Website Operators
|
|
2574
|
+
* **Send Email To Website Operators**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#send-email-to-website-operators)
|
|
2575
2575
|
* `CrispClient.website.sendEmailToWebsiteOperators(websiteID, emailData)`
|
|
2576
2576
|
* <details>
|
|
2577
2577
|
<summary>See Example</summary>
|
|
@@ -2589,7 +2589,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2589
2589
|
```
|
|
2590
2590
|
</details>
|
|
2591
2591
|
|
|
2592
|
-
* **Get A Website Operator
|
|
2592
|
+
* **Get A Website Operator**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-a-website-operator)
|
|
2593
2593
|
* `CrispClient.website.getWebsiteOperator(websiteID, userID)`
|
|
2594
2594
|
* <details>
|
|
2595
2595
|
<summary>See Example</summary>
|
|
@@ -2602,7 +2602,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2602
2602
|
```
|
|
2603
2603
|
</details>
|
|
2604
2604
|
|
|
2605
|
-
* **Invite A Website Operator
|
|
2605
|
+
* **Invite A Website Operator**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#invite-a-website-operator)
|
|
2606
2606
|
* `CrispClient.website.inviteWebsiteOperator(websiteID, email, role, verify)`
|
|
2607
2607
|
* <details>
|
|
2608
2608
|
<summary>See Example</summary>
|
|
@@ -2622,7 +2622,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2622
2622
|
```
|
|
2623
2623
|
</details>
|
|
2624
2624
|
|
|
2625
|
-
* **Change Operator Membership
|
|
2625
|
+
* **Change Operator Membership**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#change-operator-membership)
|
|
2626
2626
|
* `CrispClient.website.changeOperatorMembership(websiteID, userID, role, title)`
|
|
2627
2627
|
* <details>
|
|
2628
2628
|
<summary>See Example</summary>
|
|
@@ -2640,7 +2640,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2640
2640
|
```
|
|
2641
2641
|
</details>
|
|
2642
2642
|
|
|
2643
|
-
* **Unlink Operator From Website
|
|
2643
|
+
* **Unlink Operator From Website**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#unlink-operator-from-website)
|
|
2644
2644
|
* `CrispClient.website.unlinkOperatorFromWebsite(websiteID, userID)`
|
|
2645
2645
|
* <details>
|
|
2646
2646
|
<summary>See Example</summary>
|
|
@@ -2655,7 +2655,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2655
2655
|
|
|
2656
2656
|
|
|
2657
2657
|
* #### **Website Visitors**
|
|
2658
|
-
* **Count Visitors
|
|
2658
|
+
* **Count Visitors**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#count-visitors)
|
|
2659
2659
|
* `CrispClient.website.countVisitors(websiteID)`
|
|
2660
2660
|
* <details>
|
|
2661
2661
|
<summary>See Example</summary>
|
|
@@ -2667,7 +2667,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2667
2667
|
```
|
|
2668
2668
|
</details>
|
|
2669
2669
|
|
|
2670
|
-
* **List Visitors
|
|
2670
|
+
* **List Visitors**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-visitors)
|
|
2671
2671
|
* `CrispClient.website.listVisitors(websiteID, pageNumber)`
|
|
2672
2672
|
* <details>
|
|
2673
2673
|
<summary>See Example</summary>
|
|
@@ -2680,7 +2680,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2680
2680
|
```
|
|
2681
2681
|
</details>
|
|
2682
2682
|
|
|
2683
|
-
* **Pinpoint Visitors On A Map
|
|
2683
|
+
* **Pinpoint Visitors On A Map**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#pinpoint-visitors-on-a-map)
|
|
2684
2684
|
* `CrispClient.website.pinpointVisitorsOnMap(websiteID, centerLongitude, centerLatitude, centerRadius)`
|
|
2685
2685
|
* <details>
|
|
2686
2686
|
<summary>See Example</summary>
|
|
@@ -2692,7 +2692,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2692
2692
|
```
|
|
2693
2693
|
</details>
|
|
2694
2694
|
|
|
2695
|
-
* **Get Session Identifier From Token
|
|
2695
|
+
* **Get Session Identifier From Token**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-session-identifier-from-token)
|
|
2696
2696
|
* `CrispClient.website.getSessionIdentifierFromToken(websiteID, tokenID)`
|
|
2697
2697
|
* <details>
|
|
2698
2698
|
<summary>See Example</summary>
|
|
@@ -2705,9 +2705,9 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2705
2705
|
```
|
|
2706
2706
|
</details>
|
|
2707
2707
|
|
|
2708
|
-
* **Count Blocked Visitors
|
|
2708
|
+
* **Count Blocked Visitors**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#count-blocked-visitors/)
|
|
2709
2709
|
* `CrispClient.website.countBlockedVisitors(websiteID)`
|
|
2710
|
-
* **Count Blocked Visitors In Rule
|
|
2710
|
+
* **Count Blocked Visitors In Rule**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#count-blocked-visitors-in-rule)
|
|
2711
2711
|
* `CrispClient.website.countBlockedVisitorsInRule(websiteID, rule)`
|
|
2712
2712
|
* <details>
|
|
2713
2713
|
<summary>See Example</summary>
|
|
@@ -2719,7 +2719,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2719
2719
|
```
|
|
2720
2720
|
</details>
|
|
2721
2721
|
|
|
2722
|
-
* **Clear Blocked Visitors In Rule
|
|
2722
|
+
* **Clear Blocked Visitors In Rule**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#clear-blocked-visitors-in-rule)
|
|
2723
2723
|
* `CrispClient.website.clearBlockedVisitorsInRule(websiteID, rule)`
|
|
2724
2724
|
* <details>
|
|
2725
2725
|
<summary>See Example</summary>
|
|
@@ -2733,7 +2733,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2733
2733
|
|
|
2734
2734
|
|
|
2735
2735
|
* #### **Website Availability**
|
|
2736
|
-
* **Get Website Availability Status
|
|
2736
|
+
* **Get Website Availability Status**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-website-availability-status)
|
|
2737
2737
|
* `CrispClient.website.getWebsiteAvailabilityStatus(websiteID)`
|
|
2738
2738
|
* <details>
|
|
2739
2739
|
<summary>See Example</summary>
|
|
@@ -2745,7 +2745,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2745
2745
|
```
|
|
2746
2746
|
</details>
|
|
2747
2747
|
|
|
2748
|
-
* **List Website Operator Availabilities
|
|
2748
|
+
* **List Website Operator Availabilities**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-website-operator-availabilities)
|
|
2749
2749
|
* `CrispClient.website.listWebsiteOperatorAvailabilities(websiteID)`
|
|
2750
2750
|
* <details>
|
|
2751
2751
|
<summary>See Example</summary>
|
|
@@ -2759,7 +2759,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2759
2759
|
|
|
2760
2760
|
|
|
2761
2761
|
* #### **Website Analytics**
|
|
2762
|
-
* **Generate Analytics
|
|
2762
|
+
* **Generate Analytics**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#generate-analytics)
|
|
2763
2763
|
* `CrispClient.website.generateAnalytics(websiteID, query)`
|
|
2764
2764
|
* <details>
|
|
2765
2765
|
<summary>See Example</summary>
|
|
@@ -2773,7 +2773,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2773
2773
|
|
|
2774
2774
|
|
|
2775
2775
|
* #### **Website Batch**
|
|
2776
|
-
* **Batch Resolve Conversations
|
|
2776
|
+
* **Batch Resolve Conversations**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#batch-resolve-items)
|
|
2777
2777
|
* `CrispClient.website.batchResolveConversations(websiteID, operation)`
|
|
2778
2778
|
* <details>
|
|
2779
2779
|
<summary>See Example</summary>
|
|
@@ -2794,7 +2794,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2794
2794
|
```
|
|
2795
2795
|
</details>
|
|
2796
2796
|
|
|
2797
|
-
* **Batch Read Conversations
|
|
2797
|
+
* **Batch Read Conversations**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#batch-read-items)
|
|
2798
2798
|
* `CrispClient.website.batchReadConversations(websiteID, operation)`
|
|
2799
2799
|
* <details>
|
|
2800
2800
|
<summary>See Example</summary>
|
|
@@ -2815,7 +2815,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2815
2815
|
```
|
|
2816
2816
|
</details>
|
|
2817
2817
|
|
|
2818
|
-
* **Batch Remove Conversations
|
|
2818
|
+
* **Batch Remove Conversations**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#batch-remove-items)
|
|
2819
2819
|
* `CrispClient.website.batchRemoveConversations(websiteID, operation)`
|
|
2820
2820
|
* <details>
|
|
2821
2821
|
<summary>See Example</summary>
|
|
@@ -2836,7 +2836,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2836
2836
|
```
|
|
2837
2837
|
</details>
|
|
2838
2838
|
|
|
2839
|
-
* **Batch Remove People
|
|
2839
|
+
* **Batch Remove People**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#batch-remove-items)
|
|
2840
2840
|
* `CrispClient.website.batchRemovePeople(websiteID, people)`
|
|
2841
2841
|
* <details>
|
|
2842
2842
|
<summary>See Example</summary>
|
|
@@ -2855,7 +2855,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2855
2855
|
|
|
2856
2856
|
|
|
2857
2857
|
* #### **Website Inbox**
|
|
2858
|
-
* **List Inboxes
|
|
2858
|
+
* **List Inboxes**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-website-inboxes)
|
|
2859
2859
|
* `CrispClient.website.listInboxes(websiteID, pageNumber)`
|
|
2860
2860
|
* <details>
|
|
2861
2861
|
<summary>See Example</summary>
|
|
@@ -2868,7 +2868,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2868
2868
|
```
|
|
2869
2869
|
</details>
|
|
2870
2870
|
|
|
2871
|
-
* **Batch Order Inboxes
|
|
2871
|
+
* **Batch Order Inboxes**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#batch-order-website-inboxes)
|
|
2872
2872
|
* `CrispClient.website.batchOrderInboxes(websiteID, orders)`
|
|
2873
2873
|
* <details>
|
|
2874
2874
|
<summary>See Example</summary>
|
|
@@ -2892,7 +2892,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2892
2892
|
```
|
|
2893
2893
|
</details>
|
|
2894
2894
|
|
|
2895
|
-
* **Create A New Inbox
|
|
2895
|
+
* **Create A New Inbox**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#create-a-new-website-inbox)
|
|
2896
2896
|
* `CrispClient.website.createNewInbox(websiteID, inbox)`
|
|
2897
2897
|
* <details>
|
|
2898
2898
|
<summary>See Example</summary>
|
|
@@ -2929,7 +2929,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2929
2929
|
```
|
|
2930
2930
|
</details>
|
|
2931
2931
|
|
|
2932
|
-
* **Check If Inbox Exists
|
|
2932
|
+
* **Check If Inbox Exists**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#check-if-website-inbox-exists)
|
|
2933
2933
|
* `CrispClient.website.checkInboxExists(websiteID, inboxID)`
|
|
2934
2934
|
* <details>
|
|
2935
2935
|
<summary>See Example</summary>
|
|
@@ -2942,7 +2942,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2942
2942
|
```
|
|
2943
2943
|
</details>
|
|
2944
2944
|
|
|
2945
|
-
* **Get Inbox
|
|
2945
|
+
* **Get Inbox**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-website-inbox)
|
|
2946
2946
|
* `CrispClient.website.getInbox(websiteID, inboxID)`
|
|
2947
2947
|
* <details>
|
|
2948
2948
|
<summary>See Example</summary>
|
|
@@ -2955,7 +2955,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2955
2955
|
```
|
|
2956
2956
|
</details>
|
|
2957
2957
|
|
|
2958
|
-
* **Save Inbox
|
|
2958
|
+
* **Save Inbox**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#save-website-inbox)
|
|
2959
2959
|
* `CrispClient.website.saveInbox(websiteID, inboxID, inbox)`
|
|
2960
2960
|
* <details>
|
|
2961
2961
|
<summary>See Example</summary>
|
|
@@ -2993,7 +2993,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
2993
2993
|
```
|
|
2994
2994
|
</details>
|
|
2995
2995
|
|
|
2996
|
-
* **Delete Inbox
|
|
2996
|
+
* **Delete Inbox**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#delete-website-inbox)
|
|
2997
2997
|
* `CrispClient.website.deleteInbox(websiteID, inboxID)`
|
|
2998
2998
|
* <details>
|
|
2999
2999
|
<summary>See Example</summary>
|
|
@@ -3008,7 +3008,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3008
3008
|
|
|
3009
3009
|
|
|
3010
3010
|
* #### **Website Verify**
|
|
3011
|
-
* **Get Verify Settings
|
|
3011
|
+
* **Get Verify Settings**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-verify-settings)
|
|
3012
3012
|
* `CrispClient.website.getVerifySettings(websiteID)`
|
|
3013
3013
|
* <details>
|
|
3014
3014
|
<summary>See Example</summary>
|
|
@@ -3020,7 +3020,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3020
3020
|
```
|
|
3021
3021
|
</details>
|
|
3022
3022
|
|
|
3023
|
-
* **Update Verify Settings
|
|
3023
|
+
* **Update Verify Settings**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#update-verify-settings)
|
|
3024
3024
|
* `CrispClient.website.updateVerifySettings(websiteID, settings)`
|
|
3025
3025
|
* <details>
|
|
3026
3026
|
<summary>See Example</summary>
|
|
@@ -3036,7 +3036,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3036
3036
|
```
|
|
3037
3037
|
</details>
|
|
3038
3038
|
|
|
3039
|
-
* **Get Verify Key
|
|
3039
|
+
* **Get Verify Key**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-verify-key)
|
|
3040
3040
|
* `CrispClient.website.getVerifyKey(websiteID)`
|
|
3041
3041
|
* <details>
|
|
3042
3042
|
<summary>See Example</summary>
|
|
@@ -3048,7 +3048,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3048
3048
|
```
|
|
3049
3049
|
</details>
|
|
3050
3050
|
|
|
3051
|
-
* **Roll Verify Key
|
|
3051
|
+
* **Roll Verify Key**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#roll-verify-key)
|
|
3052
3052
|
* `CrispClient.website.rollVerifyKey(websiteID)`
|
|
3053
3053
|
* <details>
|
|
3054
3054
|
<summary>See Example</summary>
|
|
@@ -3062,7 +3062,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3062
3062
|
|
|
3063
3063
|
|
|
3064
3064
|
* #### **Website Campaigns**
|
|
3065
|
-
* **List Campaigns
|
|
3065
|
+
* **List Campaigns**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-campaigns)
|
|
3066
3066
|
* `CrispClient.website.listCampaigns(websiteID, pageNumber)`
|
|
3067
3067
|
* <details>
|
|
3068
3068
|
<summary>See Example</summary>
|
|
@@ -3075,7 +3075,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3075
3075
|
```
|
|
3076
3076
|
</details>
|
|
3077
3077
|
|
|
3078
|
-
* **List Campaign Tags
|
|
3078
|
+
* **List Campaign Tags**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-campaign-tags)
|
|
3079
3079
|
* `CrispClient.website.listCampaignTags(websiteID)`
|
|
3080
3080
|
* <details>
|
|
3081
3081
|
<summary>See Example</summary>
|
|
@@ -3087,7 +3087,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3087
3087
|
```
|
|
3088
3088
|
</details>
|
|
3089
3089
|
|
|
3090
|
-
* **List Campaign Templates
|
|
3090
|
+
* **List Campaign Templates**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-campaign-templates)
|
|
3091
3091
|
* `CrispClient.website.listCampaignTemplates(websiteID, pageNumber)`
|
|
3092
3092
|
* <details>
|
|
3093
3093
|
<summary>See Example</summary>
|
|
@@ -3100,7 +3100,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3100
3100
|
```
|
|
3101
3101
|
</details>
|
|
3102
3102
|
|
|
3103
|
-
* **Create A New Campaign Template
|
|
3103
|
+
* **Create A New Campaign Template**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#create-a-new-campaign-template)
|
|
3104
3104
|
* `CrispClient.website.createNewCampaignTemplate(websiteID, templateFormat, templateName)`
|
|
3105
3105
|
* <details>
|
|
3106
3106
|
<summary>See Example</summary>
|
|
@@ -3117,7 +3117,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3117
3117
|
```
|
|
3118
3118
|
</details>
|
|
3119
3119
|
|
|
3120
|
-
* **Check If Campaign Template Exists
|
|
3120
|
+
* **Check If Campaign Template Exists**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#check-if-campaign-template-exists)
|
|
3121
3121
|
* `CrispClient.website.checkCampaignTemplateExists(websiteID, templateID)`
|
|
3122
3122
|
* <details>
|
|
3123
3123
|
<summary>See Example</summary>
|
|
@@ -3130,7 +3130,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3130
3130
|
```
|
|
3131
3131
|
</details>
|
|
3132
3132
|
|
|
3133
|
-
* **Get A Campaign Template
|
|
3133
|
+
* **Get A Campaign Template**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-a-campaign-template)
|
|
3134
3134
|
* `CrispClient.website.getCampaignTemplate(websiteID, templateID)`
|
|
3135
3135
|
* <details>
|
|
3136
3136
|
<summary>See Example</summary>
|
|
@@ -3143,7 +3143,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3143
3143
|
```
|
|
3144
3144
|
</details>
|
|
3145
3145
|
|
|
3146
|
-
* **Save A Campaign Template
|
|
3146
|
+
* **Save A Campaign Template**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#save-a-campaign-template)
|
|
3147
3147
|
* `CrispClient.website.saveCampaignTemplate(websiteID, templateID, template)`
|
|
3148
3148
|
* <details>
|
|
3149
3149
|
<summary>See Example</summary>
|
|
@@ -3162,7 +3162,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3162
3162
|
```
|
|
3163
3163
|
</details>
|
|
3164
3164
|
|
|
3165
|
-
* **Update A Campaign Template
|
|
3165
|
+
* **Update A Campaign Template**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#update-a-campaign-template)
|
|
3166
3166
|
* `CrispClient.website.updateCampaignTemplate(websiteID, templateID, template)`
|
|
3167
3167
|
* <details>
|
|
3168
3168
|
<summary>See Example</summary>
|
|
@@ -3177,7 +3177,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3177
3177
|
```
|
|
3178
3178
|
</details>
|
|
3179
3179
|
|
|
3180
|
-
* **Remove A Campaign Template
|
|
3180
|
+
* **Remove A Campaign Template**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#remove-a-campaign-template)
|
|
3181
3181
|
* `CrispClient.website.removeCampaignTemplate(websiteID, templateID)`
|
|
3182
3182
|
* <details>
|
|
3183
3183
|
<summary>See Example</summary>
|
|
@@ -3192,7 +3192,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3192
3192
|
|
|
3193
3193
|
|
|
3194
3194
|
* #### **Website Campaign**
|
|
3195
|
-
* **Create A New Campaign
|
|
3195
|
+
* **Create A New Campaign**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#create-a-new-campaign)
|
|
3196
3196
|
* `CrispClient.website.createNewCampaign(websiteID, campaignType, campaignName)`
|
|
3197
3197
|
* <details>
|
|
3198
3198
|
<summary>See Example</summary>
|
|
@@ -3209,7 +3209,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3209
3209
|
```
|
|
3210
3210
|
</details>
|
|
3211
3211
|
|
|
3212
|
-
* **Check If Campaign Exists
|
|
3212
|
+
* **Check If Campaign Exists**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#check-if-campaign-exists)
|
|
3213
3213
|
* `CrispClient.website.checkCampaignExists(websiteID, campaignID)`
|
|
3214
3214
|
* <details>
|
|
3215
3215
|
<summary>See Example</summary>
|
|
@@ -3222,7 +3222,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3222
3222
|
```
|
|
3223
3223
|
</details>
|
|
3224
3224
|
|
|
3225
|
-
* **Get A Campaign
|
|
3225
|
+
* **Get A Campaign**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-a-campaign)
|
|
3226
3226
|
* `CrispClient.website.getCampaign(websiteID, campaignID)`
|
|
3227
3227
|
* <details>
|
|
3228
3228
|
<summary>See Example</summary>
|
|
@@ -3235,7 +3235,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3235
3235
|
```
|
|
3236
3236
|
</details>
|
|
3237
3237
|
|
|
3238
|
-
* **Save A Campaign
|
|
3238
|
+
* **Save A Campaign**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#save-a-campaign)
|
|
3239
3239
|
* `CrispClient.website.saveCampaign(websiteID, campaignID, campaign)`
|
|
3240
3240
|
* <details>
|
|
3241
3241
|
<summary>See Example</summary>
|
|
@@ -3268,7 +3268,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3268
3268
|
```
|
|
3269
3269
|
</details>
|
|
3270
3270
|
|
|
3271
|
-
* **Update A Campaign
|
|
3271
|
+
* **Update A Campaign**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#update-a-campaign)
|
|
3272
3272
|
* `CrispClient.website.updateCampaign(websiteID, campaignID, campaign)`
|
|
3273
3273
|
* <details>
|
|
3274
3274
|
<summary>See Example</summary>
|
|
@@ -3285,7 +3285,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3285
3285
|
```
|
|
3286
3286
|
</details>
|
|
3287
3287
|
|
|
3288
|
-
* **Remove A Campaign
|
|
3288
|
+
* **Remove A Campaign**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#remove-a-campaign)
|
|
3289
3289
|
* `CrispClient.website.removeCampaign(websiteID, campaignID)`
|
|
3290
3290
|
* <details>
|
|
3291
3291
|
<summary>See Example</summary>
|
|
@@ -3298,7 +3298,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3298
3298
|
```
|
|
3299
3299
|
</details>
|
|
3300
3300
|
|
|
3301
|
-
* **Dispatch A Campaign
|
|
3301
|
+
* **Dispatch A Campaign**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#dispatch-a-campaign)
|
|
3302
3302
|
* `CrispClient.website.dispatchCampaign(websiteID, campaignID)`
|
|
3303
3303
|
* <details>
|
|
3304
3304
|
<summary>See Example</summary>
|
|
@@ -3311,7 +3311,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3311
3311
|
```
|
|
3312
3312
|
</details>
|
|
3313
3313
|
|
|
3314
|
-
* **Resume A Campaign
|
|
3314
|
+
* **Resume A Campaign**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#resume-a-campaign)
|
|
3315
3315
|
* `CrispClient.website.resumeCampaign(websiteID, campaignID)`
|
|
3316
3316
|
* <details>
|
|
3317
3317
|
<summary>See Example</summary>
|
|
@@ -3324,7 +3324,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3324
3324
|
```
|
|
3325
3325
|
</details>
|
|
3326
3326
|
|
|
3327
|
-
* **Pause A Campaign
|
|
3327
|
+
* **Pause A Campaign**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#pause-a-campaign)
|
|
3328
3328
|
* `CrispClient.website.pauseCampaign(websiteID, campaignID)`
|
|
3329
3329
|
* <details>
|
|
3330
3330
|
<summary>See Example</summary>
|
|
@@ -3337,7 +3337,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3337
3337
|
```
|
|
3338
3338
|
</details>
|
|
3339
3339
|
|
|
3340
|
-
* **Test A Campaign
|
|
3340
|
+
* **Test A Campaign**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#test-a-campaign)
|
|
3341
3341
|
* `CrispClient.website.testCampaign(websiteID, campaignID)`
|
|
3342
3342
|
* <details>
|
|
3343
3343
|
<summary>See Example</summary>
|
|
@@ -3350,7 +3350,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3350
3350
|
```
|
|
3351
3351
|
</details>
|
|
3352
3352
|
|
|
3353
|
-
* **List Campaign Recipients
|
|
3353
|
+
* **List Campaign Recipients**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-campaign-recipients)
|
|
3354
3354
|
* `CrispClient.website.listCampaignRecipients(websiteID, campaignID, pageNumber)`
|
|
3355
3355
|
* <details>
|
|
3356
3356
|
<summary>See Example</summary>
|
|
@@ -3364,7 +3364,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3364
3364
|
```
|
|
3365
3365
|
</details>
|
|
3366
3366
|
|
|
3367
|
-
* **List Campaign Statistics
|
|
3367
|
+
* **List Campaign Statistics**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-campaign-statistics)
|
|
3368
3368
|
* `CrispClient.website.listCampaignStatistics(websiteID, campaignID, action, pageNumber)`
|
|
3369
3369
|
* <details>
|
|
3370
3370
|
<summary>See Example</summary>
|
|
@@ -3382,7 +3382,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3382
3382
|
### Plugin
|
|
3383
3383
|
|
|
3384
3384
|
* #### **Plugin Connect**
|
|
3385
|
-
* **⭐ Get Connect Account
|
|
3385
|
+
* **⭐ Get Connect Account**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-connect-account)
|
|
3386
3386
|
* `CrispClient.plugin.getConnectAccount()`
|
|
3387
3387
|
* <details>
|
|
3388
3388
|
<summary>See Example</summary>
|
|
@@ -3392,7 +3392,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3392
3392
|
```
|
|
3393
3393
|
</details>
|
|
3394
3394
|
|
|
3395
|
-
* **⭐ Check Connect Session Validity
|
|
3395
|
+
* **⭐ Check Connect Session Validity**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#check-connect-session-validity)
|
|
3396
3396
|
* `CrispClient.plugin.checkConnectSessionValidity()`
|
|
3397
3397
|
* <details>
|
|
3398
3398
|
<summary>See Example</summary>
|
|
@@ -3402,7 +3402,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3402
3402
|
```
|
|
3403
3403
|
</details>
|
|
3404
3404
|
|
|
3405
|
-
* **⭐ List All Connect Websites
|
|
3405
|
+
* **⭐ List All Connect Websites**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-all-connect-websites)
|
|
3406
3406
|
* `CrispClient.plugin.listAllConnectWebsites(pageNumber, filterConfigured, includePlan)`
|
|
3407
3407
|
* <details>
|
|
3408
3408
|
<summary>See Example</summary>
|
|
@@ -3414,7 +3414,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3414
3414
|
```
|
|
3415
3415
|
</details>
|
|
3416
3416
|
|
|
3417
|
-
* **⭐ List Connect Websites Since
|
|
3417
|
+
* **⭐ List Connect Websites Since**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-connect-websites-since)
|
|
3418
3418
|
* `CrispClient.plugin.listConnectWebsitesSince(dateSince, filterConfigured, includePlan)`
|
|
3419
3419
|
* <details>
|
|
3420
3420
|
<summary>See Example</summary>
|
|
@@ -3426,7 +3426,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3426
3426
|
```
|
|
3427
3427
|
</details>
|
|
3428
3428
|
|
|
3429
|
-
* **⭐ Get Connect Endpoints
|
|
3429
|
+
* **⭐ Get Connect Endpoints**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-connect-endpoints)
|
|
3430
3430
|
* `CrispClient.plugin.getConnectEndpoints()`
|
|
3431
3431
|
* <details>
|
|
3432
3432
|
<summary>See Example</summary>
|
|
@@ -3438,7 +3438,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3438
3438
|
|
|
3439
3439
|
|
|
3440
3440
|
* #### **Plugin Subscription**
|
|
3441
|
-
* **List All Active Subscriptions
|
|
3441
|
+
* **List All Active Subscriptions**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-all-active-subscriptions)
|
|
3442
3442
|
* `CrispClient.plugin.listAllActiveSubscriptions()`
|
|
3443
3443
|
* <details>
|
|
3444
3444
|
<summary>See Example</summary>
|
|
@@ -3448,7 +3448,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3448
3448
|
```
|
|
3449
3449
|
</details>
|
|
3450
3450
|
|
|
3451
|
-
* **List Subscriptions For A Website
|
|
3451
|
+
* **List Subscriptions For A Website**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-subscriptions-for-a-website)
|
|
3452
3452
|
* `CrispClient.plugin.listSubscriptionsForWebsite(websiteID)`
|
|
3453
3453
|
* <details>
|
|
3454
3454
|
<summary>See Example</summary>
|
|
@@ -3460,7 +3460,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3460
3460
|
```
|
|
3461
3461
|
</details>
|
|
3462
3462
|
|
|
3463
|
-
* **Get Subscription Details
|
|
3463
|
+
* **Get Subscription Details**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-subscription-details)
|
|
3464
3464
|
* `CrispClient.plugin.getSubscriptionDetails(websiteID, pluginID)`
|
|
3465
3465
|
* <details>
|
|
3466
3466
|
<summary>See Example</summary>
|
|
@@ -3473,7 +3473,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3473
3473
|
```
|
|
3474
3474
|
</details>
|
|
3475
3475
|
|
|
3476
|
-
* **Subscribe Website To Plugin
|
|
3476
|
+
* **Subscribe Website To Plugin**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#subscribe-website-to-plugin)
|
|
3477
3477
|
* `CrispClient.plugin.subscribeWebsiteToPlugin(websiteID, pluginID)`
|
|
3478
3478
|
* <details>
|
|
3479
3479
|
<summary>See Example</summary>
|
|
@@ -3488,7 +3488,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3488
3488
|
```
|
|
3489
3489
|
</details>
|
|
3490
3490
|
|
|
3491
|
-
* **Unsubscribe Plugin From Website
|
|
3491
|
+
* **Unsubscribe Plugin From Website**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#unsubscribe-plugin-from-website)
|
|
3492
3492
|
* `CrispClient.plugin.unsubscribePluginFromWebsite(websiteID, pluginID)`
|
|
3493
3493
|
* <details>
|
|
3494
3494
|
<summary>See Example</summary>
|
|
@@ -3501,7 +3501,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3501
3501
|
```
|
|
3502
3502
|
</details>
|
|
3503
3503
|
|
|
3504
|
-
* **Get Subscription Settings
|
|
3504
|
+
* **Get Subscription Settings**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-subscription-settings)
|
|
3505
3505
|
* `CrispClient.plugin.getSubscriptionSettings(websiteID, pluginID)`
|
|
3506
3506
|
* <details>
|
|
3507
3507
|
<summary>See Example</summary>
|
|
@@ -3514,7 +3514,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3514
3514
|
```
|
|
3515
3515
|
</details>
|
|
3516
3516
|
|
|
3517
|
-
* **Save Subscription Settings
|
|
3517
|
+
* **Save Subscription Settings**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#save-subscription-settings)
|
|
3518
3518
|
* `CrispClient.plugin.saveSubscriptionSettings(websiteID, pluginID, settings)`
|
|
3519
3519
|
* <details>
|
|
3520
3520
|
<summary>See Example</summary>
|
|
@@ -3533,7 +3533,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3533
3533
|
```
|
|
3534
3534
|
</details>
|
|
3535
3535
|
|
|
3536
|
-
* **Update Subscription Settings
|
|
3536
|
+
* **Update Subscription Settings**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#update-subscription-settings)
|
|
3537
3537
|
* `CrispClient.plugin.updateSubscriptionSettings(websiteID, pluginID, settings)`
|
|
3538
3538
|
* <details>
|
|
3539
3539
|
<summary>See Example</summary>
|
|
@@ -3552,7 +3552,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3552
3552
|
```
|
|
3553
3553
|
</details>
|
|
3554
3554
|
|
|
3555
|
-
* **Get Plugin Usage Bills
|
|
3555
|
+
* **Get Plugin Usage Bills**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-plugin-usage-bills)
|
|
3556
3556
|
* `CrispClient.plugin.getPluginUsageBills(websiteID, pluginID)`
|
|
3557
3557
|
* <details>
|
|
3558
3558
|
<summary>See Example</summary>
|
|
@@ -3565,7 +3565,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3565
3565
|
```
|
|
3566
3566
|
</details>
|
|
3567
3567
|
|
|
3568
|
-
* **Report Plugin Usage To Bill
|
|
3568
|
+
* **Report Plugin Usage To Bill**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#report-plugin-usage-to-bill)
|
|
3569
3569
|
* `CrispClient.plugin.reportPluginUsageToBill(websiteID, pluginID, usage)`
|
|
3570
3570
|
* <details>
|
|
3571
3571
|
<summary>See Example</summary>
|
|
@@ -3584,7 +3584,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3584
3584
|
```
|
|
3585
3585
|
</details>
|
|
3586
3586
|
|
|
3587
|
-
* **Get Plugin Attest Provenance
|
|
3587
|
+
* **Get Plugin Attest Provenance**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-plugin-attest-provenance)
|
|
3588
3588
|
* `CrispClient.plugin.getPluginAttestProvenance(websiteID, pluginID)`
|
|
3589
3589
|
* <details>
|
|
3590
3590
|
<summary>See Example</summary>
|
|
@@ -3597,7 +3597,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3597
3597
|
```
|
|
3598
3598
|
</details>
|
|
3599
3599
|
|
|
3600
|
-
* **Forward Plugin Payload To Channel
|
|
3600
|
+
* **Forward Plugin Payload To Channel**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#forward-plugin-payload-to-channel)
|
|
3601
3601
|
* `CrispClient.plugin.forwardPluginPayloadToChannel(websiteID, pluginID, payload)`
|
|
3602
3602
|
* <details>
|
|
3603
3603
|
<summary>See Example</summary>
|
|
@@ -3617,7 +3617,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3617
3617
|
```
|
|
3618
3618
|
</details>
|
|
3619
3619
|
|
|
3620
|
-
* **Dispatch Plugin Event
|
|
3620
|
+
* **Dispatch Plugin Event**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#dispatch-plugin-event)
|
|
3621
3621
|
* `CrispClient.plugin.dispatchPluginEvent(websiteID, pluginID, payload)`
|
|
3622
3622
|
* <details>
|
|
3623
3623
|
<summary>See Example</summary>
|
|
@@ -3642,7 +3642,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3642
3642
|
### Plan
|
|
3643
3643
|
|
|
3644
3644
|
* #### **Plan Subscription**
|
|
3645
|
-
* **List All Active Plan Subscriptions
|
|
3645
|
+
* **List All Active Plan Subscriptions**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-all-active-plan-subscriptions)
|
|
3646
3646
|
* `CrispClient.plan.listAllActiveSubscriptions()`
|
|
3647
3647
|
* <details>
|
|
3648
3648
|
<summary>See Example</summary>
|
|
@@ -3652,7 +3652,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3652
3652
|
```
|
|
3653
3653
|
</details>
|
|
3654
3654
|
|
|
3655
|
-
* **Get Plan Subscription For A Website
|
|
3655
|
+
* **Get Plan Subscription For A Website**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#get-plan-subscription-for-a-website)
|
|
3656
3656
|
* `CrispClient.plan.getPlanSubscriptionForWebsite(websiteID)`
|
|
3657
3657
|
* <details>
|
|
3658
3658
|
<summary>See Example</summary>
|
|
@@ -3664,7 +3664,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3664
3664
|
```
|
|
3665
3665
|
</details>
|
|
3666
3666
|
|
|
3667
|
-
* **Subscribe Website To Plan
|
|
3667
|
+
* **Subscribe Website To Plan**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#subscribe-website-to-plan)
|
|
3668
3668
|
* `CrispClient.plan.subscribeWebsiteToPlan(websiteID, planID)`
|
|
3669
3669
|
* <details>
|
|
3670
3670
|
<summary>See Example</summary>
|
|
@@ -3677,7 +3677,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3677
3677
|
```
|
|
3678
3678
|
</details>
|
|
3679
3679
|
|
|
3680
|
-
* **Unsubscribe Plan From Website
|
|
3680
|
+
* **Unsubscribe Plan From Website**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#unsubscribe-plan-from-website)
|
|
3681
3681
|
* `CrispClient.plan.unsubscribePlanFromWebsite(websiteID)`
|
|
3682
3682
|
* <details>
|
|
3683
3683
|
<summary>See Example</summary>
|
|
@@ -3689,7 +3689,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3689
3689
|
```
|
|
3690
3690
|
</details>
|
|
3691
3691
|
|
|
3692
|
-
* **Change Bill Period For Website Plan Subscription
|
|
3692
|
+
* **Change Bill Period For Website Plan Subscription**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#change-bill-period-for-website-plan-subscription)
|
|
3693
3693
|
* `CrispClient.plan.changeBillPeriodForWebsitePlanSubscription(websiteID, period)`
|
|
3694
3694
|
* <details>
|
|
3695
3695
|
<summary>See Example</summary>
|
|
@@ -3702,7 +3702,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3702
3702
|
```
|
|
3703
3703
|
</details>
|
|
3704
3704
|
|
|
3705
|
-
* **Check Coupon Availability For Website Plan Subscription
|
|
3705
|
+
* **Check Coupon Availability For Website Plan Subscription**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#check-coupon-availability-for-website-plan-subscription)
|
|
3706
3706
|
* `CrispClient.plan.checkCouponAvailabilityForWebsitePlanSubscription(websiteID, code)`
|
|
3707
3707
|
* <details>
|
|
3708
3708
|
<summary>See Example</summary>
|
|
@@ -3715,7 +3715,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3715
3715
|
```
|
|
3716
3716
|
</details>
|
|
3717
3717
|
|
|
3718
|
-
* **Redeem Coupon For Website Plan Subscription
|
|
3718
|
+
* **Redeem Coupon For Website Plan Subscription**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#redeem-coupon-for-website-plan-subscription)
|
|
3719
3719
|
* `CrispClient.plan.redeemCouponForWebsitePlanSubscription(websiteID, code)`
|
|
3720
3720
|
* <details>
|
|
3721
3721
|
<summary>See Example</summary>
|
|
@@ -3732,7 +3732,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3732
3732
|
### Media
|
|
3733
3733
|
|
|
3734
3734
|
* #### **Media Animation**
|
|
3735
|
-
* **List Animation Medias
|
|
3735
|
+
* **List Animation Medias**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#list-animation-medias)
|
|
3736
3736
|
* `CrispClient.media.listAnimationMedias(pageNumber, listID, searchQuery)`
|
|
3737
3737
|
* <details>
|
|
3738
3738
|
<summary>See Example</summary>
|
|
@@ -3749,7 +3749,7 @@ _👉 Notice: The `peopleID` argument can be an email or the `peopleID`._
|
|
|
3749
3749
|
### Bucket
|
|
3750
3750
|
|
|
3751
3751
|
* #### **Bucket URL**
|
|
3752
|
-
* **Generate Bucket URL
|
|
3752
|
+
* **Generate Bucket URL**: [Reference](https://docs.crisp.chat/references/rest-api/v1/#bucket-url)
|
|
3753
3753
|
* `CrispClient.bucket.generateBucketURL(data)`
|
|
3754
3754
|
* <details>
|
|
3755
3755
|
<summary>See Example</summary>
|
|
@@ -3804,197 +3804,197 @@ You will need to adjust your code so that:
|
|
|
3804
3804
|
Available events are listed below:
|
|
3805
3805
|
|
|
3806
3806
|
* #### **Session Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#session-events)
|
|
3807
|
-
* **Session Update Availability
|
|
3807
|
+
* **Session Update Availability**:
|
|
3808
3808
|
* `session:update_availability`
|
|
3809
|
-
* **Session Update Verify
|
|
3809
|
+
* **Session Update Verify**:
|
|
3810
3810
|
* `session:update_verify`
|
|
3811
|
-
* **Session Request Initiated
|
|
3811
|
+
* **Session Request Initiated**:
|
|
3812
3812
|
* `session:request:initiated`
|
|
3813
|
-
* **Session Set Email
|
|
3813
|
+
* **Session Set Email**:
|
|
3814
3814
|
* `session:set_email`
|
|
3815
|
-
* **Session Set Phone
|
|
3815
|
+
* **Session Set Phone**:
|
|
3816
3816
|
* `session:set_phone`
|
|
3817
|
-
* **Session Set Address
|
|
3817
|
+
* **Session Set Address**:
|
|
3818
3818
|
* `session:set_address`
|
|
3819
|
-
* **Session Set Subject
|
|
3819
|
+
* **Session Set Subject**:
|
|
3820
3820
|
* `session:set_subject`
|
|
3821
|
-
* **Session Set Avatar
|
|
3821
|
+
* **Session Set Avatar**:
|
|
3822
3822
|
* `session:set_avatar`
|
|
3823
|
-
* **Session Set Nickname
|
|
3823
|
+
* **Session Set Nickname**:
|
|
3824
3824
|
* `session:set_nickname`
|
|
3825
|
-
* **Session Set Origin
|
|
3825
|
+
* **Session Set Origin**:
|
|
3826
3826
|
* `session:set_origin`
|
|
3827
|
-
* **Session Set Data
|
|
3827
|
+
* **Session Set Data**:
|
|
3828
3828
|
* `session:set_data`
|
|
3829
|
-
* **Session Sync Pages
|
|
3829
|
+
* **Session Sync Pages**:
|
|
3830
3830
|
* `session:sync:pages`
|
|
3831
|
-
* **Session Sync Events
|
|
3831
|
+
* **Session Sync Events**:
|
|
3832
3832
|
* `session:sync:events`
|
|
3833
|
-
* **Session Sync Capabilities
|
|
3833
|
+
* **Session Sync Capabilities**:
|
|
3834
3834
|
* `session:sync:capabilities`
|
|
3835
|
-
* **Session Sync Geolocation
|
|
3835
|
+
* **Session Sync Geolocation**:
|
|
3836
3836
|
* `session:sync:geolocation`
|
|
3837
|
-
* **Session Sync System
|
|
3837
|
+
* **Session Sync System**:
|
|
3838
3838
|
* `session:sync:system`
|
|
3839
|
-
* **Session Sync Network
|
|
3839
|
+
* **Session Sync Network**:
|
|
3840
3840
|
* `session:sync:network`
|
|
3841
|
-
* **Session Sync Timezone
|
|
3841
|
+
* **Session Sync Timezone**:
|
|
3842
3842
|
* `session:sync:timezone`
|
|
3843
|
-
* **Session Sync Locales
|
|
3843
|
+
* **Session Sync Locales**:
|
|
3844
3844
|
* `session:sync:locales`
|
|
3845
|
-
* **Session Sync Rating
|
|
3845
|
+
* **Session Sync Rating**:
|
|
3846
3846
|
* `session:sync:rating`
|
|
3847
|
-
* **Session Sync Topic
|
|
3847
|
+
* **Session Sync Topic**:
|
|
3848
3848
|
* `session:sync:topic`
|
|
3849
|
-
* **Session Set State
|
|
3849
|
+
* **Session Set State**:
|
|
3850
3850
|
* `session:set_state`
|
|
3851
|
-
* **Session Set Block
|
|
3851
|
+
* **Session Set Block**:
|
|
3852
3852
|
* `session:set_block`
|
|
3853
|
-
* **Session Set Segments
|
|
3853
|
+
* **Session Set Segments**:
|
|
3854
3854
|
* `session:set_segments`
|
|
3855
|
-
* **Session Set Opened
|
|
3855
|
+
* **Session Set Opened**:
|
|
3856
3856
|
* `session:set_opened`
|
|
3857
|
-
* **Session Set Closed
|
|
3857
|
+
* **Session Set Closed**:
|
|
3858
3858
|
* `session:set_closed`
|
|
3859
|
-
* **Session Set Participants
|
|
3859
|
+
* **Session Set Participants**:
|
|
3860
3860
|
* `session:set_participants`
|
|
3861
|
-
* **Session Set Mentions
|
|
3861
|
+
* **Session Set Mentions**:
|
|
3862
3862
|
* `session:set_mentions`
|
|
3863
|
-
* **Session Set Routing
|
|
3863
|
+
* **Session Set Routing**:
|
|
3864
3864
|
* `session:set_routing`
|
|
3865
|
-
* **Session Set Inbox
|
|
3865
|
+
* **Session Set Inbox**:
|
|
3866
3866
|
* `session:set_inbox`
|
|
3867
|
-
* **Session Removed
|
|
3867
|
+
* **Session Removed**:
|
|
3868
3868
|
* `session:removed`
|
|
3869
|
-
* **Session Error
|
|
3869
|
+
* **Session Error**:
|
|
3870
3870
|
* `session:error`
|
|
3871
3871
|
|
|
3872
3872
|
* #### **Message Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#message-events)
|
|
3873
|
-
* **Message Updated
|
|
3873
|
+
* **Message Updated**:
|
|
3874
3874
|
* `message:updated`
|
|
3875
|
-
* **Message Send
|
|
3875
|
+
* **Message Send**:
|
|
3876
3876
|
* `message:send`
|
|
3877
|
-
* **Message Received
|
|
3877
|
+
* **Message Received**:
|
|
3878
3878
|
* `message:received`
|
|
3879
|
-
* **Message Removed
|
|
3879
|
+
* **Message Removed**:
|
|
3880
3880
|
* `message:removed`
|
|
3881
|
-
* **Message Compose Send
|
|
3881
|
+
* **Message Compose Send**:
|
|
3882
3882
|
* `message:compose:send`
|
|
3883
|
-
* **Message Compose Receive
|
|
3883
|
+
* **Message Compose Receive**:
|
|
3884
3884
|
* `message:compose:receive`
|
|
3885
|
-
* **Message Acknowledge Read Send
|
|
3885
|
+
* **Message Acknowledge Read Send**:
|
|
3886
3886
|
* `message:acknowledge:read:send`
|
|
3887
|
-
* **Message Acknowledge Read Received
|
|
3887
|
+
* **Message Acknowledge Read Received**:
|
|
3888
3888
|
* `message:acknowledge:read:received`
|
|
3889
|
-
* **Message Acknowledge Unread Send
|
|
3889
|
+
* **Message Acknowledge Unread Send**:
|
|
3890
3890
|
* `message:acknowledge:unread:send`
|
|
3891
|
-
* **Message Acknowledge Delivered
|
|
3891
|
+
* **Message Acknowledge Delivered**:
|
|
3892
3892
|
* `message:acknowledge:delivered`
|
|
3893
|
-
* **Message Acknowledge Ignored
|
|
3893
|
+
* **Message Acknowledge Ignored**:
|
|
3894
3894
|
* `message:acknowledge:ignored`
|
|
3895
|
-
* **Message Notify Unread Send
|
|
3895
|
+
* **Message Notify Unread Send**:
|
|
3896
3896
|
* `message:notify:unread:send`
|
|
3897
|
-
* **Message Notify Unread Received
|
|
3897
|
+
* **Message Notify Unread Received**:
|
|
3898
3898
|
* `message:notify:unread:received`
|
|
3899
3899
|
|
|
3900
3900
|
* #### **Spam Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#spam-events)
|
|
3901
|
-
* **Spam Message
|
|
3901
|
+
* **Spam Message**:
|
|
3902
3902
|
* `spam:message`
|
|
3903
|
-
* **Spam Decision
|
|
3903
|
+
* **Spam Decision**:
|
|
3904
3904
|
* `spam:decision`
|
|
3905
3905
|
|
|
3906
3906
|
* #### **People Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#people-events)
|
|
3907
|
-
* **People Profile Created
|
|
3907
|
+
* **People Profile Created**:
|
|
3908
3908
|
* `people:profile:created`
|
|
3909
|
-
* **People Profile Updated
|
|
3909
|
+
* **People Profile Updated**:
|
|
3910
3910
|
* `people:profile:updated`
|
|
3911
|
-
* **People Profile Removed
|
|
3911
|
+
* **People Profile Removed**:
|
|
3912
3912
|
* `people:profile:removed`
|
|
3913
|
-
* **People Bind Session
|
|
3913
|
+
* **People Bind Session**:
|
|
3914
3914
|
* `people:bind:session`
|
|
3915
|
-
* **People Sync Profile
|
|
3915
|
+
* **People Sync Profile**:
|
|
3916
3916
|
* `people:sync:profile`
|
|
3917
|
-
* **People Import Progress
|
|
3917
|
+
* **People Import Progress**:
|
|
3918
3918
|
* `people:import:progress`
|
|
3919
|
-
* **People Import Done
|
|
3919
|
+
* **People Import Done**:
|
|
3920
3920
|
* `people:import:done`
|
|
3921
3921
|
|
|
3922
3922
|
* #### **Campaign Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#campaign-events)
|
|
3923
|
-
* **Campaign Progress
|
|
3923
|
+
* **Campaign Progress**:
|
|
3924
3924
|
* `campaign:progress`
|
|
3925
|
-
* **Campaign Dispatched
|
|
3925
|
+
* **Campaign Dispatched**:
|
|
3926
3926
|
* `campaign:dispatched`
|
|
3927
|
-
* **Campaign Running
|
|
3927
|
+
* **Campaign Running**:
|
|
3928
3928
|
* `campaign:running`
|
|
3929
3929
|
|
|
3930
3930
|
* #### **Browsing Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#browsing-events)
|
|
3931
|
-
* **Browsing Request Initiated
|
|
3931
|
+
* **Browsing Request Initiated**:
|
|
3932
3932
|
* `browsing:request:initiated`
|
|
3933
|
-
* **Browsing Request Rejected
|
|
3933
|
+
* **Browsing Request Rejected**:
|
|
3934
3934
|
* `browsing:request:rejected`
|
|
3935
3935
|
|
|
3936
3936
|
* #### **Call Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#call-events)
|
|
3937
|
-
* **Call Request Initiated
|
|
3937
|
+
* **Call Request Initiated**:
|
|
3938
3938
|
* `call:request:initiated`
|
|
3939
|
-
* **Call Request Rejected
|
|
3939
|
+
* **Call Request Rejected**:
|
|
3940
3940
|
* `call:request:rejected`
|
|
3941
3941
|
|
|
3942
3942
|
* #### **Identity Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#identity-events)
|
|
3943
|
-
* **Identity Verify Request
|
|
3943
|
+
* **Identity Verify Request**:
|
|
3944
3944
|
* `identity:verify:request`
|
|
3945
3945
|
|
|
3946
3946
|
* #### **Widget Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#widget-events)
|
|
3947
|
-
* **Widget Action Processed
|
|
3947
|
+
* **Widget Action Processed**:
|
|
3948
3948
|
* `widget:action:processed`
|
|
3949
3949
|
|
|
3950
3950
|
* #### **Status Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#status-events)
|
|
3951
|
-
* **Status Health Changed
|
|
3951
|
+
* **Status Health Changed**:
|
|
3952
3952
|
* `status:health:changed`
|
|
3953
3953
|
|
|
3954
3954
|
* #### **Website Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#website-events)
|
|
3955
|
-
* **Website Update Visitors Count
|
|
3955
|
+
* **Website Update Visitors Count**:
|
|
3956
3956
|
* `website:update_visitors_count`
|
|
3957
|
-
* **Website Update Operators Availability
|
|
3957
|
+
* **Website Update Operators Availability**:
|
|
3958
3958
|
* `website:update_operators_availability`
|
|
3959
|
-
* **Website Users Available
|
|
3959
|
+
* **Website Users Available**:
|
|
3960
3960
|
* `website:users:available`
|
|
3961
3961
|
|
|
3962
3962
|
* #### **Bucket Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#bucket-events)
|
|
3963
|
-
* **Bucket URL Upload Generated
|
|
3963
|
+
* **Bucket URL Upload Generated**:
|
|
3964
3964
|
* `bucket:url:upload:generated`
|
|
3965
|
-
* **Bucket URL Avatar Generated
|
|
3965
|
+
* **Bucket URL Avatar Generated**:
|
|
3966
3966
|
* `bucket:url:avatar:generated`
|
|
3967
|
-
* **Bucket URL Website Generated
|
|
3967
|
+
* **Bucket URL Website Generated**:
|
|
3968
3968
|
* `bucket:url:website:generated`
|
|
3969
|
-
* **Bucket URL Campaign Generated
|
|
3969
|
+
* **Bucket URL Campaign Generated**:
|
|
3970
3970
|
* `bucket:url:campaign:generated`
|
|
3971
|
-
* **Bucket URL Helpdesk Generated
|
|
3971
|
+
* **Bucket URL Helpdesk Generated**:
|
|
3972
3972
|
* `bucket:url:helpdesk:generated`
|
|
3973
|
-
* **Bucket URL Status Generated
|
|
3973
|
+
* **Bucket URL Status Generated**:
|
|
3974
3974
|
* `bucket:url:status:generated`
|
|
3975
|
-
* **Bucket URL Processing Generated
|
|
3975
|
+
* **Bucket URL Processing Generated**:
|
|
3976
3976
|
* `bucket:url:processing:generated`
|
|
3977
3977
|
|
|
3978
3978
|
* #### **Media Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#media-events)
|
|
3979
|
-
* **Media Animation Listed
|
|
3979
|
+
* **Media Animation Listed**:
|
|
3980
3980
|
* `media:animation:listed`
|
|
3981
3981
|
|
|
3982
3982
|
* #### **Email Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#email-events)
|
|
3983
|
-
* **Email Subscribe
|
|
3983
|
+
* **Email Subscribe**:
|
|
3984
3984
|
* `email:subscribe`
|
|
3985
|
-
* **Email Track View
|
|
3985
|
+
* **Email Track View**:
|
|
3986
3986
|
* `email:track:view`
|
|
3987
3987
|
|
|
3988
3988
|
* #### **Plugin Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#plugin-events)
|
|
3989
|
-
* **Plugin Channel
|
|
3989
|
+
* **Plugin Channel**:
|
|
3990
3990
|
* `plugin:channel`
|
|
3991
|
-
* **Plugin Event
|
|
3991
|
+
* **Plugin Event**:
|
|
3992
3992
|
* `plugin:event`
|
|
3993
|
-
* **Plugin Subscription Updated
|
|
3993
|
+
* **Plugin Subscription Updated**:
|
|
3994
3994
|
* `plugin:subscription:updated`
|
|
3995
|
-
* **Plugin Settings Saved
|
|
3995
|
+
* **Plugin Settings Saved**:
|
|
3996
3996
|
* `plugin:settings:saved`
|
|
3997
3997
|
|
|
3998
3998
|
* #### **Plan Events**: [Reference](https://docs.crisp.chat/references/rtm-api/v1/#plan-events)
|
|
3999
|
-
* **Plan Subscription Updated
|
|
3999
|
+
* **Plan Subscription Updated**:
|
|
4000
4000
|
* `plan:subscription:updated`
|