curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.edi.stateset.com/v1/as2' \
--header "Authorization: Bearer $EDI_API_TOKEN"
Inbound AS2: return a synchronous receipt, or durably queue an authenticated…
Unauthenticated by transport design — AS2 partners are identified by their AS2-From/AS2-To headers and their configured S/MIME security policy, rather than our…
POST
/
v1
/
as2
curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.edi.stateset.com/v1/as2' \
--header "Authorization: Bearer $EDI_API_TOKEN"
Unauthenticated by transport design — AS2 partners are identified by their
AS2-From/AS2-To headers and their configured S/MIME security policy,
rather than our bearer token. Per AS2 semantics the MDN is
returned with HTTP 200 even when the EDI is rejected; the disposition
inside the MDN carries the accept/reject verdict. Only transport-level
failures produce a non-200.
Response
No response body. Synchronous MDN or empty durable async receipt handoff.Status codes
| Code | Meaning |
|---|---|
200 | Synchronous MDN or empty durable async receipt handoff |
409 | Message-ID conflict or concurrent async admission |
422 | Untrusted async sender or callback |
503 | Receipt signing or durable persistence unavailable |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.edi.stateset.com/v1/as2' \
--header "Authorization: Bearer $EDI_API_TOKEN"
Last modified on October 20, 2026