Skip to main content

Find Comm

Searches for communication channels by identifier string, optionally filtered by channel type.

Endpoint

POST /v2/comms/find

Request Body

FieldTypeRequiredConstraintsDescription
identifierstringYesAS2 ID, FTP username, or other channel-specific identifier to search for
commTypeNetworkGatewayCommChannelNoSee ENUMsNarrow results to a specific communication channel type
{
"identifier": "MYCOMPANY-AS2",
"commType": "as2"
}

Response

Returns an array of matching CommIDInfo objects.

{
"success": true,
"data": [
{
"commId": 5001,
"mailboxId": 101,
"commType": "as2",
"identifier": "MYCOMPANY-AS2",
"status": "Active",
"useType": "Production",
"privateKeyRequired": true,
"withCerts": true
}
]
}

ENUMs

This endpoint uses the NetworkGatewayCommChannel ENUM. See ENUMs Reference for all valid values.

Code Examples

curl -X POST "https://rest.ecgrid.io/v2/comms/find" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "identifier": "MYCOMPANY-AS2", "commType": "as2" }'

See Also