I can't find where or how to access all my apps subscriptions

I am developing a new app. I am trying to access my subscriptions from a server, not from inside the app. This server is for managing various credits with the customers. I cannot seem to find how the authorization flow works for retrieving all of my current subscriptions. Looking through the documentation, I cannot tell if I use the Partner Api or some other Api. I cannot tell how I programmatically retrieve the access tokens required to make calls to the Partner Api to get my subscriptions. The documentation says I need to get the access token at the moment I install the app into my test development store. Isn’t that access token only for the development store? Why would my permanent production access token for interacting with my shop account, come from installing the app onto a test store? Some documentation says there is an admin api key section where I can add a key and necessary permission, but I don’t seem to have this option/menu item. I am very confused and no amount of prompting the AI chat bot seems to lead me to any kind of answer. Can someone who has been through this before please spell out how to make a API call to get all my apps subscriptions from a server that is not the app itself?

Hi @George_S

If you want to go through the Shopify app authorization and installation process, you must provide an authentication flow. You can use a Shopify app template that suits your needs: https://shopify.dev/docs/api#app-templates. If you only have a single custom app, you can obtain an Access Token by following this documentation: https://shopify.dev/docs/apps/build/authentication-authorization/access-tokens/client-credentials-grant#step-2-get-an-access-token.

Get activeSubscriptions

currentAppInstallation - GraphQL Admin

query GetRecurringApplicationCharges {
    currentAppInstallation {
      activeSubscriptions {
        id
        name
        status
        createdAt
        currentPeriodEnd
        lineItems {
          id
          plan {
            pricingDetails {
              __typename
            }
          }
        }
      }
    }
  }