How do you respond to proxy votes

Is there an API to respond to proxy votes? If not how does it work?