Inbound AS1 (EDI-over-email) receive path: the mail service forwards a
received email as JSON; we extract the EDI interchange and run it through the standard inbound pipeline (parse → validate → acknowledge → translate → sync)…
POST
received email as JSON; we extract the EDI interchange and run it through
the standard inbound pipeline (parse → validate → acknowledge → translate →
sync). Bearer-authenticated — the mail service is a trusted first-party
caller carrying the platform token.
Request body
JSON body of typecrate.as1.As1InboundEmail.
Response
InboundResult
string
Serialized 997 interchange acknowledging what we received.
None when
the inbound interchange only contained FA groups or was rejected.string
Serialized EDIFACT CONTRL acknowledgment, for inbound EDIFACT interchanges.
string
Serialized TA1 interchange rejection, when envelope validation failed.
InboundDocument[]
required
string
integer
required
string
required
string
required
string
required
processed or interchange_rejected.