Events

The Events endpoint allows you to retrieve all the Contact's location events and application events from your Cloud4Wi account.

List of Events:

Endpoints

List all events for an organziation id

get

List all Events, including Visits, WiFi connections and application events, of an Organization Retrieve all events og of the given organization . Role: Organization Manager Scope: organization_read, events_read

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
cidstringRequired

id of the organization (aka tenant)

Query parameters
dateStartstringOptional

Return events with date >= of request. Format is date iso8601. Eg: 2019-07-31T22:23:24Z

dateEndstringOptional

Return events with date <= of request. Format is date iso8601. Eg: 2019-07-31T22:23:24Z

eventsstringOptional

List of events (comma separated). Possible values: visit,signup, login, send_email,open_email,click_email,send_sms,click_sms,survey, promo

sizestringOptional

Number of events returned by the request. Allowed values between 1 and 10000. It is not possible to change this values during a scrolling.

sortBystringOptional

Sort list by: businessTime, utcTime (default is businessTime)

sortReversebooleanOptional

Reverse sort order

enableScrollbooleanOptional

Enable scroll. If true, the response will contain a scrollId. Use it to get the next page of results.

scrollIdbooleanOptional

Scroll id. Use it to get the next page of results.

Responses
chevron-right
200

Response

application/json
statusstringOptional

OK

generatedstringOptional

date time of response

countnumberOptional
get
/v1/organizations/{cid}/events

List all events of a specific Contact

get

List all events, including WiFi Connections, Visits and applicaiton events of a given Contact Id Role: Organization Manager Scope: organization_read, events_read

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
cidstringRequired

id of the organization (aka tenant)

idstringRequired

id of the user (ID of the table w.USERS) passed inside the JWT received at login

Query parameters
dateStartstringOptional

Return events with date >= of request. Format is date iso8601. Eg: 2019-07-31T22:23:24Z

dateEndstringOptional

Return events with date <= of request. Format is date iso8601. Eg: 2019-07-31T22:23:24Z

eventsstringOptional

List of events (comma separated). Possible values: visit,signup, login, send_email,open_email,click_email,send_sms,click_sms,survey, promo

sizestringOptional

Number of events returned by the request. Allowed values between 1 and 10000. It is not possible to change this values during a scrolling.

sortBystringOptional

Sort list by: businessTime, utcTime (default is businessTime)

sortReversebooleanOptional

Reverse sort order

Responses
chevron-right
200

Response

application/json
statusstringOptional

OK

generatedstringOptional

date time of response

countnumberOptional
get
/v1/organizations/{cid}/customers/{id}/events

Data example

Example of the response of the endpoint https://explore.cloud4wi.com//v1/organizations/{cid}/eventsarrow-up-right

Last updated

Was this helpful?