ModernEDI Integration API (1.8.0)

License: Proprietary

Customer-facing integration endpoints for ModernEDI tenants. Use this API when your ERP, WMS, integration service, or internal automation needs to receive inbound partner documents as mapped business payloads, send XML/JSON/text source inputs that ModernEDI turns into outbound X12, or inspect transaction activity across the whole exchange.

ModernEDI keeps X12 at the trading-partner boundary instead of making it the shape your internal systems have to speak. Incoming maps translate partner X12 into JSON, XML, HTML, text, or another business format your system can process. Outgoing maps do the reverse: your system sends an XML, JSON, or text source document plus optional runtime params, and ModernEDI selects the matching outgoing map, generates the X12 transaction body, syntax-checks it, and sends it over AS2.

In the mapper editor, generated-X12 trace highlights can connect output values back to the map and source fixtures. XSLT maps trace generated values back to stylesheet instructions, source input values, and test params; JSLT maps use the same trace contract against ModernEDI's wrapper root, where source values live under .input and params under .params, including simple aliases such as let po = .input.

A typical purchase-order-to-invoice round trip is:

  1. A partner sends an inbound 850 purchase order to ModernEDI.
  2. ModernEDI validates the inbound X12, applies the incoming map, and makes the mapped payload available through GET /v1/mapped-outputs or a mapped-output webhook.
  3. Call POST /v1/mapped-outputs/{id}/ack after your system has accepted the mapped output.
  4. Your system builds an invoice, ASN, or other business reply as XML, JSON, or text.
  5. Call POST /v1/as2/reply; ModernEDI applies the matching outgoing map, generates X12, validates it, and sends the reply AS2 message.
  6. Use /v1/integration/transactions to confirm the inbound document, mapped output, generated outbound X12, AS2 receipts, 997s, and reply linkage.

If you prefer push delivery, configure a per-partner mapped-output webhook in the ModernEDI workspace. ModernEDI sends the same mapped-output message shape to your HTTPS endpoint and automatically acknowledges the queue item only when your endpoint returns a 2xx response. Failed webhook attempts leave the message available through the pull API.

Push webhook requests include X-ModernEDI-Event, X-ModernEDI-Delivery-Id, X-ModernEDI-Timestamp, and X-ModernEDI-Signature. The signature is sha256=<hex hmac> over <timestamp>.<raw request body> using the partner webhook signing secret.

/v1/as2/send is available when your system is first in the chain, such as sending a purchase order or another outbound document that is not replying to a received document. /v1/as2/carbonCopy uses the same outgoing-map selection as the original partner, then sends the generated X12 envelope to a second partner.

Trading partner records can be created before an AS2 profile is known, which lets teams publish and test maps during migration. Use GET /v1/partners to list the partner ids your integration client can send as partnerId for exact outgoing-map selection. These AS2 endpoints require the matched destination partner to have an AS2 connection configured at send time; otherwise ModernEDI rejects the request before delivery.

Key fields in the mapped-output and reply loop:

  • id: mapped output id used in the /v1/mapped-outputs/{id}/ack path.
  • receiptHandle: token from the latest poll, required when marking mapped output as received.
  • messageId: original inbound AS2 message id; use it as originalMessageId for /v1/as2/reply.
  • transactionKey: transaction identifier within the AS2 message, usually GS06#ST02.
  • mappedOutputKey: unique mapped-output key inside the transaction.
  • purpose: why the map result exists. PROCESSING is a normal mapped output for your application workflow, while ACKNOWLEDGMENT is an automatically generated response document such as a purchase order acknowledgment.
  • payload: mapped document body; parse it according to contentType.
  • extraFields: delivered metadata selected by the incoming runtime map. Incoming maps start with ModernEDI's default metadata set; custom keys are merged with those defaults, and setting a default key to false intentionally omits it.
  • replyToMessageId: present on outbound replies and points back to the inbound message.

For a transaction detail view, start with the inbound transaction detail and show the original X12 document, mapped output records, MDN and 997 details, outbound replies from relatedTransactions, and the reply transaction's own MDN and 997 details.

Common failures to handle include missing or invalid API keys, unknown partner names, missing outgoing maps, generated X12 syntax errors, originalMessageId not found, partner AS2 delivery failure, and mapped output returned again because it was not marked received before the visibility timeout.

