The IP Phone Service API provides a general API for displaying text and images on the phone, for details about how to use the API see the 'IPPS Development Notes' here:
Also check the IPPS SDK at the same link for various sample applications demonstrating usage of the API.
Beyond the details of the usage of IPPS, it sounds like you will need automation that is linked into Contact Center, for which you will want to explore the available APIs here:
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: