Phoenix app from scratch?

Correct, your business logic and your API logic should be split. That’s why phoenix generates a _web and your domain separately, as these should be seperate.

You don’t need to deploy HTML/CSS for your API, but the MVC concept can be used for your REST endpoints, which is where Phoenix (as an API) shines.