Api event io start

From Tygron Support wiki
Revision as of 14:49, 19 November 2026 by Server@tygron.com (talk | contribs) (Created page with "API Endpoint: api/event/io/start/ Description: Start a new Session {|class=wikitable !Index !Importance !Type !Description !Values |- | 0 | REQUIRED | (Enumeration) | SessionType: SINGLE, MULTI, EDITOR | EDITOR, MULTI or SINGLE |- | 1 | REQUIRED | (String) | Project Name | |- | 2 | OPTIONAL | (Enumeration) | Language: NL, EN (optional) | |- | 3 | OPTIONAL | (Integer number) | Preferred Session ID (optional) | |- | 4 | OPTIONAL | (String) | Group token...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

API Endpoint: api/event/io/start/

Description: Start a new Session

Index Importance Type Description Values
0 REQUIRED (Enumeration) SessionType: SINGLE, MULTI, EDITOR EDITOR, MULTI or SINGLE
1 REQUIRED (String) Project Name
2 OPTIONAL (Enumeration) Language: NL, EN (optional)
3 OPTIONAL (Integer number) Preferred Session ID (optional)
4 OPTIONAL (String) Group token (optional)

Response Codes

Response Code: Description
200 Integer (Session ID)
300-600 Codes Overview

Example POST

Curl example POST

curl 'https://engine.tygron.com/api/event/io/start/' -H 'Content-Type: application/json' -H 'Authorization: Basic <credentials>=' -d '[ "EDITOR", "Project Name" ]'

JavaScript example POST

var options = {
 method: "POST",
 headers: { "Content-Type": "application/json", "Authorization": "Basic <credentials>=" },
 body: '[ "EDITOR", "Project Name" ]'
};
fetch("https://engine.tygron.com/api/event/io/start/", options)
 .then(response => response.text())
 .then(result => console.log(result))
 .catch(error => console.log('error', error));

See also