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 (Unix version) - 30 Aug 2011