Salesforce Integration

unable to find the endPoint for getting the UserInformation…i want user name and phone number in salesforce as a lead when user type Hi or hello in chat box…or any one provide me the Apex Code for The Integration in salesforce.