apple-app-site-association

Demo · format-valid de-facto

/.well-known/apple-app-site-association

Standard: Apple (Associated Domains)

Apple's universal links: the file that lets an iOS app claim URLs from a website.

What it is

Apple apps declare associated domains like applinks:example.com; the domain must serve /.well-known/apple-app-site-association listing the app IDs and URL paths they may claim. It also powers webcredentials (password autofill between app and website) and App Clips.

The threat it addresses

Without a verifiable association, any app could claim any website's URLs, hijacking links. Apple verifies the file over HTTPS on the domain itself — the domain, not Apple, is the authority.

How it works

  • The app includes the domain in its associated-domains entitlement.
  • The domain serves /.well-known/apple-app-site-association: applinks with appID (teamID.bundleID) and path patterns; optionally webcredentials and appclips.
  • iOS fetches and caches it; when the user taps a matching link, the app opens instead of Safari.
  • Apple requires serving it over HTTPS from the apex domain; some tools serve it without a JSON content-type quirk (historical gotcha).

Honesty notes

  • Demo: placeholder team/app IDs — real deployments use the app's actual identifiers.

In the wild

  • Apple www.apple.com/.well-known/apple-app-site-association

Links verified to serve this URI on 2026-08-05; some point at the governing spec where no live deployment could be verified.

Try it

Live demo

Format-valid demo with placeholder identifiers

Content-Type: application/json; charset=utf-8
{
  "applinks": {
    "apps": [],
    "details": [
      {
        "appID": "TEAMID1234.com.example.wellknownshowcase",
        "paths": [
          "*"
        ]
      }
    ]
  },
  "webcredentials": {
    "apps": [
      "TEAMID1234.com.example.wellknownshowcase"
    ]
  },
  "_demo_note": "Illustrative Apple AASA. Real deployments replace TEAMID1234 and the app bundle id, and serve this from the apex of the domain that hosts the app's associated domains."
}