impersonate with API

I realize how elementary and ambiguous this is, but in what way(s) is it possible to impersonate using the API?

The use case is a custom integration that allows an individual to create a question or idea from within another application.

Thank you for any information.