api: add type="HASH" to CALLBACK