Lista validações por ordem de criação.
curl --request GET \
--url https://api.id.zapsign.com.br/v1/validations \
--header 'Authorization: Bearer <token>'const url = 'https://api.id.zapsign.com.br/v1/validations';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.id.zapsign.com.br/v1/validations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.id.zapsign.com.br/v1/validations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.id.zapsign.com.br/v1/validations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}require 'uri'
require 'net/http'
url = URI("https://api.id.zapsign.com.br/v1/validations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "list",
"has_more": true,
"data": [
{
"object": "validation",
"id": "val_06YGSA9CF0V6RVXT326BS4K1ZA",
"type": "liveness_document_match",
"status": "completed",
"result": "passed",
"reason_code": null,
"external_id": "pedido_12345",
"created_at": "2026-08-07T14:20:00Z",
"resolved_at": "2026-08-07T14:26:35Z",
"validation_url": "https://id.zapsign.com.br/validate/val_06YGSA9CF0V6RVXT326BS4K1ZA",
"expires_at": "2026-08-08T14:20:00Z",
"details": null
},
{
"object": "validation",
"id": "val_0NQW3MVYJYQ453E95V3V1T76AV",
"type": "cpf_phone_match",
"status": "completed",
"result": "match",
"reason_code": null,
"external_id": null,
"created_at": "2026-08-07T14:03:11Z",
"resolved_at": "2026-08-07T14:03:12Z",
"validation_url": null,
"expires_at": null,
"details": null
}
]
}{
"error": {
"type": "invalid_request",
"code": "missing_required_param",
"message": "A required parameter is missing.",
"param": "cpf",
"doc_url": "https://docs.id.zapsign.com.br/missing_required_param",
"request_id": "req_3PK3TA2H0MEMTDSAPREHSY4QC4"
}
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key provided is invalid.",
"doc_url": "https://docs.id.zapsign.com.br/invalid_api_key",
"request_id": "req_3PK3TA2H0MEMTDSAPREHSY4QC4"
}
}{
"error": {
"type": "rate_limit_error",
"code": "rate_limit_exceeded",
"message": "Too many requests. Please retry after the indicated delay.",
"doc_url": "https://docs.id.zapsign.com.br/rate_limit_exceeded",
"request_id": "req_3PK3TA2H0MEMTDSAPREHSY4QC4"
}
}{
"error": {
"type": "api_error",
"code": "api_error",
"message": "An internal error occurred.",
"doc_url": "https://docs.id.zapsign.com.br/api_error",
"request_id": "req_3PK3TA2H0MEMTDSAPREHSY4QC4"
}
}Validações
Listar validações
Percorre as validações da conta, da mais recente para a mais antiga.
GET
/
validations
Lista validações por ordem de criação.
curl --request GET \
--url https://api.id.zapsign.com.br/v1/validations \
--header 'Authorization: Bearer <token>'const url = 'https://api.id.zapsign.com.br/v1/validations';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.id.zapsign.com.br/v1/validations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.id.zapsign.com.br/v1/validations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.id.zapsign.com.br/v1/validations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}require 'uri'
require 'net/http'
url = URI("https://api.id.zapsign.com.br/v1/validations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "list",
"has_more": true,
"data": [
{
"object": "validation",
"id": "val_06YGSA9CF0V6RVXT326BS4K1ZA",
"type": "liveness_document_match",
"status": "completed",
"result": "passed",
"reason_code": null,
"external_id": "pedido_12345",
"created_at": "2026-08-07T14:20:00Z",
"resolved_at": "2026-08-07T14:26:35Z",
"validation_url": "https://id.zapsign.com.br/validate/val_06YGSA9CF0V6RVXT326BS4K1ZA",
"expires_at": "2026-08-08T14:20:00Z",
"details": null
},
{
"object": "validation",
"id": "val_0NQW3MVYJYQ453E95V3V1T76AV",
"type": "cpf_phone_match",
"status": "completed",
"result": "match",
"reason_code": null,
"external_id": null,
"created_at": "2026-08-07T14:03:11Z",
"resolved_at": "2026-08-07T14:03:12Z",
"validation_url": null,
"expires_at": null,
"details": null
}
]
}{
"error": {
"type": "invalid_request",
"code": "missing_required_param",
"message": "A required parameter is missing.",
"param": "cpf",
"doc_url": "https://docs.id.zapsign.com.br/missing_required_param",
"request_id": "req_3PK3TA2H0MEMTDSAPREHSY4QC4"
}
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "The API key provided is invalid.",
"doc_url": "https://docs.id.zapsign.com.br/invalid_api_key",
"request_id": "req_3PK3TA2H0MEMTDSAPREHSY4QC4"
}
}{
"error": {
"type": "rate_limit_error",
"code": "rate_limit_exceeded",
"message": "Too many requests. Please retry after the indicated delay.",
"doc_url": "https://docs.id.zapsign.com.br/rate_limit_exceeded",
"request_id": "req_3PK3TA2H0MEMTDSAPREHSY4QC4"
}
}{
"error": {
"type": "api_error",
"code": "api_error",
"message": "An internal error occurred.",
"doc_url": "https://docs.id.zapsign.com.br/api_error",
"request_id": "req_3PK3TA2H0MEMTDSAPREHSY4QC4"
}
}Authorizations
Sua chave de API no cabeçalho Authorization: Bearer sk_.... Crie e revogue chaves no painel ou pelos endpoints de Chaves de API.
Query Parameters
Quantidade de itens por página.
Required range:
1 <= x <= 100Cursor para avançar. Use o id do último item da página atual; ele não volta no resultado.
Cursor para voltar. Use o id do primeiro item da página atual; ele não volta no resultado.
Was this page helpful?
⌘I