AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
Video generationSeedance

Create a human verification session

Create a liveness verification session and obtain the mobile capture page.

After creating a human liveness verification session, open H5Link in a mobile browser and save BytedToken. When capture is complete, the browser redirects to CallbackURL, but a successful callback does not mean the real-person asset group is ready.

Complete capture and retrieve the verification result within 10 minutes. If the session expires, create a new one instead of reusing an expired token.

POST/v1/assets/doubao/

Create a liveness verification session. Open H5Link in a mobile browser and save BytedToken to retrieve the final result.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

Action*"CreateVisualValidateSession"

Always CreateVisualValidateSession.

Default"CreateVisualValidateSession"

Value in

  • "CreateVisualValidateSession"
Version*"2024-01-01"

API version, always 2024-01-01.

Default"2024-01-01"

Value in

  • "2024-01-01"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json