Added Endpoint API. An endpoint can be either a Member or a Client.