add client details endpoint

fixes #18