Yes, use the Automation Framework instead of the packaged API scan. It is much more flexible. It supports technology configuration. If you have more detailed questions then the ZAP User Group is a bteer place to ask questions.