The CAPI provides a number of different dialogs for accepting values from the user, ranging from accepting strings to accepting whole Lisp forms to be evaluated.
CAPI User Guide (Windows version) - 30 Aug 2011