Skip to main content

list-comms

List the comms (communication channels) registered under a specific (networkId, mailboxId) pair for one transport protocol. A comm is the transport-channel configuration (AS2, SFTP, FTP, and others) that defines how a mailbox physically exchanges EDI.

Use to enumerate the channels under a known mailbox — for example to review which AS2 or SFTP endpoints a mailbox uses. Both networkId and mailboxId must be known first; discover them via list-mailboxes or connectivity_network_get-network-by-id. commType is a required filter — a listing is always scoped to a single protocol. An empty result (count = 0) is a successful outcome, not NOT_FOUND. Results are scoped to the caller's APIKey. Cached 180 seconds per caller.

Tool Name

connectivity_comm_list-comms

Auth Level Required

Any (scoped to caller's APIKey)

Parameters

ParameterTypeRequiredDescription
request.networkIdintegerYesInternal numeric network ID. Positive integer >= 1. Example: 7. Combine with mailboxId to identify exactly one mailbox — both are required. Values <= 0 are rejected as VALIDATION_ERROR.
request.mailboxIdintegerYesInternal numeric mailbox ID within networkId. Non-negative integer >= 0. Example: 142. 0 refers to the network's root mailbox (not a sentinel for "all"). Values < 0 are rejected as VALIDATION_ERROR.
request.commTypestringYesRequired transport-protocol filter (case-insensitive). Allowed values: none, ftp, sftp, as2, http, oftp, x400, gisb, rnif, cxml, ftpsslimplicit, peppol, as4, undefined. Unknown values are rejected as VALIDATION_ERROR.
request.withCertsboolean | nullNoControls whether certificate data is populated. Default false — the certificates array on every returned channel is empty when false. Set true whenever the caller wants to inspect certificate validity, expiry, issuer, or thumbprint across a mailbox's channels.
request.showInactiveboolean | nullNoWhen true, include inactive (Suspended, Terminated) channels. Default false — only Active, Development, and Preproduction channels are returned.
request.useTypestring | nullNoOptional use-type filter. Allowed values: Undefined, Test, Production, TestAndProduction. Default TestAndProduction. Unknown values are rejected as VALIDATION_ERROR.
request.privateKeyRequiredboolean | nullNoWhen true, only channels that have a private key available are returned. Default true.

💡 Certificate inspection

Set withCerts: true to inspect certificate validity, expiry, and issuer across all channels in a mailbox. Without this flag the certificates array is empty and cert-validity questions cannot be answered. For a single channel's certificate details, connectivity_comm_get-comm-by-id always returns certificates without any flag.

Response

Returns a count and array of comm records. Each record carries the same shape as connectivity_comm_get-comm-by-id; the certificates array is populated only when withCerts: true.

{
"count": 2,
"comms": [
{
"commId": 4521,
"type": "as2",
"identifier": "ACME-AS2",
"url": "https://as2.acme.example.com:4080",
"sign": true,
"encrypt": true,
"compress": false,
"receiptType": "SynchronousSigned",
"httpAuthType": "None",
"sslClientAuthentication": false,
"useType": "Production",
"status": "Active",
"usageWindowStart": 0,
"usageWindowEnd": 23,
"created": "2023-05-10T14:00:00Z",
"modified": "2026-01-15T09:30:00Z",
"owner": {
"userId": 1001,
"loginName": "admin@acme.example.com",
"authLevel": "MailboxAdmin"
},
"certificates": []
}
]
}

With withCerts: true, each comm's certificates array is populated (same shape as in connectivity_comm_get-comm-by-id).

Response Fields

FieldTypeDescription
countintegerTotal number of matching channels
commsarrayComm records — same shape as connectivity_comm_get-comm-by-id
comms[].commIdintegerThe numeric comm ID (primary key)
comms[].typestringTransport protocol
comms[].identifierstringWire identifier (AS2-ID, FTP hostname, etc.)
comms[].urlstring | nullEndpoint URL
comms[].signbooleanWhether outbound messages are signed
comms[].encryptbooleanWhether outbound messages are encrypted
comms[].compressbooleanWhether outbound messages are compressed
comms[].receiptTypestringAS2 MDN receipt policy
comms[].httpAuthTypestringHTTP authentication type
comms[].sslClientAuthenticationbooleanWhether SSL client certificate auth is required
comms[].useTypestringUse classification
comms[].statusstringLifecycle status
comms[].ownerobjectCompact owner reference: userId, loginName, authLevel
comms[].certificatesarrayCertificate metadata — populated only when withCerts: true

Example Call — List AS2 Comms

{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "connectivity_comm_list-comms",
"arguments": {
"request": {
"networkId": 7,
"mailboxId": 142,
"commType": "as2"
}
}
}
}

Example Call — List AS2 Comms With Certificates

{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "connectivity_comm_list-comms",
"arguments": {
"request": {
"networkId": 7,
"mailboxId": 142,
"commType": "as2",
"withCerts": true
}
}
}
}

Example Prompts

  • List all AS2 comms for mailbox 142 on network 7
  • Show FTP connections for mailbox 500
  • List AS2 comms with certificates for mailbox 142

See Also

  • get-comm-by-id — look up a single channel by its integer comm ID (always returns certificates)
  • find-comms — locate a channel by its wire identifier without knowing the mailbox