use api wrapped req/res
use api wrapped req/res
add docs