Terra -> Your backend
Set up and manage a consumer connection to the Terra WebSocket service to receive real-time heart rate data.
Setting up a Consumer Connection
Connecting to the WebSocket
{
"op": 2,
"d": {
"heartbeat_interval": 40000
}
}Heartbeating
Authenticating the Connection
Example IDENTIFY payload:
Listening for Data Updates
Requesting missed Data
WebSocket Commands
Last updated
Was this helpful?