api end point to retrieve list of connections