Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/api-endpoints/close-chat.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* **URL**

REST API URL can be found on Apps Page <br />
![image](https://user-images.githubusercontent.com/34130764/196452238-c90cf520-eacd-41f5-876c-3f03ed08508e.png)
Sample Url for eg: <br /> `http://localhost:3000/api/apps/public/783d8e4d-b06a-409a-aaf3-b37650dc0a26/incoming`

* **Method:**
Expand All @@ -22,7 +23,7 @@
1. `action`=`close-chat` <br/>

2. `sessionId=[string]`
> Note. Session Id is the same session of Dialogflow
> Note. Session Id is the same session of Dialogflow. Also note that, session Id is the same as Room Id on Rocket.Chat. [Click here](https://cloud.google.com/dialogflow/es/docs/entities-session) to know more about Dialogflow sessions.

* **Success Response:**

Expand Down
3 changes: 2 additions & 1 deletion docs/api-endpoints/perform-handover.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* **URL**

REST API URL can be found on Apps Page <br />
![image](https://user-images.githubusercontent.com/34130764/196452238-c90cf520-eacd-41f5-876c-3f03ed08508e.png)
Sample Url for eg: <br /> `http://localhost:3000/api/apps/public/783d8e4d-b06a-409a-aaf3-b37650dc0a26/incoming`

* **Method:**
Expand All @@ -22,7 +23,7 @@
1. `action` = `handover` <br/>

2. `sessionId=[string]`
> Note. Session Id is the same session of Dialogflow
> Note. Session Id is the same session of Dialogflow. Also note that, session Id is the same as Room Id on Rocket.Chat. [Click here](https://cloud.google.com/dialogflow/es/docs/entities-session) to know more about Dialogflow sessions.

**Optional:**

Expand Down
3 changes: 2 additions & 1 deletion docs/api-endpoints/send-message.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* **URL**

REST API URL can be found on Apps Page <br />
![image](https://user-images.githubusercontent.com/34130764/196452238-c90cf520-eacd-41f5-876c-3f03ed08508e.png)
Sample Url for eg: <br /> `http://localhost:3000/api/apps/public/783d8e4d-b06a-409a-aaf3-b37650dc0a26/incoming`

* **Method:**
Expand All @@ -22,7 +23,7 @@
1. `action` = `send-message` <br/>

2. `sessionId=[string]`
> Note. Session Id is the same session of Dialogflow
> Note. Session Id is the same session of Dialogflow. Also note that, session Id is the same as Room Id on Rocket.Chat. [Click here](https://cloud.google.com/dialogflow/es/docs/entities-session) to know more about Dialogflow sessions.

3. ```bash
actionData: {
Expand Down
3 changes: 2 additions & 1 deletion docs/api-endpoints/trigger-event.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* **URL**

REST API URL can be found on Apps Page <br />
![image](https://user-images.githubusercontent.com/34130764/196452238-c90cf520-eacd-41f5-876c-3f03ed08508e.png)
Sample Url for eg: <br /> `http://localhost:3000/api/apps/public/783d8e4d-b06a-409a-aaf3-b37650dc0a26/incoming`

* **Method:**
Expand All @@ -22,7 +23,7 @@
1. `action` = `trigger-event` <br/>

2. `sessionId=[string]`
> Note. Session Id is the same session of Dialogflow
> Note. Session Id is the same session of Dialogflow. Also note that, session Id is the same as Room Id on Rocket.Chat. [Click here](https://cloud.google.com/dialogflow/es/docs/entities-session) to know more about Dialogflow sessions.

3. ```bash
actionData: {
Expand Down