Get an Event Cursor

GET {{baseUrl}}/1/admin/events/1/cursor/create?company_id=IMbAcASGu56&user_id=UTUAEAiZl6B&event_types=create_thread,open-thread&since_timestamp=1554241192914801&until_timestamp=1554244792914801&count=100

Gets a starting cursor to retrieve historical events that happened more than two hours ago.

Request Params

KeyDatatypeRequiredDescription
company_idstring(Required) The ID of the company to get events for.
user_idstringThe ID of the user to get events for.
event_typesstringA comma-separated list of event types this cursor will be used to
search for. Event types are defined above. If this list is left
empty, then all event types the authorized user has access to
will be included.
since_timestampnumber(Required) Timestamp in microseconds since UNIX epoch to search for events from.
until_timestampnumber(Required) Timestamp in microseconds since UNIX epoch to search for events until. Timestamp must be earlier than 2 hours before the current time.
countnumberMaximum number of events to return for each batch.

RESPONSES

status: OK

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