API ReferenceHuman Verification
Create liveness verification session
Create a BytePlus liveness verification session and return an H5 verification link that can be distributed to end users.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/resource-channel/byteplus/visual-validate/sessions" \ -H "Content-Type: application/json" \ -d '{ "callback_url": "https://modelsok.com/v1/callback" }'{
"success": true,
"message": "string",
"data": {
"session_id": "string",
"byted_token": "string",
"h5_link": "http://example.com",
"callback_url": "http://example.com",
"channel_id": 0,
"status": "string",
"group_id": "string",
"raw_response": "string",
"expires_at": "string",
"created_at": "string",
"updated_at": "string"
}
}