Get a Cursor for Near Real-Time Events

GET {{baseUrl}}/1/admin/events/1/cursor/realtime/create?company_id=dolore&user_id=dolore&event_types=create_thread,open-thread

Gets a starting cursor to retrieve near real-time events that have happened within the past two hours.

Note that near real-time cursors expire 24 hours after creation, including next_cursors provided when getting a batch of events.

Request Params

KeyDatatypeRequiredDescription
company_idstring(Required) The ID of the company to get events for.
user_idstringThe ID of user to get events for.
event_typesstring

RESPONSES

status: OK

{"next_cursor":"eyJjdXJzb3JfdmVyc2lvbiI6MSwic..."}