Building a Zapier integration

I’m building a Zapier integration for our application, and I’m wondering what application type is ideal here? I guess SPA would be ok - but maybe machine-to-machine is more accurate? Zapier’s oAuth v2 documentation is here if it helps.