Public Smart Links reference
Approved-host resolution, native association documents, browser redirects and instrumented web landing confirmation.
Workflow guide · Download OpenAPI JSON
- API origin
https://{appHost}- API version
v1- Reference source
8bda8e8302d4ea5bd005ef1132f7267e82e6337c- Download SHA-256
e196f19973fd51ce468b54a5f43b8f16f7dcdecfd43ce62f91716b3eb6ebddcb
Authentication
Public reads require no account credential. Landing confirmation uses a separate host-bound body capability; read that operation before sending it.
Credentials stay with their intended audience. A browser session, SDK key, upload key and Automation credential grant different access.
Operations
7 operations
GET/
Redirect to the host fallback
An active approved host uses its configured fallback. Unknown or inactive ownership uses the platform fallback. No installed-app state is inferred.
Access: No authentication credential.
Responses
302- Temporary redirect to the selected configured destination. Automatic clients should inspect Location without assuming the destination loaded.
Response headers
{ "Location": { "required": true, "schema": { "type": "string", "format": "uri" } } } 502- Generated by the managed edge when it cannot obtain an origin response. A landing confirmation may already have reached the origin. The edge sends it once. An actual origin error keeps its native response.
Response headers
{ "Cache-Control": { "schema": { "type": "string", "const": "no-store" } }, "X-AppPortal-TraceId": { "schema": { "type": "string", "pattern": "^[a-f0-9]{32}$" } } }{ "application/problem+json": { "schema": { "$ref": "#/components/schemas/SmartLinkEdgeProblem" } } }
OPTIONS/_appportal/landing
Read landing confirmation CORS preflight
Access: No authentication credential.
Responses
204- No response body. Identical for a valid, replayed, unknown, invalid or cross-host confirmation capability.
Response headers
{ "Cache-Control": { "schema": { "type": "string", "const": "no-store" } }, "Access-Control-Allow-Origin": { "schema": { "type": "string", "const": "*" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string", "const": "POST, OPTIONS" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string", "const": "Content-Type" } } } 502- Generated by the managed edge when it cannot obtain an origin response. A landing confirmation may already have reached the origin. The edge sends it once. An actual origin error keeps its native response.
Response headers
{ "Cache-Control": { "schema": { "type": "string", "const": "no-store" } }, "X-AppPortal-TraceId": { "schema": { "type": "string", "pattern": "^[a-f0-9]{32}$" } } }{ "application/problem+json": { "schema": { "$ref": "#/components/schemas/SmartLinkEdgeProblem" } } }
POST/_appportal/landing
Confirm an instrumented web landing
Submit the separate opaque confirmationId from the redirect fragment in a JSON body, never in a URL or log. The stored web redirect and exact public host bind this capability. Replays are idempotent. The public result does not reveal whether confirmation changed stored evidence. No account, SDK or management permission is granted, and this request does not establish consent or a human identity.
Access: No authentication credential.
Request body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SmartLinkLandingConfirmationRequest"
}
}
}
} Responses
204- No response body. Identical for a valid, replayed, unknown, invalid or cross-host confirmation capability.
Response headers
{ "Cache-Control": { "schema": { "type": "string", "const": "no-store" } }, "Access-Control-Allow-Origin": { "schema": { "type": "string", "const": "*" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string", "const": "POST, OPTIONS" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string", "const": "Content-Type" } } } 400- Malformed JSON, missing/non-object/null body, or an invalid JSON value/type. This is distinct from an unknown well-formed confirmationId.
415- The required JSON content type is unsupported.
502- Generated by the managed edge when it cannot obtain an origin response. A landing confirmation may already have reached the origin. The edge sends it once. An actual origin error keeps its native response.
Response headers
{ "Cache-Control": { "schema": { "type": "string", "const": "no-store" } }, "X-AppPortal-TraceId": { "schema": { "type": "string", "pattern": "^[a-f0-9]{32}$" } } }{ "application/problem+json": { "schema": { "$ref": "#/components/schemas/SmartLinkEdgeProblem" } } }
GET/_appportal/resolve/{slug}
Resolve the installed-app destination
Resolve an active, unexpired link within the exact active app/environment host binding. The caller's platform hint selects a configured destination; a response does not prove the app opened or accepted the route. This read grants no management authority.
Access: No authentication credential.
Parameters
slug(path, required)- The link slug within this host's approved app/environment binding.
{ "type": "string" } platform(query, optional)- Optional ios or android, case-insensitive with surrounding whitespace trimmed. Omitted or whitespace uses the default app destination. Other nonempty values return 400.
{ "type": "string", "pattern": "^\\s*(?:[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD])?\\s*$" }
Responses
200- Configured app destination and attribution coordinates; these are routing evidence, not install/user/conversion proof.
{ "application/json": { "schema": { "$ref": "#/components/schemas/SmartLinkResolution" } } } 400- A nonempty platform value is unsupported.
404- No active host binding, matching active app scope, available unexpired link or applicable app destination.
502- Generated by the managed edge when it cannot obtain an origin response. A landing confirmation may already have reached the origin. The edge sends it once. An actual origin error keeps its native response.
Response headers
{ "Cache-Control": { "schema": { "type": "string", "const": "no-store" } }, "X-AppPortal-TraceId": { "schema": { "type": "string", "pattern": "^[a-f0-9]{32}$" } } }{ "application/problem+json": { "schema": { "$ref": "#/components/schemas/SmartLinkEdgeProblem" } } }
GET/.well-known/apple-app-site-association
Read Apple Universal Link association
Only registered valid native identities for this host are returned. Apple and Android consume different JSON shapes. Android 15+ dynamic components cannot expand an older Android manifest's static scope.
Access: No authentication credential.
Responses
200- Exact native association identities for this active host. Never redirects.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AppleAppSiteAssociation" }, "example": { "applinks": { "details": [ { "appIDs": [ "ABCDE12345.com.example.northwind" ], "components": [ { "/": "/*" } ] } ] } } } } 404- No active host owner or valid identity for this platform. The association document does not redirect to a fallback.
502- Generated by the managed edge when it cannot obtain an origin response. A landing confirmation may already have reached the origin. The edge sends it once. An actual origin error keeps its native response.
Response headers
{ "Cache-Control": { "schema": { "type": "string", "const": "no-store" } }, "X-AppPortal-TraceId": { "schema": { "type": "string", "pattern": "^[a-f0-9]{32}$" } } }{ "application/problem+json": { "schema": { "$ref": "#/components/schemas/SmartLinkEdgeProblem" } } }
GET/.well-known/assetlinks.json
Read Android App Link association
Only registered valid native identities for this host are returned. Apple and Android consume different JSON shapes. Android 15+ dynamic components cannot expand an older Android manifest's static scope.
Access: No authentication credential.
Responses
200- Exact native association identities for this active host. Never redirects.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AndroidAssetLinks" }, "example": [ { "relation": [ "delegate_permission/common.handle_all_urls" ], "target": { "namespace": "android_app", "package_name": "com.example.northwind", "sha256_cert_fingerprints": [ "AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB:AB" ] }, "relation_extensions": { "delegate_permission/common.handle_all_urls": { "dynamic_app_link_components": [ { "/": "/*" } ] } } } ] } } 404- No active host owner or valid identity for this platform. The association document does not redirect to a fallback.
502- Generated by the managed edge when it cannot obtain an origin response. A landing confirmation may already have reached the origin. The edge sends it once. An actual origin error keeps its native response.
Response headers
{ "Cache-Control": { "schema": { "type": "string", "const": "no-store" } }, "X-AppPortal-TraceId": { "schema": { "type": "string", "pattern": "^[a-f0-9]{32}$" } } }{ "application/problem+json": { "schema": { "$ref": "#/components/schemas/SmartLinkEdgeProblem" } } }
GET/{slug}
Open a public Smart Link in the browser
If the OS did not intercept the URL, select the configured platform store or web fallback. Missing, inactive or expired links redirect to the applicable host/platform fallback. User-agent classification is not install detection or proof of a person. Redirect issuance does not prove a landing, app route or conversion.
Access: No authentication credential.
Parameters
slug(path, required)- The link slug within this host's approved app/environment binding.
{ "type": "string" }
Responses
302- Temporary redirect to the selected configured destination. Automatic clients should inspect Location without assuming the destination loaded.
Response headers
{ "Location": { "required": true, "schema": { "type": "string", "format": "uri" } } } 502- Generated by the managed edge when it cannot obtain an origin response. A landing confirmation may already have reached the origin. The edge sends it once. An actual origin error keeps its native response.
Response headers
{ "Cache-Control": { "schema": { "type": "string", "const": "no-store" } }, "X-AppPortal-TraceId": { "schema": { "type": "string", "pattern": "^[a-f0-9]{32}$" } } }{ "application/problem+json": { "schema": { "$ref": "#/components/schemas/SmartLinkEdgeProblem" } } }
Declared schemas
Schema references in the operations resolve to these definitions from the same OpenAPI document.
SmartLinkResolution
{
"type": [
"object",
"null"
],
"properties": {
"attributionId": {
"type": "string"
},
"linkId": {
"type": "string"
},
"slug": {
"type": "string"
},
"publicUrl": {
"type": "string"
},
"deepLinkUrl": {
"type": "string"
},
"fallbackUrl": {
"type": "string"
},
"expiresAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"campaign": {
"type": [
"string",
"null"
]
},
"source": {
"type": [
"string",
"null"
]
},
"medium": {
"type": [
"string",
"null"
]
}
},
"required": [
"attributionId",
"linkId",
"slug",
"publicUrl",
"deepLinkUrl",
"fallbackUrl",
"expiresAt",
"campaign",
"source",
"medium"
]
}SmartLinkLandingConfirmationRequest
{
"type": "object",
"properties": {
"confirmationId": {
"type": [
"string",
"null"
]
}
},
"description": "The opaque confirmationId is a single-purpose body capability from the web redirect fragment. Unknown, invalid, replayed and cross-host values receive the same 204 response. It is not the public attributionId."
}AppleAppSiteAssociation
{
"type": "object",
"properties": {
"applinks": {
"type": "object",
"properties": {
"details": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": {
"type": "object",
"properties": {
"appIDs": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
},
"components": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": {
"type": "object",
"properties": {
"/": {
"const": "/*"
}
},
"required": [
"/"
],
"additionalProperties": false
}
}
},
"required": [
"appIDs",
"components"
],
"additionalProperties": false
}
}
},
"required": [
"details"
],
"additionalProperties": false
}
},
"required": [
"applinks"
],
"additionalProperties": false
}AndroidAssetLinks
{
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"properties": {
"relation": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": {
"const": "delegate_permission/common.handle_all_urls"
}
},
"target": {
"type": "object",
"properties": {
"namespace": {
"const": "android_app"
},
"package_name": {
"type": "string"
},
"sha256_cert_fingerprints": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
}
},
"required": [
"namespace",
"package_name",
"sha256_cert_fingerprints"
],
"additionalProperties": false
},
"relation_extensions": {
"type": "object",
"properties": {
"delegate_permission/common.handle_all_urls": {
"type": "object",
"properties": {
"dynamic_app_link_components": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": {
"type": "object",
"properties": {
"/": {
"const": "/*"
}
},
"required": [
"/"
],
"additionalProperties": false
}
}
},
"required": [
"dynamic_app_link_components"
],
"additionalProperties": false
}
},
"required": [
"delegate_permission/common.handle_all_urls"
],
"additionalProperties": false
}
},
"required": [
"relation",
"target",
"relation_extensions"
],
"additionalProperties": false
}
}SmartLinkEdgeProblem
{
"type": "object",
"properties": {
"type": {
"const": "https://appportal.io/problems/upstream_unavailable"
},
"title": {
"const": "Bad Gateway"
},
"status": {
"const": 502
},
"code": {
"const": "upstream_unavailable"
},
"detail": {
"type": "string"
},
"message": {
"type": "string"
},
"error": {
"type": "string"
},
"traceId": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"instance": {
"type": "string",
"pattern": "^urn:appportal:request:[a-f0-9]{32}$"
}
},
"required": [
"type",
"title",
"status",
"code",
"detail",
"message",
"error",
"traceId",
"instance"
],
"additionalProperties": false
}