We use Heroku for our backend and Netlify for our frontend. In order to create a solution where we could have review apps that are linked between frontend and backend, we created a script that runs on our backend deploys to create a new netlify site, connect it to git, and build/deploy.
This was working fine for a while, but I’m running into a strange issue where the sites that we’re creating are not showing up in the list. So even though I can visit https://6754-direct-to-login.netlify.app/ (site name 6754-direct-to-login) I can’t actually see the site listed. This is a problem because if we update our frontend code we have to manually trigger a new build (not ideal, I know).
Is there a reason that sites created via the API (I’m using a personal access token) might not show up in the sites list? I checked my personal “organization” as well and nothing.
Also, I know that Netlify review apps are a thing, but we decided to do everything from Heroku to avoid any kind of race conditions for when branches are pushed.