Is there a REST API to Verify App Installation on a site?

Hello everyone,

I’m currently working on using CI CD to install a forge app to a site. I need to check whether a specific app ID is already installed on the site when we install it with forge install. I was wondering if there is a REST API or a recommended approach to accomplish this.

Ideally, I’d like to send a request to this API with the app ID and site name, and it would return a response indicating whether the app is installed or not

Has anyone dealt with a similar use case before? Thank you in advance for your assistance!

There is a --verbose flag for the forge cli. IIRC, it shows you the graphql requests it’s making as part of managing your installations and deployments. I’m guessing one of these shows you which sites your app is installed on. If nothing else, it might point you in the right direction.

1 Like


With @ryan answer pointing to the GraphQL that Forge CLI uses, I’m wondering why the Forge CLI alone isn’t sufficient? Especially since you mentioned a CI/CD context where many developers already use the Forge CLI:

1 Like

Thanks for supporting, i have refer to the ci cd docs and It doesnt mention about forge register command.
sorry for unmeaningful question. My point is i want to check if the site has the app id. If not I will register new app id with forge register cmd.
Because everytime we use forge register it will create a new app id.