Generate external WebSDK link

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Overview

Use this method to generate an external link (permalink) to the WebSDK for a specific applicant.

Optionally, you can define post-verification redirect behavior by including the redirect parameter in the request. This allows you to specify custom URLs for successful or failed verification outcomes.

Required permissions

To use this method, your app token must have the Create applicants permission.

Note

To pass the note body parameter, your app token must also have the Manage applicant notes permission.

Request examples

curl -X POST \
     'https://api.sumsub.com/resources/sdkIntegrations/levels/-/websdkLink?lang=en&source=dashboardFlows&customizationName=SomeCustomization&translationName=SomeTranslation' \
     -H 'content-type: application/json' \
     -H 'X-App-Token: <your-app-token>' \
     -H 'X-App-Access-Sig: <your-signature>' \
     -H 'X-App-Access-Ts: <unix-timestamp>' \
     -d '{
            "levelName": "level-name",
            "userId": "cool-external-user-id",
            "applicantIdentifiers": {
              "email": "[email protected]",
              "phone": "+4400000000000"
            },
            "redirect": {
              "successUrl": "https://website/zdf;jzgxhd;fibzh;dfihb;kdsh;vzu?status=ok",
              "rejectUrl": "https://website/zdf;hzidxh54o8yw49ah489gh;drughr?status=reject",
              "signKey" : "dzihgsiKUH786769p",
              "allowedQueryParams": [
                "param1",
                "param2",
                "param3",
                "param4"
              ]
            },
            "note": "Speaks Spanish only, an interpreter is needed",
            "ttlInSecs": 1800,            
          }'
curl -X POST \
     'https://api.sumsub.com/resources/sdkIntegrations/levels/-/websdkLink?lang=en&translationName=SomeTranslation' \
     -H 'content-type: application/json' \
     -H 'X-App-Token: <your-app-token>' \
     -H 'X-App-Access-Sig: <your-signature>' \
     -H 'X-App-Access-Ts: <unix-timestamp>' \
     -d '{
            "levelName": "action-level-name",
            "userId": "cool-external-user-id",
            "externalActionId": "86893ec9-d48c-496a-9f72-69e272ac84e9",           
            "ttlInSecs": 3600            
          }'

Response explained

In the response, you will get a new link to the WebSDK.

The following is a response example in case the request is sent and processed correctly:

{
  "url":"http://localhost:8092/websdk/p/7JwtC0pb9mcqQsLb"
}

If the request fails, you will receive an HTTP response containing an error code along with a message explaining the error. For example:

{
  "description": "Request signature mismatch",
  "code": 401,
  "correlationId": "c0b20cfbbf674ce5aeaf479e72d33af8",
  "errorCode": 4003,
  "errorName": "app-token-signature mismatch"
}
Query Params
Body Params
Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!