Skip to main content

Authentication

Type: AUTH

This operation is used by clients to authenticate with the Gateway. During this you also decide which clients you want to receive data from.

{
type: "AUTH",
data: {
subscribe_to: {
to_company: 1
},
game: "ets2"
}
}
ParameterTypeOptional
subscribe_to.all_driversBooleanYes
subscribe_to.to_driversArrayYes
subscribe_to.to_driverStringYes
subscribe_to.to_companyNumberYes
gameString   (ets2 or ats)Yes