# app - admin-graphql - QUERY Version: 2024-10 ## Description Lookup an App by ID or return the currently authenticated App. ### Access Scopes ## Arguments * [id](/docs/api/admin-graphql/2024-10/scalars/ID): ID - The ID to lookup the App by. ## Returns * [apiKey](/docs/api/admin-graphql/2024-10/scalars/String): String! A unique application API identifier. * [appStoreAppUrl](/docs/api/admin-graphql/2024-10/scalars/URL): URL App store page URL of the app. * [appStoreDeveloperUrl](/docs/api/admin-graphql/2024-10/scalars/URL): URL App store page URL of the developer who created the app. * [availableAccessScopes](/docs/api/admin-graphql/2024-10/objects/AccessScope): AccessScope! All requestable access scopes available to the app. * [banner](/docs/api/admin-graphql/2024-10/objects/Image): Image! Banner image for the app. * [description](/docs/api/admin-graphql/2024-10/scalars/String): String Description of the app. * [developerName](/docs/api/admin-graphql/2024-10/scalars/String): String The name of the app developer. * [developerType](/docs/api/admin-graphql/2024-10/enums/AppDeveloperType): AppDeveloperType! The type of app developer. * [developerUrl](/docs/api/admin-graphql/2024-10/scalars/URL): URL! Website of the developer who created the app. * [embedded](/docs/api/admin-graphql/2024-10/scalars/Boolean): Boolean! Whether the app uses the Embedded App SDK. * [failedRequirements](/docs/api/admin-graphql/2024-10/objects/FailedRequirement): FailedRequirement! Requirements that must be met before the app can be installed. * [features](/docs/api/admin-graphql/2024-10/scalars/String): String! A list of app features that are shown in the Shopify App Store listing. * [feedback](/docs/api/admin-graphql/2024-10/objects/AppFeedback): AppFeedback Feedback from this app about the store. * [handle](/docs/api/admin-graphql/2024-10/scalars/String): String Handle of the app. * [icon](/docs/api/admin-graphql/2024-10/objects/Image): Image! Icon that represents the app. * [id](/docs/api/admin-graphql/2024-10/scalars/ID): ID! A globally-unique ID. * [installUrl](/docs/api/admin-graphql/2024-10/scalars/URL): URL Webpage where you can install the app. * [installation](/docs/api/admin-graphql/2024-10/objects/AppInstallation): AppInstallation Corresponding AppInstallation for this shop and App. Returns null if the App is not installed. * [isPostPurchaseAppInUse](/docs/api/admin-graphql/2024-10/scalars/Boolean): Boolean! Whether the app is the [post purchase](https://shopify.dev/apps/checkout/post-purchase) app in use. * [launchUrl](/docs/api/admin-graphql/2024-10/scalars/URL): URL! Webpage that the app starts in. * [navigationItems](/docs/api/admin-graphql/2024-10/objects/NavigationItem): NavigationItem! Menu items for the app, which also appear as submenu items in left navigation sidebar in the Shopify admin. * [optionalAccessScopes](/docs/api/admin-graphql/2024-10/objects/AccessScope): AccessScope! The optional scopes requested by the app. Lists the optional access scopes the app has declared in its configuration. These scopes are optionally requested by the app after installation. * [previouslyInstalled](/docs/api/admin-graphql/2024-10/scalars/Boolean): Boolean! Whether the app was previously installed on the current shop. * [pricingDetails](/docs/api/admin-graphql/2024-10/scalars/String): String Detailed information about the app pricing. * [pricingDetailsSummary](/docs/api/admin-graphql/2024-10/scalars/String): String! Summary of the app pricing details. * [privacyPolicyUrl](/docs/api/admin-graphql/2024-10/scalars/URL): URL Link to app privacy policy. * [publicCategory](/docs/api/admin-graphql/2024-10/enums/AppPublicCategory): AppPublicCategory! The public category for the app. * [published](/docs/api/admin-graphql/2024-10/scalars/Boolean): Boolean! Whether the app is published to the Shopify App Store. * [requestedAccessScopes](/docs/api/admin-graphql/2024-10/objects/AccessScope): AccessScope! The access scopes requested by the app. Lists the access scopes the app has declared in its configuration. Merchant must grant approval to these scopes for the app to be installed. * [screenshots](/docs/api/admin-graphql/2024-10/objects/Image): Image! Screenshots of the app. * [shopifyDeveloped](/docs/api/admin-graphql/2024-10/scalars/Boolean): Boolean! Whether the app was developed by Shopify. * [title](/docs/api/admin-graphql/2024-10/scalars/String): String! Name of the app. * [uninstallMessage](/docs/api/admin-graphql/2024-10/scalars/String): String! Message that appears when the app is uninstalled. For example: By removing this app, you will no longer be able to publish products to MySocialSite or view this app in your Shopify admin. You can re-enable this channel at any time. * [uninstallUrl](/docs/api/admin-graphql/2024-10/scalars/URL): URL Webpage where you can uninstall the app. * [webhookApiVersion](/docs/api/admin-graphql/2024-10/scalars/String): String! The webhook API version for the app. ## Examples ### Get an app by its ID Curl example: "curl -X POST \\\nhttps://your-development-store.myshopify.com/admin/api/2024-10/graphql.json \\\n-H 'Content-Type: application/json' \\\n-H 'X-Shopify-Access-Token: {access_token}' \\\n-d '{\n\"query\": \"query { app(id: \\\"gid://shopify/App/193172482\\\") { title } }\"\n}'\n" Node example: "const client = new shopify.clients.Graphql({session});\nconst data = await client.query({\n data: `query {\n app(id: \"gid://shopify/App/193172482\") {\n title\n }\n }`,\n});\n" Ruby example: "session = ShopifyAPI::Auth::Session.new(\n shop: \"your-development-store.myshopify.com\",\n access_token: access_token\n)\nclient = ShopifyAPI::Clients::Graphql::Admin.new(\n session: session\n)\n\nquery = <<~QUERY\n query {\n app(id: \"gid://shopify/App/193172482\") {\n title\n }\n }\nQUERY\n\nresponse = client.query(query: query)\n" Remix example: "const { admin } = await authenticate.admin(request);\n\nconst response = await admin.graphql(\n `#graphql\n query {\n app(id: \"gid://shopify/App/193172482\") {\n title\n }\n }`,\n);\n\nconst data = await response.json();\n" Graphql query: "query {\n app(id: \"gid://shopify/App/193172482\") {\n title\n }\n}" #### Graphql Input null #### Graphql Response { "data": { "app": { "title": "Invoicing Application" } } } ### Get the currently authenticated app Curl example: "curl -X POST \\\nhttps://your-development-store.myshopify.com/admin/api/2024-10/graphql.json \\\n-H 'Content-Type: application/json' \\\n-H 'X-Shopify-Access-Token: {access_token}' \\\n-d '{\n\"query\": \"query { app { title } }\"\n}'\n" Node example: "const client = new shopify.clients.Graphql({session});\nconst data = await client.query({\n data: `query {\n app {\n title\n }\n }`,\n});\n" Ruby example: "session = ShopifyAPI::Auth::Session.new(\n shop: \"your-development-store.myshopify.com\",\n access_token: access_token\n)\nclient = ShopifyAPI::Clients::Graphql::Admin.new(\n session: session\n)\n\nquery = <<~QUERY\n query {\n app {\n title\n }\n }\nQUERY\n\nresponse = client.query(query: query)\n" Remix example: "const { admin } = await authenticate.admin(request);\n\nconst response = await admin.graphql(\n `#graphql\n query {\n app {\n title\n }\n }`,\n);\n\nconst data = await response.json();\n" Graphql query: "query {\n app {\n title\n }\n}" #### Graphql Input null #### Graphql Response { "data": { "app": { "title": "Invoicing Application" } } }