post
https://api.sumsub.com/resources/snsId/oauth/shareLink
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Overview
Use this method to request a share link before opening the share consent screen for the Sumsub ID Connect – Partner sharing.
Request example
curl -X POST \
'https://api.sumsub.com/resources/snsId/oauth/shareLink' \
-H 'Authorization: Bearer token' \
-H 'X-App-Token: <your-app-token>' \
-H 'X-App-Access-Sig: <your-signature>' \
-H 'X-App-Access-Ts: <unix-timestamp>' \
-d '{
"redirectUri": "<your_redirect_uri>",
"forClientId": "CoolCompanyLtd",
"displayMode": "page",
"state": "<your_custom_state>"
}'Response explained
Sumsub validates the request, checks redirectUri against the allowlist, and generates a share page URL.
AttentionThe generated link expires in 5 minutes.
Response example
{
"link": "https://id.sumsub.com/share/<link_id>"
}