You would want to write your own frontend module. From within the frontend module the active customer user is available as $Self->{UserID}
and you can use it to call the remote webservice.
You can use remote web services via the WebUserAgent object.
Please note that writing OTRS modules is fairly easy but does require some effort. The question you had is really very basic and you could have solved it just by looking at other code in the framework.