Seedance
Verificatiestatus van een echte persoon ophalen
Lees de ondertekende verificatiestatus voor een groep met assets voor een echte persoon met status pending.
GET
/
api
/
asset
/
groups
/
{id}
/
liveness
/
status
cURL
curl \
"https://api.cometapi.com/api/asset/groups/<GROUP_ID>/liveness/status?expires=<EXPIRES>&signature=<SIGNATURE>"import requests
response = requests.get(
"https://api.cometapi.com/api/asset/groups/<GROUP_ID>/liveness/status?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/status?expires=<EXPIRES>&signature=<SIGNATURE>",
{ method: "GET" },
);
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/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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/status"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cometapi.com/api/asset/groups/{id}/liveness/status")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cometapi.com/api/asset/groups/{id}/liveness/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"message": "",
"data": {}
}Lees het statusendpoint uit de ondertekende verificatie-URL die voor een wachtende groep voor een echt persoon is geretourneerd. De aanvraag gebruikt de querywaarden
De respons bevat de naam van de verificatiepagina, de groepsstatus en de informatie of een verificatiesessie actief is.
Poll het endpoint met de ondertekende URL totdat
expires en signature en heeft geen toegangstoken nodig.
curl \
"https://api.cometapi.com/api/asset/groups/<GROUP_ID>/liveness/status?expires=<EXPIRES>&signature=<SIGNATURE>"
| Veld | Beschrijving |
|---|---|
data.name | Naam van de assetgroep. |
data.status | pending, active of expired. |
data.activated | Of de verificatiesessie actief is. |
data.status=active. Ongeldige of verlopen handtekeningen retourneren HTTP 403. Een ontbrekende groep retourneert HTTP 404.Queryparameters
Laatst gewijzigd op 1 december 2026
⌘I
cURL
curl \
"https://api.cometapi.com/api/asset/groups/<GROUP_ID>/liveness/status?expires=<EXPIRES>&signature=<SIGNATURE>"import requests
response = requests.get(
"https://api.cometapi.com/api/asset/groups/<GROUP_ID>/liveness/status?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/status?expires=<EXPIRES>&signature=<SIGNATURE>",
{ method: "GET" },
);
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/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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/status"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cometapi.com/api/asset/groups/{id}/liveness/status")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cometapi.com/api/asset/groups/{id}/liveness/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"message": "",
"data": {}
}