Skip to main content

Generate Share Token Using Sumsub API

POST 

https://api.sumsub.com/resources/accessTokens/shareToken

Contact Hello Clever Support team to get Sumsub Client ID.

See the Sumsub Authentication documentation (https://docs.sumsub.com/reference/authentication) to add the required headers to the Sumsub API request.

Request

Body

    applicantIdstringrequired

    The applicant's ID in the Sumsub system.

    forClientIdstringrequired

    Contact Hello Clever Support team to get Client ID.

    ttlInSecsint32

    The lifespan of the generated token in seconds.

Responses

Schema
    tokenstringrequired
    forClientIdstringrequired
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.sumsub.com/resources/accessTokens/shareToken");
request.Headers.Add("Accept", "application/json");
var content = new StringContent("{\n \"applicantId\": \"string\",\n \"forClientId\": \"string\"\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://api.sumsub.com
Body
{
  "applicantId": "string",
  "forClientId": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!