Request
curl 'https://ark.cn-beijing.volcengineapi.com/?Action=CreateVisualValidateSession&Version=2024-01-01' \
-H 'Content-Type: application/json' \
-H 'X-Date: <X-Date>' \
-H 'X-Content-Sha256: <X-Content-Sha256>' \
-H 'Authorization: HMAC-SHA256 Credential=<AK>/<X-Date>/cn-beijing/ark/request, SignedHeaders=content-type;host;x-content-sha256;x-date, Signature=<Signature>' \
-d '{
"CallbackURL": "https://your-domain.example.com/callback",
"ProjectName": "default"
}
'Response
{
"ResponseMetadata": {
"RequestId": "202405142130005E6F708192031A2B3C",
"Action": "CreateVisualValidateSession",
"Version": "2024-01-01",
"Service": "ark",
"Region": "cn-beijing"
},
"Result": {
"BytedToken": "vvs-20240514212750-c8f2p",
"H5Link": "https://ark.cn-beijing.volcengine.com/verify/h5?byted_token=vvs-20240514212750-c8f2p&lng=zh",
"CallbackURL": "https://your-domain.example.com/callback"
}
}