Event list
Coming soon. Events for recurring schedules.
Identify the event
The body has no event type field. Branch on the fields present.device.connected and device.reconnected have the same fields. If you need to tell them apart, check whether you already know the deviceId.
push.completed
The manufacturer accepted the command.push.failed
The command didn’t succeed. Branch onerrorCode.
push.completed, except:
device.connected
device.reconnected
Same fields asdevice.connected.
device.disconnected
Sent when a read or command fails withINVALID_CREDENTIALS. A failed command also sends its own push.failed.
reconnectionUrl opens Link UI so the end user can reconnect. It’s usually present but can be missing, so handle both cases.
Next steps
Verify signatures
Confirm each request came from Amps.
Error codes
Every
errorCode a push.failed can carry.