--- title: appByKey - GraphQL Admin description: |- Fetches an app by its client ID. Returns null if the app doesn't exist. api_version: 2024-10 api_name: admin type: query api_type: graphql source_url: html: 'https://shopify.dev/docs/api/admin-graphql/2024-10/queries/appByKey' md: 'https://shopify.dev/docs/api/admin-graphql/2024-10/queries/appByKey.txt' --- # 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/2024-10/scalars/String) required Client ID of the app. *** ## Possible returns * App [App](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/App) A Shopify application. *** ## Examples * ### appByKey reference ## Query Reference ```graphql { appByKey(apiKey) { # appByKey fields } } ```