Skip to main content

get-comm-by-id

Look up a single comm (communication channel) by its numeric comm ID, and inspect the SSL/TLS certificate(s) on that endpoint — reporting each certificate's validity status and expiration details. A comm is the transport-channel configuration (AS2, SFTP, FTP, HTTP, OFTP, and others) bound to a mailbox — it defines how that mailbox physically exchanges EDI, distinct from the logical EDI ID carried in X12 envelopes.

Use when the caller already has the integer comm ID — for example from a previous connectivity_comm_list-comms result, a ticket, or an admin reference — or to answer "is this trading partner's endpoint certificate valid / when does it expire?". Returns NOT_FOUND when no comm matches the integer ID. Results are scoped to the caller's APIKey — another tenant's comm surfaces as NOT_FOUND. Cached for 180 seconds per caller.

Tool Name

connectivity_comm_get-comm-by-id

Auth Level Required

Any (scoped to caller's APIKey)

Parameters

ParameterTypeRequiredDescription
request.commIdintegerYesThe numeric comm (communication channel) ID — the internal int32 primary key. Positive integer >= 1. Example: 4521. Same value as the commId field returned by connectivity_comm_list-comms. Values <= 0 are rejected as VALIDATION_ERROR.

Response

Returns the channel profile including type, identifier, URL, security flags, receipt policy, lifecycle status, usage window, owner reference, and per-certificate metadata with computed validity.

{
"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": [
{
"subject": "CN=acme.example.com, O=ACME Corp, C=US",
"issuer": "CN=DigiCert TLS RSA SHA256 2020 CA1",
"thumbprint": "A1B2C3D4E5F6...",
"serialNumber": "0F:A1:B2:C3:D4:E5:F6:07",
"notBefore": "2025-01-01T00:00:00Z",
"notAfter": "2026-01-01T00:00:00Z",
"status": "Active",
"validityStatus": "Valid",
"isCurrentlyValid": true,
"daysUntilExpiry": 179
}
]
}

Response Fields

FieldTypeDescription
commIdintegerThe numeric comm ID (primary key)
typestringTransport protocol — as2, ftp, sftp, ftpsslimplicit, http, oftp, x400, gisb, rnif, cxml, peppol, as4, or undefined
identifierstringThe wire identifier for the channel — AS2-ID for AS2, hostname/login for FTP/SFTP
urlstring | nullEndpoint URL (AS2 endpoint, FTP host URL, etc.)
signbooleanWhether outbound EDI messages are signed
encryptbooleanWhether outbound EDI messages are encrypted
compressbooleanWhether outbound EDI messages are compressed
receiptTypestringAS2 MDN receipt policy — None, SynchronousUnsigned, SynchronousSigned, AsynchronousUnsigned, or AsynchronousSigned
httpAuthTypestringHTTP authentication type — None, Basic, or Digest
sslClientAuthenticationbooleanWhether SSL client certificate authentication is required
useTypestringUse classification — Undefined, Test, Production, or TestAndProduction
statusstringLifecycle status — Development, Active, Preproduction, Suspended, or Terminated
usageWindowStartintegerStart hour (0–23) of the allowed usage window
usageWindowEndintegerEnd hour (0–23) of the allowed usage window
createdstringISO 8601 timestamp — when the comm was created
modifiedstringISO 8601 timestamp — when the comm was last modified
ownerobjectCompact owner reference: userId, loginName, authLevel
certificatesarrayPer-certificate metadata entries (see below)

Certificate Fields

FieldTypeDescription
subjectstringCertificate subject distinguished name
issuerstringCertificate issuer distinguished name
thumbprintstringSHA-1 thumbprint (hex)
serialNumberstringCertificate serial number
notBeforestringISO 8601 — certificate validity start
notAfterstringISO 8601 — certificate validity end
statusstringLifecycle status of the certificate record
validityStatusstringComputed: Valid, Expired, or NotYetValid
isCurrentlyValidbooleantrue when current date falls within notBefore–notAfter
daysUntilExpiryintegerDays remaining until notAfter; negative when already expired

📝 Note: HTTP auth username/password and raw certificate bytes are deliberately not returned. To enumerate all channels under a mailbox use connectivity_comm_list-comms.

Example Call

{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "connectivity_comm_get-comm-by-id",
"arguments": {
"request": { "commId": 4521 }
}
}
}

Example Prompts

  • Show me comm 789
  • What AS2 communications are set up for mailbox 142?
  • Is the certificate on comm 4521 still valid?

See Also

  • list-comms — enumerate all channels under a known (networkId, mailboxId) pair
  • find-comms — locate a comm by its wire identifier without knowing the mailbox