All customer-facing Integration API endpoints use https://api.modernedi.com. ModernEDI forwards outbound /v1/as2/send, /v1/as2/reply, and /v1/as2/carbonCopy requests into the tenant AS2 runtime after authenticating the same Integration API key used by mapped-output and transaction-viewer endpoints.

Partners

Discover configured trading partners and stable partner ids for outbound map selection.

List configured trading partners

Returns the tenant's configured trading partners in workspace order. Use partnerId from this response as the partnerId query parameter on /v1/as2/send, /v1/as2/reply, or /v1/as2/carbonCopy when your integration needs exact partner selection instead of partner-name matching. The returned name is the configured partner name accepted as customer or copyToCustomer; the same id can be sent as copyToPartnerId for the carbon-copy recipient. Partners can appear before their AS2 profile is complete so teams can publish and test maps during onboarding; as2ConnectionConfigured tells you whether live AS2 delivery can use that partner yet.

Authorizations:
IntegrationApiKeyHeaderIntegrationApiKeyBearer

Responses

Request samples

curl "https://api.modernedi.com/v1/partners" \
  -H "x-api-key: $MODERNEDI_INTEGRATION_API_KEY"

Response samples

Content type
application/json
{
  • "success": true,
  • "partners": [
    ]
}

Outbound AS2

Send reply documents and standalone outbound AS2 messages through an existing ModernEDI partner connection.

Send a standalone outbound document

Sends a standalone outbound document to the configured trading partner. Send the source XML, JSON, or text input as the HTTP request body. ModernEDI looks up the matching outgoing map by partner, X12 version, functional group, transaction set, and request Content-Type, applies that map to generate X12, syntax-checks the generated X12, then sends it through the configured AS2 connection. JSON source maps can use XSLT with Saxon json-to-xml($json) or JSLT. For JSLT, ModernEDI sets the current input . to a wrapper object, so the source document is read through .input paths. Send either customer or partnerId to select the partner; use GET /v1/partners when your integration client needs to discover stable partner ids. If the outgoing map needs extra runtime parameters such as a bill-of-lading number, pallet list, or generated control number, send the JSON envelope shape with input, contentType, and params. The envelope can also include businessKey when your system knows a stable purchase order, shipment, BOL, or other business identifier that should appear on the outbound transaction record. XSLT maps receive those params as top-level stylesheet parameters; JSLT maps receive them under .params. Mapper-editor params files are test fixtures only; live API calls must provide required params in this request envelope.

Authorizations:
IntegrationApiKeyHeaderIntegrationApiKeyBearer
query Parameters
test
boolean
Default: false

When true, use the test identifiers and test endpoint configured for the partner connection.

customer
string
Example: customer=Customer One

Exact configured partner name used to select the outgoing map. Required unless partnerId is supplied. For /send and /reply, this is also the AS2 destination partner. For /carbonCopy, this is the original/source partner used for map selection, not the copy recipient.

partnerId
integer
Example: partnerId=1

Stable partner id returned by GET /v1/partners. Required unless customer is supplied, except that /reply can infer a persisted partner id from originalMessageId. Transactions without a persisted id do not supply inferred partner metadata. When supplied explicitly, ModernEDI uses this id instead of partner-name matching or inferred partner metadata for outgoing-map selection. For /carbonCopy, this id selects the original/source partner, not the copyToCustomer or copyToPartnerId recipient.

x12Version
required
string
Example: x12Version=4010

X12 version tied to the outgoing map.

functionalGroupType
required
string
Example: functionalGroupType=IN

X12 functional group code tied to the outgoing map.

transactionGroupType
required
integer
Example: transactionGroupType=810

X12 transaction set identifier code tied to the outgoing map.

header Parameters
Idempotency-Key
string [ 1 .. 128 ] characters

Optional caller-generated key for safely retrying outbound requests. Reusing the same key with the same request returns the original result; reusing it with a different request returns an idempotency conflict.

Request Body schema:
required
string

Responses

Request samples

Content type
<PurchaseOrder>
  <orderNumber>PO-DEMO-1001</orderNumber>
  <orderDate>20260520</orderDate>
  <department code="D12">Demo Department</department>
  <shipTo>
    <id>DC-DEMO</id>
    <name>Demo Distribution Center</name>
  </shipTo>
</PurchaseOrder>

Response samples

