api appointment and consultation