Skip to main content
Each event is delivered as a flat JSON body. See Webhooks for setup, retries, and duplicates.

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 on errorCode.
Same fields as push.completed, except:

device.connected

device.reconnected

Same fields as device.connected.

device.disconnected

Sent when a read or command fails with INVALID_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.