Content type
application/json
{
  • "success": true,
  • "messageId": "<generated-message-id@modernedi>",
  • "x12": "ISA*00* *00* *ZZ*SENDERID *ZZ*RECEIVERID *260427*2100*U*00401*000000001*0*T*>~GS*PO*SENDER*RECEIVER*20260427*2100*1*X*004010~ST*850*000000001~BEG*00*SA*PO-DEMO-1001**20260520~REF*DP*D12~N1*ST*Demo Distribution Center*92*DC-DEMO~PO1*1*24*EA*10.00**IN*DEMO-BUY-001~CTT*1~SE*6*000000001~GE*1*1~IEA*1*000000001~"
}

Send a follow-up document tied to an inbound message

Sends a follow-up document such as an ASN or invoice in response to a previously received inbound message. Send the source XML, JSON, or text input as the HTTP request body. ModernEDI looks up the original message by originalMessageId, and uses unambiguous metadata from that inbound transaction to recover an omitted partner selector and x12Version. ModernEDI uses the persisted partnerId, so the reply still selects the same partner after its configured name changes. Transactions without a persisted partner id do not supply inferred partner metadata. An explicit partnerId or customer always overrides inferred partner metadata. If persisted partner ids conflict, ModernEDI does not infer either partner selector. After the partner selector, X12 version, and request Content-Type are known, ModernEDI can also fill omitted functionalGroupType and transactionGroupType when those selectors match exactly one outgoing reply map. ModernEDI then selects the matching outgoing map by partner, X12 version, functional group, transaction set, and request Content-Type, generates and validates X12, then sends the reply through the configured AS2 connection. Send x12Version explicitly when a partner requires reply documents on a different X12 version than the one they send; explicit query parameters override inferred metadata. If multiple reply maps could match, send functionalGroupType and transactionGroupType explicitly. The original inbound document type is not reused as the reply type; these fields identify the generated reply document, such as IN/810 for an invoice. JSON source maps can use XSLT with Saxon json-to-xml($json) or JSLT. For JSLT, ModernEDI sets the current input . to a wrapper object, so the source document is read through .input paths. If the outgoing map needs extra runtime parameters, send the JSON envelope shape with input, contentType, and params; XSLT maps receive those values as top-level stylesheet parameters, JSLT maps read them from .params, and mapper-editor params files are not used as live defaults. Use the envelope's optional businessKey field when the reply has a stable identifier, such as an invoice number, that should be stored on the outbound transaction record.

Authorizations:
IntegrationApiKeyHeaderIntegrationApiKeyBearer
query Parameters
test
boolean
Default: false

When true, use the test identifiers and test endpoint configured for the partner connection.

customer
string
Example: customer=Customer One

Exact configured partner name used to select the outgoing reply map. Optional for /reply when originalMessageId identifies an inbound transaction with an unambiguous persisted partner id. An explicit name overrides inferred partner metadata.

partnerId
integer
Example: partnerId=1

Stable partner id returned by GET /v1/partners. Required unless customer is supplied, except that /reply can infer a persisted partner id from originalMessageId. Transactions without a persisted id do not supply inferred partner metadata. When supplied explicitly, ModernEDI uses this id instead of partner-name matching or inferred partner metadata for outgoing-map selection. For /carbonCopy, this id selects the original/source partner, not the copyToCustomer or copyToPartnerId recipient.

x12Version
string
Example: x12Version=4010

X12 version tied to the outgoing reply map. Optional for /reply when originalMessageId identifies an inbound transaction whose X12 version can be inferred unambiguously. Send this explicitly when the reply must use a different X12 version than the original inbound document.

functionalGroupType
string
Example: functionalGroupType=IN

X12 functional group code tied to the outgoing reply map. Optional for /reply when originalMessageId, the resolved partner and X12 version, and request Content-Type match exactly one outgoing reply map. Send this explicitly when multiple reply maps could match.

transactionGroupType
integer
Example: transactionGroupType=810

X12 transaction set identifier code tied to the outgoing reply map. Optional for /reply when originalMessageId, the resolved partner and X12 version, and request Content-Type match exactly one outgoing reply map. Send this explicitly when multiple reply maps could match.

originalMessageId
required
string
Example: originalMessageId=msg-850-api

Original inbound AS2 message id used to link replies or carbon copies to an inbound flow.

header Parameters
Idempotency-Key
string [ 1 .. 128 ] characters

Optional caller-generated key for safely retrying outbound requests. Reusing the same key with the same request returns the original result; reusing it with a different request returns an idempotency conflict.

Request Body schema:
required
string

Responses

Request samples

