---
title: mobilePlatformApplication - GraphQL Admin
description: Return a mobile platform application by its ID.
api_version: 2026-10
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
api_name: admin
api_type: graphql
type: query
---

# 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.

  * [Android​Application](https://shopify.dev/docs/api/admin-graphql/latest/objects/AndroidApplication)

    OBJECT

    The Android mobile platform application.

  * [Apple​Application](https://shopify.dev/docs/api/admin-graphql/latest/objects/AppleApplication)

    OBJECT

    The Apple mobile platform application.

***

## 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/2026-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
        }
      }
    }`,
  });
  ```

  #### Shopify CLI

  ```bash
  shopify app execute \
  --query \
  'query MobilePlatformApplicationQuery {
    mobilePlatformApplication(id: "gid://shopify/MobilePlatformApplication/1066176000") {
      ... on AndroidApplication {
        id
        applicationId
        sha256CertFingerprints
        appLinksEnabled
        __typename
      }
      ... on AppleApplication {
        id
        appId
        universalLinksEnabled
        appClipApplicationId
        appClipsEnabled
        __typename
      }
    }
  }'
  ```

  #### Direct API Access

  ```javascript
  const response = await fetch('shopify:admin/api/2026-10/graphql.json', {
    method: 'POST',
    body: JSON.stringify({
      query: `
        query MobilePlatformApplicationQuery {
          mobilePlatformApplication(id: "gid://shopify/MobilePlatformApplication/1066176000") {
            ... on AndroidApplication {
              id
              applicationId
              sha256CertFingerprints
              appLinksEnabled
              __typename
            }
            ... on AppleApplication {
              id
              appId
              universalLinksEnabled
              appClipApplicationId
              appClipsEnabled
              __typename
            }
          }
        }
      `,
    }),
  });

  const { data } = await response.json();
  console.log(data);
  ```

  #### Response

  ```json
  {
    "mobilePlatformApplication": {
      "id": "gid://shopify/MobilePlatformApplication/1066176000",
      "applicationId": "androidfake.org.domain.com",
      "sha256CertFingerprints": [
        "A1:B2:C3:D4"
      ],
      "appLinksEnabled": true,
      "__typename": "AndroidApplication"
    }
  }
  ```
