Integration
List verification links
List every verification link on your account with its status and remaining runs.
GET
/
merchant
/
verification-links
List verification links
curl --request GET \
--url https://prod.idto.ai/merchant/verification-links \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://prod.idto.ai/merchant/verification-links', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://prod.idto.ai/merchant/verification-links', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://prod.idto.ai/merchant/verification-links"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://prod.idto.ai/merchant/verification-links"
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://prod.idto.ai/merchant/verification-links",
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://prod.idto.ai/merchant/verification-links")
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_bodyHttpResponse<String> response = Unirest.get("https://prod.idto.ai/merchant/verification-links")
.header("Authorization", "Bearer <token>")
.asString();[
{
"id": "6f1c2d3e-4b5a-4c7d-8e9f-0a1b2c3d4e5f",
"token": "sample-link-token-0000000000000000000000000",
"url": "https://try.idto.ai/v/sample-link-token-0000000000000000000000000",
"label": "Vendor onboarding KYC",
"workflow_template_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"brand": {
"businessName": "SAMPLE TECHNOLOGIES",
"logo": "",
"brandColor": "#0F62FE"
},
"presentation": {},
"options": {},
"max_runs": 50,
"runs_used": 50,
"runs_left": 0,
"created_at": "2026-10-02T10:15:30.123456+00:00",
"expires_at": "2026-11-01T10:15:30.123456+00:00",
"revoked_at": null,
"status": "spent"
}
]Returns every verification link on your account, newest first. Use Reading
See Create a verification link for the request that makes a link. More answers in the Integration FAQ.
Was this page helpful? Email us at tech@idto.ai with the page link.
status and runs_left to see which links still work, and id to revoke one.
Authentication
Send a dashboard login token asAuthorization: Bearer <token> (from POST /auth/login, valid 12 hours). X-Client-ID and X-API-Key are not accepted. Every team member role can list links. Not billed.
Reading status
status | Meaning |
|---|---|
active | The link starts new sessions. |
expired | Past expires_at. Sessions already in progress can finish. |
spent | runs_used has reached max_runs. Sessions already in progress can finish. |
revoked | Revoked by you. Permanent. Sessions already in progress stop when their session token expires. Takes priority over expired and spent. |
Environments
| Environment | Base URL | Notes |
|---|---|---|
| Production | https://prod.idto.ai | Log in with your production dashboard account. |
| Staging | https://dev.idto.ai | Log in with your staging dashboard account. |
Errors
| HTTP | detail | What to do |
|---|---|---|
| 401 | Could not validate credentials | Log in again for a fresh token. |
| 401 | Not authenticated | Send Authorization: Bearer <token>; API keys are not accepted here. |
Test scenarios
| Input | Expected result |
|---|---|
| Valid token, account with links | 200, array newest first |
| Valid token, account without links | 200, [] |
| Expired token | 401 |
Authorizations
Response
All links on the account, newest first. An empty array when there are none.
A link is active until it becomes expired (past expires_at), spent (runs_used has reached max_runs), or revoked (explicitly revoked). revoked is permanent and takes priority over the other two. An expired or spent link still lets a session already in progress finish; a revoked link blocks everything immediately, including sessions already in progress.
Available options:
active, expired, spent, revoked Last modified on October 4, 2026
List verification links
curl --request GET \
--url https://prod.idto.ai/merchant/verification-links \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://prod.idto.ai/merchant/verification-links', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://prod.idto.ai/merchant/verification-links', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://prod.idto.ai/merchant/verification-links"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://prod.idto.ai/merchant/verification-links"
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://prod.idto.ai/merchant/verification-links",
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://prod.idto.ai/merchant/verification-links")
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_bodyHttpResponse<String> response = Unirest.get("https://prod.idto.ai/merchant/verification-links")
.header("Authorization", "Bearer <token>")
.asString();[
{
"id": "6f1c2d3e-4b5a-4c7d-8e9f-0a1b2c3d4e5f",
"token": "sample-link-token-0000000000000000000000000",
"url": "https://try.idto.ai/v/sample-link-token-0000000000000000000000000",
"label": "Vendor onboarding KYC",
"workflow_template_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"brand": {
"businessName": "SAMPLE TECHNOLOGIES",
"logo": "",
"brandColor": "#0F62FE"
},
"presentation": {},
"options": {},
"max_runs": 50,
"runs_used": 50,
"runs_left": 0,
"created_at": "2026-10-02T10:15:30.123456+00:00",
"expires_at": "2026-11-01T10:15:30.123456+00:00",
"revoked_at": null,
"status": "spent"
}
]