Content type
<PurchaseOrder>
  <orderNumber>PO-DEMO-1001</orderNumber>
  <invoice>
    <number>INV-DEMO-1001</number>
    <date>20260525</date>
  </invoice>
  <totals>
    <amount>240.00</amount>
  </totals>
</PurchaseOrder>

Response samples

Content type
application/json
{
  • "success": true,
  • "messageId": "<generated-message-id@modernedi>",
  • "x12": "ISA*00* *00* *ZZ*SENDERID *ZZ*RECEIVERID *260427*2100*U*00401*000000001*0*T*>~GS*IN*SENDER*RECEIVER*20260427*2100*1*X*004010~ST*810*000000001~BIG*20260427*INV-DEMO-1001*20260420*PO-DEMO-1001~IT1*1*24*EA*10.00**IN*DEMO-BUY-001~TDS*24000~SE*5*000000001~GE*1*1~IEA*1*000000001~"
}

Send a carbon copy of an inbound message flow to another partner

Sends a generated X12 document to a second partner while preserving context from a previously received inbound message. Send the source XML, JSON, or text input as the HTTP request body. The customer or partnerId query parameter identifies the source/original partner whose outgoing map should generate the X12, and copyToCustomer or copyToPartnerId identifies the destination partner for the copied AS2 envelope. ModernEDI selects the matching outgoing map for that original/source partner, generates and validates X12, then forwards the carbon copy through the configured AS2 connection. Example: to generate an 856 ASN for Retailer One and copy it to Broker One, send customer=Retailer%20One and copyToPartnerId=2; ModernEDI uses Retailer One's outgoing 856 map. copyToCustomer does not select the outgoing map, and neither does copyToPartnerId. JSON source maps can use XSLT with Saxon json-to-xml($json) or JSLT. For JSLT, ModernEDI sets the current input . to a wrapper object, so the source document is read through .input paths. If the outgoing map needs extra runtime parameters, send the JSON envelope shape with input, contentType, and params; the map is still selected by customer/partnerId, not by copyToCustomer or copyToPartnerId. XSLT maps receive params as top-level stylesheet parameters, JSLT maps read them from .params, and mapper-editor params files are test fixtures only and are not read by live carbon-copy calls. The envelope's optional businessKey is recorded on the copied outbound transaction, but it does not affect map selection.

Authorizations:
IntegrationApiKeyHeaderIntegrationApiKeyBearer
query Parameters
test
boolean
Default: false

When true, use the test identifiers and test endpoint configured for the partner connection.

customer
string
Example: customer=Customer One

Exact configured partner name used to select the outgoing map. Required unless partnerId is supplied. For /send and /reply, this is also the AS2 destination partner. For /carbonCopy, this is the original/source partner used for map selection, not the copy recipient.

partnerId
integer
Example: partnerId=1

Stable partner id returned by GET /v1/partners. Required unless customer is supplied, except that /reply can infer a persisted partner id from originalMessageId. Transactions without a persisted id do not supply inferred partner metadata. When supplied explicitly, ModernEDI uses this id instead of partner-name matching or inferred partner metadata for outgoing-map selection. For /carbonCopy, this id selects the original/source partner, not the copyToCustomer or copyToPartnerId recipient.

x12Version
required
string
Example: x12Version=4010

X12 version tied to the outgoing map.

functionalGroupType
required
string
Example: functionalGroupType=IN

X12 functional group code tied to the outgoing map.

transactionGroupType
required
integer
Example: transactionGroupType=810

X12 transaction set identifier code tied to the outgoing map.

originalMessageId
required
string
Example: originalMessageId=msg-850-api

Original inbound AS2 message id used to link replies or carbon copies to an inbound flow.

copyToCustomer
string
Example: copyToCustomer=Broker One

Exact configured partner name that receives the carbon-copy AS2 envelope. Required unless copyToPartnerId is supplied. This does not select the outgoing map; customer or partnerId selects the map.

copyToPartnerId
integer
Example: copyToPartnerId=2

Stable partner id returned by GET /v1/partners for the partner that receives the carbon-copy AS2 envelope. Required unless copyToCustomer is supplied. This does not select the outgoing map; customer or partnerId selects the map.

header Parameters
Idempotency-Key
string [ 1 .. 128 ] characters

Optional caller-generated key for safely retrying outbound requests. Reusing the same key with the same request returns the original result; reusing it with a different request returns an idempotency conflict.

