Skip to content

PushMessageRequest

HTTP API schema

A message a connected device pushes to Port OS, such as a state report or the reply to a request. The device's Port OS access token names its auth link; `target` names the route of that link the message is about.

PushMessageRequest fields

headerPushMessageHeaderRequired
targetPushMessageTargetRequired
payloadobjectRequired

The message body. Its shape is defined by the receiving plugin or capability interface for the header.

View source specification ↗