Api session event editor chat add: Difference between revisions
Jump to navigation
Jump to search
Created page with "API Endpoint: api/session/event/editorchat/add/ Description: Add new Chat {|class=wikitable !Index !Importance !Type !Description !Values |} ===Response Codes=== {|class=wikitable !Response Code: !Description |- | 200 | Integer (ChatChannel ID) |- | 300-600 | Codes Overview |} ===Example POST=== Curl example POST <syntaxhighlight lang="text" copy>curl 'https://engine.tygron.com/api/session/event/editorchat/add/' -H 'Content-Type: application/json' -H 'Authorization: Be..." |
No edit summary |
||
| Line 16: | Line 16: | ||
|- | |- | ||
| 200 | | 200 | ||
| Integer ( | | Integer (Chat Channel ID) | ||
|- | |- | ||
| 300-600 | | 300-600 | ||
Latest revision as of 15:29, 10 November 2026
API Endpoint: api/session/event/editorchat/add/
Description: Add new Chat
| Index | Importance | Type | Description | Values |
|---|
Response Codes
| Response Code: | Description |
|---|---|
| 200 | Integer (Chat Channel ID) |
| 300-600 | Codes Overview |
Example POST
Curl example POST
curl 'https://engine.tygron.com/api/session/event/editorchat/add/' -H 'Content-Type: application/json' -H 'Authorization: Bearer API_TOKEN' -d ''JavaScript example POST
var options = {
method: "POST",
headers: { "Content-Type": "application/json", "Authorization": "Bearer API_TOKEN" },
body: ''
};
fetch("https://engine.tygron.com/api/session/event/editorchat/add/", options)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));