Websocket
OpenGate websocket feature is available on this URL: https://api.opengate.es:9955/south/v80/sessions/{device.id}
.
The port exposed for the web socket connection is 9955
.
Websocket requires X-ApiKey
to work. This information can be set using:
- A header of the HTTP request involved in the web socket establishment
- A URL parameter using the parameter “X-ApiKey”
Example using X-ApiKey
as URL parameter:
ws://api.opengate.es:9955/south/v80/sessions/your-device-id?X-ApiKey={your-api-key}
Change your-device-id
and your-api-key
to the corresponding values of your environment.