API reference
Verification Links
The signed, expiring links people open on their phone to complete a Verification or a Claim.
Create a new link for a verification
POST/verifications/{id}/verification_links
Issues a fresh Verification Link and Session for a Verification with no Result: after the link expired, after processing failed, or when the person asks again. Earlier links stop working.
Path parameters
- idstringrequired
The Verification's id.
Body parameters
- linkExpiresInHoursinteger
How long the new link works.
Responses
- 200
The Verification with its new
verificationLink. - 401
api_key_missing: No API key was sent. SendAuthorization: Bearer <key>.api_key_invalid: The API key is not recognised, or it was revoked. - 404
resource_missing: No object with that id exists for this key's account and mode. - 409
verification_state: The Verification is in a state that does not allow this operation.result_exists: A Verification Result exists, so the Claim can no longer be cancelled or sent a new link. - 429
rate_limited: Too many requests. Wait for the number of seconds in Retry-After.
curl -X POST https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d/verification_links \
-H "Authorization: Bearer $VERILO_API_KEY" \
-H "Idempotency-Key: rma-1042-create" \
-H "Content-Type: application/json" \
-d '{
"linkExpiresInHours": 48
}'const response = await fetch('https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d/verification_links', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.VERILO_API_KEY}`,
'Idempotency-Key': 'rma-1042-create',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"linkExpiresInHours": 48
}),
});
console.log(await response.json());import os
import requests
response = requests.post(
"https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d/verification_links",
headers={"Authorization": f"Bearer {os.environ['VERILO_API_KEY']}", "Idempotency-Key": "rma-1042-create"},
json={
"linkExpiresInHours": 48,
},
)
print(response.json())require "json"
require "net/http"
uri = URI("https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d/verification_links")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("VERILO_API_KEY")}"
request["Idempotency-Key"] = "rma-1042-create"
request["Content-Type"] = "application/json"
request.body = <<~JSON
{
"linkExpiresInHours": 48
}
JSON
response = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(request) }
puts JSON.parse(response.body)<?php
$ch = curl_init('https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d/verification_links');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('VERILO_API_KEY'),
'Idempotency-Key: rma-1042-create',
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => <<<JSON
{
"linkExpiresInHours": 48
}
JSON,
]);
echo curl_exec($ch);package main
import (
"fmt"
"io"
"net/http"
"os"
"strings"
)
func main() {
body := strings.NewReader(`{
"linkExpiresInHours": 48
}`)
req, _ := http.NewRequest("POST", "https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d/verification_links", body)
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer "+os.Getenv("VERILO_API_KEY"))
req.Header.Set("Idempotency-Key", "rma-1042-create")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}{
"id": "ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d",
"object": "verification",
"livemode": false,
"template": {
"id": "warranty_serial",
"version": 1,
"name": "Warranty claim with serial capture"
},
"status": "link_sent",
"reference": "WAR-20931",
"subject": {
"name": "KX-200 electric kettle"
},
"references": {
"serial": {
"codes": [
"SN-KX200-778812"
]
},
"item": {
"imageUrl": "https://api.verilo.app/v1/samples/ceramic-table-lamp.jpg"
}
},
"claimId": null,
"verificationLink": {
"url": "https://verilo.app/v/NmQ4ZjJhMWMtOWIxZS00YzNkLThhN2YtMmUxZDljNGI1YTZm",
"expiresAt": "2026-11-18T09:30:00Z"
},
"session": {
"id": "ses_6d8f2a1c9b1e4c3d8a7f2e1d9c4b5a6f",
"status": "issued",
"startedAt": null,
"endedAt": null
},
"result": null,
"metadata": {
"case": "20931"
},
"createdAt": "2026-11-15T09:30:00Z",
"updatedAt": "2026-11-15T09:30:00Z"
}Create a new verification link
POST/claims/{id}/verification_links
Issues a fresh Verification Link and Session for a Claim with no Result: after the link expired, after processing failed, or when the customer asks again. Earlier links stop working.
Path parameters
- idstringrequired
The Claim's id.
Body parameters
- sendEmailboolean
Email the new link to the order's customer.
Responses
- 200
The Claim with its new
verificationLink. - 401
api_key_missing: No API key was sent. SendAuthorization: Bearer <key>.api_key_invalid: The API key is not recognised, or it was revoked. - 404
resource_missing: No object with that id exists for this key's account and mode. - 409
claim_state: The Claim is in a state that does not allow this operation.result_exists: A Verification Result exists, so the Claim can no longer be cancelled or sent a new link. - 429
rate_limited: Too many requests. Wait for the number of seconds in Retry-After.
curl -X POST https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b/verification_links \
-H "Authorization: Bearer $VERILO_API_KEY" \
-H "Idempotency-Key: rma-1042-create" \
-H "Content-Type: application/json" \
-d '{
"sendEmail": false
}'const response = await fetch('https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b/verification_links', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.VERILO_API_KEY}`,
'Idempotency-Key': 'rma-1042-create',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"sendEmail": false
}),
});
console.log(await response.json());import os
import requests
response = requests.post(
"https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b/verification_links",
headers={"Authorization": f"Bearer {os.environ['VERILO_API_KEY']}", "Idempotency-Key": "rma-1042-create"},
json={
"sendEmail": False,
},
)
print(response.json())require "json"
require "net/http"
uri = URI("https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b/verification_links")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("VERILO_API_KEY")}"
request["Idempotency-Key"] = "rma-1042-create"
request["Content-Type"] = "application/json"
request.body = <<~JSON
{
"sendEmail": false
}
JSON
response = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(request) }
puts JSON.parse(response.body)<?php
$ch = curl_init('https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b/verification_links');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('VERILO_API_KEY'),
'Idempotency-Key: rma-1042-create',
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => <<<JSON
{
"sendEmail": false
}
JSON,
]);
echo curl_exec($ch);package main
import (
"fmt"
"io"
"net/http"
"os"
"strings"
)
func main() {
body := strings.NewReader(`{
"sendEmail": false
}`)
req, _ := http.NewRequest("POST", "https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b/verification_links", body)
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer "+os.Getenv("VERILO_API_KEY"))
req.Header.Set("Idempotency-Key", "rma-1042-create")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}{
"id": "clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b",
"object": "claim",
"livemode": false,
"status": "link_sent",
"reference": "RMA-1042",
"order": {
"id": "1042",
"name": "#1042"
},
"item": {
"lineId": "li_1",
"title": "Ceramic Table Lamp",
"variant": "Oat",
"sku": "LAMP-OAT",
"quantity": 1
},
"description": "Arrived with a crack across the base.",
"value": "189.00",
"currency": "USD",
"verificationLink": {
"url": "https://verilo.app/v/MDA2OWIyZjEtMjQxZi00NTNhLTkwYTItZDBiNjhjYmY4Y2Fm",
"expiresAt": "2026-11-11T09:30:00Z"
},
"session": {
"id": "ses_9d2e7b1c4a3f4e8d9b6a5c4d3e2f1a0b",
"status": "issued",
"startedAt": null,
"endedAt": null
},
"result": null,
"outcome": null,
"metadata": {
"store": "oak-and-clay",
"ticket": "4411"
},
"dashboardUrl": "https://verilo.app/dashboard/claims/4c1f0e9a-2b7d-4e5f-8a6b-3c2d1e0f9a8b",
"createdAt": "2026-11-08T09:30:00Z",
"updatedAt": "2026-11-08T09:30:00Z"
}