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 action reachedcompleted. See action states for what completion confirms and how to check the device effect.
push.failed
The action reachedfailed. Branch on errorCode.
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.