• READY
  • SECURE
  • HUMAN
  • SYNCED

How to generate WebSDK tokens with your AI

Connect Sumsub to your AI client once. After that, your agent handles the token generation needed to launch verification sessions.

Ask AI about this page

Short answer

How can I get WebSDK tokens using my AI?

You tell your AI to generate a token for a specific user or session. The agent calls Sumsub to create the secure access token, which you then use to initialize the verification UI. This setup handles the heavy lifting of session setup through a single prompt.

Where every token lands.

The outcomes of token generation

Once your AI triggers the process, you get these specific results.

READY

Active WebSDK tokens

The AI uses the tool to fetch a valid token. You get the string needed to launch the Sumsub SDK in your app.

SECURE

Encrypted session data

The token carries the necessary security context from Sumsub. Your verification flow stays protected without manual key handling.

HUMAN

Manual review needed

The AI only handles the token creation. You still need to manage the actual user identity verification results in your dashboard.

SYNCED

User flow readiness

The AI prepares the session parameters. This ensures the user-facing verification component starts with the right configuration.

The workflow

What your AI does when you request a token.

The AI acts as the bridge between your instructions and the Sumsub API.

  1. Identify the user

    Your agent looks at the user details or session requirements you provided in the chat.

    generate_access_token
  2. Request the token

    The AI calls the Sumsub tool to request a fresh, secure WebSDK token.

    generate_access_token
  3. Validate parameters

    The agent ensures the request matches the required Sumsub schema for a valid session.

    generate_access_token
  4. Deliver the token

    The AI hands the token back to you so you can pass it to your frontend code.

    generate_access_token

Try it

Copy these to start.

Use these prompts to trigger the Sumsub token generation.

Starting points

Swap out the bracketed info with your actual user IDs or session details.

Sumsub Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_iHewIRYtFeazsAHvuNv9VlgGwiZnBNlz8RkMk9Zu/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Sumsub capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "sumsub-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_iHewIRYtFeazsAHvuNv9VlgGwiZnBNlz8RkMk9Zu/mcp"
    }
  }
}
Copy into chat04
  • Generate a Sumsub WebSDK token for user ID 98765.

  • I need a new access token for a verification session for client_abc_123.

  • Create a WebSDK token using the current session context.

  • Get a Sumsub token for the user with email test@example.com.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Sumsub once, then ask.

Just link your Sumsub account to Vinkius. Your credentials stay encrypted, and your AI can start making calls immediately.

Connect Sumsub to your AI

FAQ

How this task behaves

  • 01

    Can the AI complete the user's identity verification?

    No. The AI only generates the token required to start the process. The actual user interaction happens in the WebSDK UI.

  • 02

    Does the AI see the user's sensitive ID documents?

    No. The tool only creates the access token. It does not have permission to read or view the documents uploaded by the user.

  • 03

    Can I use these tokens for multiple users?

    Yes, you can ask the AI to generate a new, unique token for every individual user session.

  • 04

    Will the AI change my Sumsub settings?

    No. The available tool is strictly for generating access tokens. It cannot modify your Sumsub account configuration.

  • 05

    Do I need to provide my API secret to the AI?

    No. You provide your credentials to Vinkius, which keeps them secure. The AI uses the connection to perform the action.

  • More questions about Sumsub? See everything the Sumsub Connector can do

Connect Sumsub to Claude, Cursor, ChatGPT & more