Box Developer Documentation

Join BoxWorks 2024 to discover what's possible with content and AI!

Register now!

Real-time server

A real-time server that can be used for long polling user events

string
realtime_server

realtime_server

10

The maximum number of retries this server will allow before a new long poll should be started by getting a new list of server.

610

The maximum number of seconds without a response after which you should retry the long poll connection.

This helps to overcome network issues where the long poll looks to be working but no packages are coming through.

string
10

The time in minutes for which this server is available

string
http://2.realtime.services.box.net/subscribe?channel=cc807c9c4869ffb1c81a&stream_type=all

The URL for the server.

Response Example

{
  "type": "realtime_server",
  "max_retries": "10",
  "retry_timeout": 610,
  "ttl": "10",
  "url": "http://2.realtime.services.box.net/subscribe?channel=cc807c9c4869ffb1c81a&stream_type=all"
}