Message
HTTP API schema
A message is an object that can be received and sent to endpoints.
Message fields
- contextMessageContext
Message context including authorization and input plugin
- correlationToken
string Token used for correlating related messages
- typeMessageType
- headerMessageHeader
Message header with namespace, name, and version
- targetMessageTarget
The target of the message
- endpointMessageEndpoint
- auth-token
string Port OS bearer token available to plugins during dispatch when they need to call Port OS APIs.
- secrets
array<Secret> The secrets associated with the authorization link between the port OS principal and the plugin.
- ItemSecret
- ownerId
string The ID of the owner of the message
- body
objectRequired The message body, which can be any valid JSON object