--- title: appByKey - GraphQL Admin description: |- Fetches an app by its client ID. Returns null if the app doesn't exist. api_version: unstable api_name: admin source_url: html: 'https://shopify.dev/docs/api/admin-graphql/unstable/queries/appByKey' md: 'https://shopify.dev/docs/api/admin-graphql/unstable/queries/appByKey.md' --- # app​By​Key query Fetches an app by its client ID. Returns null if the app doesn't exist. ## Arguments * api​Key [String!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) required Client ID of the app. *** ## Possible returns * App [App](https://shopify.dev/docs/api/admin-graphql/unstable/objects/App) A Shopify application. *** ## Examples * ### appByKey reference ## Query Reference ```graphql { appByKey(apiKey) { # appByKey fields } } ```