List consent links
curl --request GET \
--url https://api.qbank.cl/platform/v1/qscore/consents \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/qscore/consents"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qbank.cl/platform/v1/qscore/consents', 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/v1/qscore/consents",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.qbank.cl/platform/v1/qscore/consents"
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))
}HttpResponse<String> response = Unirest.get("https://api.qbank.cl/platform/v1/qscore/consents")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/qscore/consents")
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{
"consents": [
{
"consent_id": "c1a2b3d4-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"subject_id": "7e8f9a0b-1c2d-4e3f-8a9b-0c1d2e3f4a5b",
"channel": "link",
"status": "granted",
"purpose": "credit_evaluation",
"consent_url": "https://business.cbpayapp.com/consent/cns_4f9a2b7c1d8e4a0f9b3c6d5e8a7f1c2d",
"email": "maria@example.com",
"holder_name": "Maria Jose Contreras Soto",
"created_at": "2026-08-09T15:00:00Z",
"updated_at": "2026-08-10T09:21:44Z",
"expires_at": "2026-08-16T15:00:00Z",
"granted_at": "2026-08-10T09:21:44Z"
}
],
"total": 1,
"page": 1,
"page_size": 50
}List consent links
Lists the consent links of your account (newest first), paginated. The from and to date filters (organization timezone, both inclusive) are mandatory; page starts at 1 and page_size defaults to 50 (maximum 200). Consents owned by other accounts are never visible (ownership isolation).
GET
/
v1
/
qscore
/
consents
List consent links
curl --request GET \
--url https://api.qbank.cl/platform/v1/qscore/consents \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qbank.cl/platform/v1/qscore/consents"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qbank.cl/platform/v1/qscore/consents', 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/v1/qscore/consents",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.qbank.cl/platform/v1/qscore/consents"
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))
}HttpResponse<String> response = Unirest.get("https://api.qbank.cl/platform/v1/qscore/consents")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qbank.cl/platform/v1/qscore/consents")
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{
"consents": [
{
"consent_id": "c1a2b3d4-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"subject_id": "7e8f9a0b-1c2d-4e3f-8a9b-0c1d2e3f4a5b",
"channel": "link",
"status": "granted",
"purpose": "credit_evaluation",
"consent_url": "https://business.cbpayapp.com/consent/cns_4f9a2b7c1d8e4a0f9b3c6d5e8a7f1c2d",
"email": "maria@example.com",
"holder_name": "Maria Jose Contreras Soto",
"created_at": "2026-08-09T15:00:00Z",
"updated_at": "2026-08-10T09:21:44Z",
"expires_at": "2026-08-16T15:00:00Z",
"granted_at": "2026-08-10T09:21:44Z"
}
],
"total": 1,
"page": 1,
"page_size": 50
}Authorizations
Session JWT (from register/login) or API key (pk_...).
X-API-Key: <token> is accepted as an alternative header.
Query Parameters
Start date (YYYY-MM-DD, organization timezone, inclusive).
End date (YYYY-MM-DD, organization timezone, inclusive).
Filter by consent status.
Available options:
pending, granted, revoked, expired Required range:
x <= 200Response
Paged consent list.