Request Body schema:
required
string

Responses

Request samples

Content type
<PurchaseOrder>
  <orderNumber>PO-DEMO-1001</orderNumber>
  <shipment>
    <id>ASN-DEMO-1001</id>
    <date>20260526</date>
    <time>1015</time>
    <billOfLading>BOL-DEMO-1001</billOfLading>
  </shipment>
</PurchaseOrder>

Response samples

Content type
application/json
{
  • "success": true,
  • "messageId": "<generated-message-id@modernedi>",
  • "x12": "ISA*00* *00* *ZZ*SENDERID *ZZ*RECEIVERID *260427*2100*U*00401*000000001*0*T*>~GS*SH*SENDER*RECEIVER*20260427*2100*1*X*004010~ST*856*000000001~BSN*00*ASN0001*20260427*2100~HL*1**S~TD5*B*2*UPSN*M*GROUND~REF*CN*1Z999999~HL*2*1*O~PRF*PO0001~SE*8*000000001~GE*1*1~IEA*1*000000001~"
}

Mapped Output Queue

Receive mapped inbound documents by polling, or configure per-partner HTTPS push delivery in the workspace.

Poll mapped inbound output

Returns mapped inbound documents for this tenant and temporarily marks them in progress. If a returned message is not acknowledged before the visibility timeout expires, ModernEDI may return it again on a later poll. Push delivery uses the same queue state: a successful 2xx webhook response acknowledges the message, while a failed push leaves it available through this endpoint. Each request performs a bounded scan. When hasMore is true, send nextCursor as the next request's cursor so polling advances past unavailable or output-free transactions instead of rescanning them. This endpoint runs on the shared ModernEDI API host, not on the tenant AS2 hostname.

Authorizations:
IntegrationApiKeyHeaderIntegrationApiKeyBearer
query Parameters
startDate
string <date>

Optional inclusive transaction window start date.

endDate
string <date>

Optional inclusive transaction window end date.

cursor
string

Opaque continuation cursor returned as nextCursor. When supplied, it retains the original transaction window; omit startDate and endDate or send the same normalized values.

limit
integer [ 1 .. 100 ]
Default: 10

Maximum number of mapped output messages to return.

visibilityTimeoutSeconds
integer [ 5 .. 43200 ]
Default: 120

Seconds ModernEDI keeps returned messages hidden from later polls while your system processes them.

Responses

Request samples

curl "https://api.modernedi.com/v1/mapped-outputs?limit=10&visibilityTimeoutSeconds=120" \
  -H "x-api-key: $MODERNEDI_INTEGRATION_API_KEY"

Response samples

Content type
application/json
{
  • "success": true,
  • "messages": [
    ],
  • "limit": 10,
  • "visibilityTimeoutSeconds": 120,
  • "nextCursor": null,
  • "hasMore": false
}

Mark mapped output as received

Confirms that your system has accepted a previously returned mapped output message. Call this after the mapped output has been stored, processed, or queued in your system. The receipt handle must match the latest poll response for this mapped output id.

Authorizations:
IntegrationApiKeyHeaderIntegrationApiKeyBearer
path Parameters
id
required
string

Mapped output id returned by GET /v1/mapped-outputs.

Request Body schema: application/json
required
receiptHandle
required
string

Token from the latest poll response for this mapped output id.

Responses

Request samples

Content type
application/json
{
  • "receiptHandle": "0af7dd1d-b6a1-4ff9-8ad1-d395de0b97f2"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "id": "7e8276c1d55988a4bf7fbf9f8c2d87187a24bd316dfed84bbf64397b8d5b6e4a",
  • "messageId": "msg-850-api",
  • "mappedOutputKey": "17#0001#00001",
  • "ackedAt": "2026-04-29T15:34:10Z"
}

Transaction Viewer

Read-only transaction history, documents, events, acknowledgements, and linked replies.

List transactions

Returns a pageable transaction history for custom transaction viewers, dashboards, and reconciliation workflows. Outbound replies include replyToMessageId so they can be shown underneath the inbound document they answer.

Authorizations:
IntegrationApiKeyHeaderIntegrationApiKeyBearer
query Parameters
startDate
string
Example: startDate=2026-03-01T00:00:00.000000000

Optional inclusive window start using ISO local date-time with nanoseconds.

endDate
string
Example: endDate=2026-03-31T23:59:59.999999999

Optional inclusive window end using ISO local date-time with nanoseconds.

