Hosted Link launches a verification session URL directly in a browser or secure mobile browser context. Use Hosted Link when you want to minimize frontend development, when your security model prefers a redirect-based flow, or when your mobile application should open Link in a secure browser context instead of embedding a native SDK.Documentation Index
Fetch the complete documentation index at: https://docs.argyle.com/llms.txt
Use this file to discover all available pages before exploring further.
Tradeoffs
| Hosted Link gives you | Hosted Link does not give you |
|---|---|
| A direct session URL to open from your application | Link callbacks |
| A browser-native or secure-browser launch model | Frontend control over the Link instance |
| Lower frontend implementation effort | Embedded SDK controls such as programmatic open and close behavior |
verifications.updated webhooks. Treat redirects back to your application as a user navigation event, not as proof that the verification is complete.
Create a session URL
Create a verification session viaPOST /v2/sessions. The response includes a link URL.
Example request for a desktop browser session:
For payroll Hosted Link sessions opened from a secure browser context in a mobile app, set
configuration.mobile_app to true when creating the session.Hosted Link uses verification session URLs. These session links expire after one hour, and a new session link can be created at any time by creating another session for the active verification.
Launch Hosted Link
On web, open the sessionlink in the same tab, a popup window, or a separate tab.
link in a secure browser context, such as ASWebAuthenticationSession on iOS or Android Custom Tabs on Android.
Avoid loading Hosted Link inside an iframe. If you need iframe isolation or Link callbacks, use the Web SDK with connectUrl.
Return users to your application
Setconfiguration.redirect_url when creating the session so the user can return to your application after leaving Hosted Link. For desktop browser flows, use a regular https:// URL. For mobile app flows, use a return target that can open your app directly:
- A custom scheme, such as
your-custom-scheme://return-to-app - A Universal Link on iOS or an App Link on Android
user_submission_completeuser_attempted_employer_selection
onClose fields available in embedded Link, but webhooks remain the source of truth for verification completion.
A plain redirect URL is valid. For example:
state or nonce value when you need to match the returning browser session to an internal user, session, or verification. A state or nonce is a unique value generated by your application, added to the redirect URL, and checked when the user returns. For example: