Skip to main content

Get Network Contact

Retrieves the contact information associated with a specific contact role for a given network.

Endpoint

POST /v2/networks/get-contact

Request Body

FieldTypeRequiredConstraintsDescription
networkIdintegerYesID of the network to query
contactTypestringYesSee NetworkContactTypeThe role category of the contact to retrieve
{
"networkId": 1001,
"contactType": "CustomerService"
}

Response

Returns the contact details for the requested contact role on the network.

{
"success": true,
"data": {
"networkId": 1001,
"contactType": "CustomerService",
"name": "Jane Smith",
"email": "support@acme.example.com",
"phone": "312-555-0199"
},
"errorCode": null,
"message": null
}

ENUMs

NetworkContactType

The contactType field uses the NetworkContactType enum. See the full value table in Appendix: ENUMs.

ValueDescription
OwnerPrimary account owner
ErrorsRecipient for error notifications
InterconnectsContact for partner interconnect requests
NoticesGeneral system notices
ReportsRecipient for scheduled reports
AccountingBilling and invoicing contact
CustomerServiceCustomer-facing support contact

Code Examples

curl -X POST "https://rest.ecgrid.io/v2/networks/get-contact" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "networkId": 1001, "contactType": "CustomerService" }'

See Also