Read a consent request (public, holder)
curl --request GET \
--url https://api.qbank.cl/platform/consent/{token}import requests
url = "https://api.qbank.cl/platform/consent/{token}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.qbank.cl/platform/consent/{token}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.qbank.cl/platform/consent/{token}",
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.qbank.cl/platform/consent/{token}"
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.qbank.cl/platform/consent/{token}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/consent/{token}")
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{
"status": "pending",
"purpose": "credit_evaluation",
"country": "CL",
"subject_type": "person",
"doc_id": "********678-5",
"org": {
"name": "ACME SpA",
"website": "https://acme.example.com",
"logo_url": "https://cdn.example.com/acme/logo.png"
},
"expires_at": "2026-08-16T15:00:00Z"
}{
"error": "not_found",
"message": "consent not found"
}{
"error": "rate_limited",
"message": "too many requests"
}Read a consent request (public, holder)
Public view of the consent request behind a consent_url. The URL token IS the capability (128 random bits, unique per consent): no login is required, and an unknown token answers a generic 404 (anti-enumeration). The response is minimal on purpose: doc_id is masked to its last 4 characters, and the email, holder identity and internal ids are never exposed. Rate limited per IP.
GET
/
consent
/
{token}
Read a consent request (public, holder)
curl --request GET \
--url https://api.qbank.cl/platform/consent/{token}import requests
url = "https://api.qbank.cl/platform/consent/{token}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.qbank.cl/platform/consent/{token}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.qbank.cl/platform/consent/{token}",
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.qbank.cl/platform/consent/{token}"
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.qbank.cl/platform/consent/{token}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/consent/{token}")
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{
"status": "pending",
"purpose": "credit_evaluation",
"country": "CL",
"subject_type": "person",
"doc_id": "********678-5",
"org": {
"name": "ACME SpA",
"website": "https://acme.example.com",
"logo_url": "https://cdn.example.com/acme/logo.png"
},
"expires_at": "2026-08-16T15:00:00Z"
}{
"error": "not_found",
"message": "consent not found"
}{
"error": "rate_limited",
"message": "too many requests"
}Path Parameters
Opaque consent token embedded in the consent_url.
Response
Consent request summary for the holder.