Skip to main content
POST
Internal rail inbound callback

Headers

X-Internal-Callback
string

Internal callback shared secret

Body

application/json
payloadHash
string
required

SHA-256 hex digest of the referenced payload bytes

Example:

"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"

payloadRef
string
required

Opaque reference to the payload bytes held in the server-side resolver

receivedAt
string
required

Timestamp the mesh received the rail message, RFC3339 UTC

Example:

"2026-06-14T12:00:00Z"

source
string
required

Originating rail/source identifier of the inbound message

channel
string

Optional channel discriminator routing the message to a handler

headers
object

Forwarded transport headers (e.g. Idempotency-Key), used for idempotency and routing

payload
string

Optional base64-encoded payload bytes; staged server-side after hash verification

Response

OK

processingDecision
string
required

Outcome of processing the inbound message (e.g. ACCEPTED, QUARANTINED)

Example:

"ACCEPTED"

humanReason
string

Safe-to-return human-readable explanation of the decision

messageRecordId
string

UUID of the persisted message record when the message was accepted

Example:

"550e8400-e29b-41d4-a716-446655440002"

quarantineId
string

UUID of the quarantine record when the message was quarantined

Example:

"550e8400-e29b-41d4-a716-446655440003"