--- title: mobilePlatformApplication - GraphQL Admin description: Return a mobile platform application by its ID. api_version: 2025-10 api_name: admin type: query api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/queries/mobilePlatformApplication md: https://shopify.dev/docs/api/admin-graphql/latest/queries/mobilePlatformApplication.md --- # mobile​Platform​Application query Requires `read_mobile_platform_applications` access scope. Please contact Shopify Support to enable this scope for your app. Return a mobile platform application by its ID. ## Arguments * id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required ID of the mobile platform app. *** ## Possible returns * Mobile​Platform​Application [Mobile​Platform​Application](https://shopify.dev/docs/api/admin-graphql/latest/unions/MobilePlatformApplication) You can use the `MobilePlatformApplication` resource to enable [shared web credentials](https://developer.apple.com/documentation/security/shared_web_credentials) for Shopify iOS apps, as well as to create [iOS universal link](https://developer.apple.com/ios/universal-links/) or [Android app link](https://developer.android.com/training/app-links/) verification endpoints for merchant Shopify iOS or Android apps. Shared web credentials let iOS users access a native app after logging into the respective website in Safari without re-entering their username and password. If a user changes their credentials in the app, then those changes are reflected in Safari. You must use a custom domain to integrate shared web credentials with Shopify. With each platform's link system, users can tap a link to a shop's website and get seamlessly redirected to a merchant's installed app without going through a browser or manually selecting an app. For full configuration instructions on iOS shared web credentials, see the [associated domains setup](https://developer.apple.com/documentation/security/password_autofill/setting_up_an_app_s_associated_domains) technical documentation. For full configuration instructions on iOS universal links or Android App Links, see the respective [iOS universal link](https://developer.apple.com/documentation/uikit/core_app/allowing_apps_and_websites_to_link_to_your_content) or [Android app link](https://developer.android.com/training/app-links) technical documentation. *** ## Examples * ### Get a mobile platform application. #### Description This example demonstrates how to fetch a mobile platform application. #### Query ```graphql query MobilePlatformApplicationQuery { mobilePlatformApplication(id: "gid://shopify/MobilePlatformApplication/1066176000") { ... on AndroidApplication { id applicationId sha256CertFingerprints appLinksEnabled __typename } ... on AppleApplication { id appId universalLinksEnabled appClipApplicationId appClipsEnabled __typename } } } ``` #### cURL ```bash curl -X POST \ https://your-development-store.myshopify.com/admin/api/2025-10/graphql.json \ -H 'Content-Type: application/json' \ -H 'X-Shopify-Access-Token: {access_token}' \ -d '{ "query": "query MobilePlatformApplicationQuery { mobilePlatformApplication(id: \"gid://shopify/MobilePlatformApplication/1066176000\") { ... on AndroidApplication { id applicationId sha256CertFingerprints appLinksEnabled __typename } ... on AppleApplication { id appId universalLinksEnabled appClipApplicationId appClipsEnabled __typename } } }" }' ``` #### React Router ```javascript import { authenticate } from "../shopify.server"; export const loader = async ({request}) => { const { admin } = await authenticate.admin(request); const response = await admin.graphql( `#graphql query MobilePlatformApplicationQuery { mobilePlatformApplication(id: "gid://shopify/MobilePlatformApplication/1066176000") { ... on AndroidApplication { id applicationId sha256CertFingerprints appLinksEnabled __typename } ... on AppleApplication { id appId universalLinksEnabled appClipApplicationId appClipsEnabled __typename } } }`, ); const json = await response.json(); return json.data; } ``` #### Ruby ```ruby session = ShopifyAPI::Auth::Session.new( shop: "your-development-store.myshopify.com", access_token: access_token ) client = ShopifyAPI::Clients::Graphql::Admin.new( session: session ) query = <<~QUERY query MobilePlatformApplicationQuery { mobilePlatformApplication(id: "gid://shopify/MobilePlatformApplication/1066176000") { ... on AndroidApplication { id applicationId sha256CertFingerprints appLinksEnabled __typename } ... on AppleApplication { id appId universalLinksEnabled appClipApplicationId appClipsEnabled __typename } } } QUERY response = client.query(query: query) ``` #### Node.js ```javascript const client = new shopify.clients.Graphql({session}); const data = await client.query({ data: `query MobilePlatformApplicationQuery { mobilePlatformApplication(id: "gid://shopify/MobilePlatformApplication/1066176000") { ... on AndroidApplication { id applicationId sha256CertFingerprints appLinksEnabled __typename } ... on AppleApplication { id appId universalLinksEnabled appClipApplicationId appClipsEnabled __typename } } }`, }); ``` #### Response ```json { "mobilePlatformApplication": { "id": "gid://shopify/MobilePlatformApplication/1066176000", "applicationId": "androidfake.org.domain.com", "sha256CertFingerprints": [ "A1:B2:C3:D4" ], "appLinksEnabled": true, "__typename": "AndroidApplication" } } ``` ## Get a mobile platform application. [Open in GraphiQL](http://localhost:3457/graphiql?query=query%20MobilePlatformApplicationQuery%20%7B%0A%20%20mobilePlatformApplication\(id%3A%20%22gid%3A%2F%2Fshopify%2FMobilePlatformApplication%2F1066176000%22\)%20%7B%0A%20%20%20%20...%20on%20AndroidApplication%20%7B%0A%20%20%20%20%20%20id%0A%20%20%20%20%20%20applicationId%0A%20%20%20%20%20%20sha256CertFingerprints%0A%20%20%20%20%20%20appLinksEnabled%0A%20%20%20%20%20%20__typename%0A%20%20%20%20%7D%0A%20%20%20%20...%20on%20AppleApplication%20%7B%0A%20%20%20%20%20%20id%0A%20%20%20%20%20%20appId%0A%20%20%20%20%20%20universalLinksEnabled%0A%20%20%20%20%20%20appClipApplicationId%0A%20%20%20%20%20%20appClipsEnabled%0A%20%20%20%20%20%20__typename%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D) ```javascript import { authenticate } from "../shopify.server"; export const loader = async ({request}) => { const { admin } = await authenticate.admin(request); const response = await admin.graphql( `#graphql query MobilePlatformApplicationQuery { mobilePlatformApplication(id: "gid://shopify/MobilePlatformApplication/1066176000") { ... on AndroidApplication { id applicationId sha256CertFingerprints appLinksEnabled __typename } ... on AppleApplication { id appId universalLinksEnabled appClipApplicationId appClipsEnabled __typename } } }`, ); const json = await response.json(); return json.data; } ``` ##### GQL ``` query MobilePlatformApplicationQuery { mobilePlatformApplication(id: "gid://shopify/MobilePlatformApplication/1066176000") { ... on AndroidApplication { id applicationId sha256CertFingerprints appLinksEnabled __typename } ... on AppleApplication { id appId universalLinksEnabled appClipApplicationId appClipsEnabled __typename } } } ``` ##### cURL ``` curl -X POST \ https://your-development-store.myshopify.com/admin/api/2025-10/graphql.json \ -H 'Content-Type: application/json' \ -H 'X-Shopify-Access-Token: {access_token}' \ -d '{ "query": "query MobilePlatformApplicationQuery { mobilePlatformApplication(id: \"gid://shopify/MobilePlatformApplication/1066176000\") { ... on AndroidApplication { id applicationId sha256CertFingerprints appLinksEnabled __typename } ... on AppleApplication { id appId universalLinksEnabled appClipApplicationId appClipsEnabled __typename } } }" }' ``` ##### React Router ``` import { authenticate } from "../shopify.server"; export const loader = async ({request}) => { const { admin } = await authenticate.admin(request); const response = await admin.graphql( `#graphql query MobilePlatformApplicationQuery { mobilePlatformApplication(id: "gid://shopify/MobilePlatformApplication/1066176000") { ... on AndroidApplication { id applicationId sha256CertFingerprints appLinksEnabled __typename } ... on AppleApplication { id appId universalLinksEnabled appClipApplicationId appClipsEnabled __typename } } }`, ); const json = await response.json(); return json.data; } ``` ##### Node.js ``` const client = new shopify.clients.Graphql({session}); const data = await client.query({ data: `query MobilePlatformApplicationQuery { mobilePlatformApplication(id: "gid://shopify/MobilePlatformApplication/1066176000") { ... on AndroidApplication { id applicationId sha256CertFingerprints appLinksEnabled __typename } ... on AppleApplication { id appId universalLinksEnabled appClipApplicationId appClipsEnabled __typename } } }`, }); ``` ##### Ruby ``` session = ShopifyAPI::Auth::Session.new( shop: "your-development-store.myshopify.com", access_token: access_token ) client = ShopifyAPI::Clients::Graphql::Admin.new( session: session ) query = <<~QUERY query MobilePlatformApplicationQuery { mobilePlatformApplication(id: "gid://shopify/MobilePlatformApplication/1066176000") { ... on AndroidApplication { id applicationId sha256CertFingerprints appLinksEnabled __typename } ... on AppleApplication { id appId universalLinksEnabled appClipApplicationId appClipsEnabled __typename } } } QUERY response = client.query(query: query) ``` ## Response JSON ```json { "mobilePlatformApplication": { "id": "gid://shopify/MobilePlatformApplication/1066176000", "applicationId": "androidfake.org.domain.com", "sha256CertFingerprints": [ "A1:B2:C3:D4" ], "appLinksEnabled": true, "__typename": "AndroidApplication" } } ```