Seedance
Activar verificación de persona real
Activa una sesión firmada de verificación de persona real para un grupo de recursos de personaje pendiente.
POST
/
api
/
asset
/
groups
/
{id}
/
liveness
cURL
curl -X POST \
"https://api.cometapi.com/api/asset/groups/<GROUP_ID>/liveness?expires=<EXPIRES>&signature=<SIGNATURE>"import requests
response = requests.post(
"https://api.cometapi.com/api/asset/groups/<GROUP_ID>/liveness?expires=<EXPIRES>&signature=<SIGNATURE>",
timeout=30,
)
response.raise_for_status()
print(response.json())
const response = await fetch(
"https://api.cometapi.com/api/asset/groups/<GROUP_ID>/liveness?expires=<EXPIRES>&signature=<SIGNATURE>",
{ method: "POST" },
);
if (!response.ok) throw new Error(await response.text());
console.log(await response.json());
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cometapi.com/api/asset/groups/{id}/liveness",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.cometapi.com/api/asset/groups/{id}/liveness"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.cometapi.com/api/asset/groups/{id}/liveness")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cometapi.com/api/asset/groups/{id}/liveness")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"message": "",
"data": {}
}Activate a verification session for a pending
La respuesta contiene
real group. Use the expires and signature query values from the group’s liveness.platform_wrapper_url. This endpoint uses the signed URL as its access control and does not use an access token.
curl -X POST \
"https://api.cometapi.com/api/asset/groups/<GROUP_ID>/liveness?expires=<EXPIRES>&signature=<SIGNATURE>"
data.session_ref. El wrapper de verificación usa este valor para abrir el proveedor. No guardes ni reutilices la referencia de sesión como ID de grupo.
Si la firma no es válida o ha caducado, el endpoint devuelve HTTP 403. El endpoint solo acepta un grupo pendiente de persona real. Después de que la persona complete la verificación, usa Recuperar un grupo de recursos de personaje o Recuperar el estado de verificación hasta que el grupo pase a active.Parámetros de consulta
Última modificación el 1 de diciembre de 2026
⌘I
cURL
curl -X POST \
"https://api.cometapi.com/api/asset/groups/<GROUP_ID>/liveness?expires=<EXPIRES>&signature=<SIGNATURE>"import requests
response = requests.post(
"https://api.cometapi.com/api/asset/groups/<GROUP_ID>/liveness?expires=<EXPIRES>&signature=<SIGNATURE>",
timeout=30,
)
response.raise_for_status()
print(response.json())
const response = await fetch(
"https://api.cometapi.com/api/asset/groups/<GROUP_ID>/liveness?expires=<EXPIRES>&signature=<SIGNATURE>",
{ method: "POST" },
);
if (!response.ok) throw new Error(await response.text());
console.log(await response.json());
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cometapi.com/api/asset/groups/{id}/liveness",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.cometapi.com/api/asset/groups/{id}/liveness"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.cometapi.com/api/asset/groups/{id}/liveness")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cometapi.com/api/asset/groups/{id}/liveness")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"message": "",
"data": {}
}