Receive Webhooks

Receiving Webhooks

Webhooks are a way to get notifications over the network by setting up a server and listening for post events. To set up a simple server to receive webhooks, you can also use some of the example scripts in the getting started repoarrow-up-right.

All API messages are supported through webhooks.

All messages are sent on the root path '/'.

API Message Examples

blink

{
  'action': {
    'value': 0, 'time': 1214.697467542195
  },
  'data': {
    'blink': {'blink': 0},
    'id': 21,
    'lsl_ts': 1214.697467542195,
    'unix_ts': 1633343930.865,
    'lsl_eeg_fill_ts': 1214.7459047,
    'lsl_api_call_ts': 1257.6010982,
    'lsl_api_recv_ts': 1257.7840578,
    'last_eeg_id': 2895
  },
  'type': 'blink'
}

eye

bandpower

artifact detection

metricsJson (JSON object of all metrics data)

metrics (array object of all metrics data, same format as LSL)

Last updated

Was this helpful?