⑪ Generate real person authentication link
Create a real-person H5 verification link; returns BytedToken and H5Link for the talent to complete verification.
POST
/v1/real-avatar/auth/sessionBody Parametersapplication/json
CallbackURL* string · uri
Browser jump address after actor certification is completed (the business party’s own front-end page, required)
Lng string
H5 page language (optional)
model* string
Routing parameters (fixed to pass this value)
Responses
200 Success, returns H5Link and BytedToken application/json
response-200 object
properties ResponseMetadata object
Response metadata (Action / Version / RequestId, etc.)
Result object
Business result object
400 Bad request or validation failed application/json
response-400 object
properties error* object
401 Missing or invalid API Key application/json
response-401 object
1{
2"CallbackURL": "string",
3"model": "doubao-seedance-2-0-260128"
4}
1curl -X POST "https://api.digislash.com/v1/real-avatar/auth/session" \
2-H "Authorization: Bearer <API Key>" \
3-H "Content-Type: application/json" \
4-d '{
5"CallbackURL": "string",
6"model": "doubao-seedance-2-0-260128"
7}'
1▼{
2▼"ResponseMetadata": {
3"Action": "string",
4▶"Error": { 2 keys },
5"Region": "string",
6"RequestId": "string",
7"Service": "string",
8"Version": "string"
9},
10▼"Result": {
11"BytedToken": "string",
12"CallbackURL": "string",
13"H5Link": "string"
14}
15}
