Website Spec
← Well-Known URIs
Optional

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

A JSON file that tells iOS, iPadOS and macOS which Apple apps may handle which URLs on your domain. Required for Universal Links and several other Apple features.

What it is

apple-app-site-association (often abbreviated AASA) is a JSON file Apple platforms fetch from your domain to verify that you authorise specific apps to handle specific URLs. It powers Universal Links (opening web URLs directly in an app), Handoff between web and app, Shared Web Credentials, and AutoFill of strong passwords across web and app.

It must live at https://example.com/.well-known/apple-app-site-association. Apple no longer accepts the legacy root-path location.

Why it matters

If you do not have an iOS, iPadOS, macOS or visionOS app, you do not need this file.

How to implement

Serve a JSON document with the App IDs and URL patterns that may handle your domain.

{
  "applinks": {
    "details": [
      {
        "appIDs": ["ABCDE12345.com.example.app"],
        "components": [
          { "/": "/orders/*" },
          { "/": "/users/*/profile" }
        ]
      }
    ]
  },
  "webcredentials": {
    "apps": ["ABCDE12345.com.example.app"]
  }
}

Rules:

Common mistakes

Verification

curl -I https://example.com/.well-known/apple-app-site-association

You should see 200 OK and Content-Type: application/json. Apple's App Search API Validation Tool and the on-device "Diagnostics" build flag both report whether AASA loaded successfully.

Sources