cursor
string

Cursor from the previous response.

limit
integer [ 1 .. 250 ]
Default: 50

Maximum number of transactions to return.

direction
string
Enum: "inbound" "outbound"
partnerName
string

Case-insensitive persisted partner name. This filters display metadata; transaction access remains scoped by persisted partnerId.

partnerId
integer >= 1
Example: partnerId=1

Filters transactions by the tenant-scoped partner id returned by GET /v1/partners. The id remains stable when a partner is renamed. Transactions without a stored id are not returned.

transactionSet
string
Example: transactionSet=850

X12 transaction set code.

businessKey
string
Example: businessKey=PO-100045

Exact business key value recorded on a transaction. Inbound keys come from the incoming map. Outbound keys are recorded only when /send, /reply, or /carbonCopy is called with a JSON envelope that includes businessKey.

messageId
string

Exact AS2 message id.

replyToMessageId
string

Original inbound AS2 message id for outbound replies.

transactionControlNumber
string

ST02 transaction control number.

functionalGroupControlNumber
string

GS06 functional group control number.

Responses

Request samples

curl "https://api.modernedi.com/v1/integration/transactions?startDate=2026-03-01T00:00:00.000000000&endDate=2026-03-31T23:59:59.999999999&direction=inbound&partnerId=1&transactionSet=850&limit=25" \
  -H "x-api-key: $MODERNEDI_INTEGRATION_API_KEY"

Response samples

Content type
application/json
{
  • "success": true,
  • "transactions": [
    ],
  • "nextCursor": null,
  • "hasMore": false,
  • "window": {
    }
}

Get transaction detail

Returns the transaction summary, downloadable document payloads, mapped inbound outputs, timeline events, and linked outbound reply transactions.

Authorizations:
IntegrationApiKeyHeaderIntegrationApiKeyBearer
path Parameters
messageId
required
string

AS2 message id.

transactionKey
required
string

Transaction key, usually <functional-group-control-number>#<transaction-control-number>.

Responses

Request samples

curl "https://api.modernedi.com/v1/integration/transactions/msg-850-api/17%230001" \
  -H "x-api-key: $MODERNEDI_INTEGRATION_API_KEY"

Response samples

Content type
application/json
{
  • "success": true,
  • "transaction": {
    }
}

Get transaction documents

Returns raw X12, mapped inbound outputs, MDN reports, acknowledgements, and HTTP response bodies recorded for the transaction.

Authorizations:
IntegrationApiKeyHeaderIntegrationApiKeyBearer
path Parameters
messageId
required
string

AS2 message id.

transactionKey
required
string

Transaction key, usually <functional-group-control-number>#<transaction-control-number>.

Responses

Request samples

curl "https://api.modernedi.com/v1/integration/transactions/msg-850-api/17%230001/documents" \
  -H "x-api-key: $MODERNEDI_INTEGRATION_API_KEY"

Response samples

Content type
application/json
{
  • "success": true,
  • "documents": [
    ]
}

Get transaction events

Returns a normalized timeline for the transaction, including receipt or send events, mapping events, MDNs, acknowledgements, and linked replies.

Authorizations:
IntegrationApiKeyHeaderIntegrationApiKeyBearer
path Parameters
messageId
required
string

AS2 message id.

transactionKey
required
string

Transaction key, usually <functional-group-control-number>#<transaction-control-number>.

Responses

Request samples

curl "https://api.modernedi.com/v1/integration/transactions/msg-850-api/17%230001/events" \
  -H "x-api-key: $MODERNEDI_INTEGRATION_API_KEY"

Response samples

Content type
application/json
{
  • "success": true,
  • "events": [
    ]
}

Get linked reply transactions

Returns outbound reply transactions linked to an inbound transaction by replyToMessageId. Use this to render replies underneath the inbound document in a custom viewer.

Authorizations:
IntegrationApiKeyHeaderIntegrationApiKeyBearer
path Parameters
messageId
required
string

AS2 message id.

transactionKey
required
string

Transaction key, usually <functional-group-control-number>#<transaction-control-number>.

Responses

Request samples

curl "https://api.modernedi.com/v1/integration/transactions/msg-850-api/17%230001/related" \
  -H "x-api-key: $MODERNEDI_INTEGRATION_API_KEY"

Response samples

Content type
application/json
{
  • "success": true,
  • "transaction": {
    },
  • "relatedTransactions": [
    ]
}