API reference
Claims
The damage claim template as its own resource: a customer's claim that one order item arrived damaged, checked against the order, from its Verification Link to its Result and your Outcome.
List claims
GET/claims
Claims in this mode, newest first, a page at a time.
Query parameters
- limitinteger
How many objects to return, 1 to 100.
- startingAfterstring
A cursor: the id of the last object on the previous page. The next page starts after it.
- statusstring
Only Claims with this status.
One of
link_sent,in_progress,link_expired,result_ready,processing_failed,outcome_recorded,cancelled - referencestring
Only the Claim with this reference.
- orderIdstring
Only Claims on this order (your id).
Responses
- 200
A page of Claims.
- 400
parameter_invalid: A parameter has the wrong type or an invalid value.paramnames it. - 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. - 429
rate_limited: Too many requests. Wait for the number of seconds in Retry-After.
curl https://api.verilo.app/v1/claims \
-H "Authorization: Bearer $VERILO_API_KEY"const response = await fetch('https://api.verilo.app/v1/claims', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.VERILO_API_KEY}`,
},
});
console.log(await response.json());import os
import requests
response = requests.get(
"https://api.verilo.app/v1/claims",
headers={"Authorization": f"Bearer {os.environ['VERILO_API_KEY']}"},
)
print(response.json())require "json"
require "net/http"
uri = URI("https://api.verilo.app/v1/claims")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("VERILO_API_KEY")}"
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');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('VERILO_API_KEY'),
],
]);
echo curl_exec($ch);package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.verilo.app/v1/claims", nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("VERILO_API_KEY"))
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}{
"object": "list",
"data": [
{
"id": "clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b",
"object": "claim",
"livemode": false,
"status": "result_ready",
"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": null,
"session": {
"id": "ses_9d2e7b1c4a3f4e8d9b6a5c4d3e2f1a0b",
"status": "completed",
"startedAt": "2026-11-08T09:39:02Z",
"endedAt": "2026-11-08T09:41:12Z"
},
"result": {
"state": "Verified",
"explanation": {
"strong": [
"Shipping label barcode matches the tracking number for this order (1Z999AA10123456784).",
"The scene brightened in step with the phone's light (tracking 0.86), consistent with a real item in front of the camera.",
"The item shown matches the product image for this order line (similarity 0.92).",
"Every step was completed."
],
"weak": []
},
"subScores": {
"captureIntegrity": 86,
"orderMatch": 100,
"shipmentMatch": 100,
"productMatch": 92,
"physicalInteraction": 100,
"damageVisibility": 100,
"sessionAnomalyRisk": 0
},
"ruleVersion": "v1.1",
"sessionId": "ses_9d2e7b1c4a3f4e8d9b6a5c4d3e2f1a0b",
"issuedAt": "2026-11-08T09:41:12Z"
},
"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:41:12Z"
}
],
"hasMore": false
}Create a claim
POST/claims
Starts a damage claim on one order item and issues its Verification Link: a signed, expiring link the customer opens on their phone for about a minute of live, randomised capture steps. Send the link through your own channel, or set sendEmail.
The answer is 201 with the Claim. Sending the same reference for the same item again returns that Claim with 200, so a retried request never opens a second one. An item that already has an open Claim is refused with claim_open and that Claim's id.
In live mode, Claims need card billing (billing_required until it is on). Test mode is free.
Body parameters
- orderobject
The order as your system holds it. You are its source of truth: sending it again updates it.
Child attributes
- idstringrequired
Your id for the order, unique in your account. Used to find it again.
- namestring
The order's name as the customer knows it. Defaults to
id. - placedAtstring (date-time)required
When the order was placed (ISO 8601).
- completedAtstring | null (date-time)
When the order was completed, if your system records it.
- totalstringrequired
The order total in its currency, as a decimal string or number.
- currencystringrequired
Three-letter currency code.
- deliveryStatusstring | null
Your delivery status wording, shown as is.
- customerobject | null
The customer. Their email lets Verilo send the Verification Link for you (
sendEmail).Child attributes
- idstringrequired
Your id for the customer.
- emailstring | null
The customer's email address.
- namestring | null
The customer's name.
- linesarray of objectrequired
The order's lines. A Claim names one of them.
Child attributes
- idstringrequired
Your id for the line, unique within the order.
- titlestringrequired
The product title.
- variantstring | null
The variant.
- skustring | null
The SKU.
- quantityintegerrequired
Units ordered.
- totalstring | null
The line total.
- imageUrlstring | null
An https address of the product's image. The item filmed is compared with it; without it the item is only checked for being whole and in view.
- productobject | null
- shipmentsarray of object
Every shipment of the order. The label's barcode is matched against
trackingNumber. Leave the field out to keep the shipments Verilo holds; send[]to remove them.Child attributes
- idstring | null
Your id for the shipment or label.
- carrierstring | null
The carrier, as you name it.
- trackingNumberstring | null
The tracking number printed on the label.
- trackingUrlstring | null
An https tracking page.
- shippedAtstring | null (date-time)
When it shipped.
- deliveredAtstring | null (date-time)
When it was delivered.
- orderIdstring
The id of an order sent earlier. Not needed when
orderis sent. - lineIdstring
The damaged line's id. Required when the order has more than one line.
- quantityinteger
How many of the line's units are damaged. The Claim's value is that share of the line total.
- descriptionstring
What the customer reported, in their words.
- referencestring
Your reference for this claim, such as an RMA or case number. One Claim per item and reference, ever: sending the same reference again returns the same Claim.
- metadataobject
Up to 20 keys of your own, returned on every read and webhook.
- sendEmailboolean
Verilo emails the Verification Link to the order's customer from your account's name. Leave it off to send the link yourself.
Responses
- 200
The existing Claim with this
referenceon this item. - 201
The new Claim, with its
verificationLink. - 400
parameter_missing: A required parameter is missing.parameter_invalid: A parameter has the wrong type or an invalid value.paramnames it.order_line_required: The order has more than one line, solineIdmust name the damaged item.order_line_missing: The order has no line with that id. - 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. - 402
billing_required: Live Claims and Verifications need a card on file. Add one in the dashboard under Billing. - 403
agreement_required: The current Data Processing Agreement has not been accepted for this account. - 404
order_missing: The order has not been sent to Verilo. Send it inline asorder, or first with POST /v1/orders. - 409
claim_open: This item already has an open Claim. The response carries its id inclaimId.idempotency_conflict: The Idempotency-Key was used with a different request body. - 429
rate_limited: Too many requests. Wait for the number of seconds in Retry-After.
curl https://api.verilo.app/v1/claims \
-H "Authorization: Bearer $VERILO_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: rma-1042" \
-d '{
"reference": "RMA-1042",
"description": "Arrived with a crack across the base.",
"metadata": {
"store": "oak-and-clay",
"ticket": "4411"
},
"order": {
"id": "1042",
"name": "#1042",
"placedAt": "2026-11-02T10:14:00Z",
"total": "189.00",
"currency": "USD",
"customer": {
"id": "cus_8812",
"email": "dana@example.com",
"name": "Dana Reyes"
},
"lines": [
{
"id": "li_1",
"title": "Ceramic Table Lamp",
"variant": "Oat",
"sku": "LAMP-OAT",
"quantity": 1,
"total": "189.00",
"imageUrl": "https://api.verilo.app/v1/samples/ceramic-table-lamp.jpg",
"product": {
"id": "prod_30",
"title": "Ceramic Table Lamp"
}
}
],
"shipments": [
{
"id": "ful_501",
"carrier": "UPS",
"trackingNumber": "1Z999AA10123456784",
"shippedAt": "2026-11-03T16:00:00Z",
"deliveredAt": "2026-11-06T13:20:00Z"
}
]
}
}'const res = await fetch('https://api.verilo.app/v1/claims', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.VERILO_API_KEY}`,
'Content-Type': 'application/json',
'Idempotency-Key': 'rma-1042'
},
body: JSON.stringify({
"reference": "RMA-1042",
"description": "Arrived with a crack across the base.",
"metadata": {
"store": "oak-and-clay",
"ticket": "4411"
},
"order": {
"id": "1042",
"name": "#1042",
"placedAt": "2026-11-02T10:14:00Z",
"total": "189.00",
"currency": "USD",
"customer": {
"id": "cus_8812",
"email": "dana@example.com",
"name": "Dana Reyes"
},
"lines": [
{
"id": "li_1",
"title": "Ceramic Table Lamp",
"variant": "Oat",
"sku": "LAMP-OAT",
"quantity": 1,
"total": "189.00",
"imageUrl": "https://api.verilo.app/v1/samples/ceramic-table-lamp.jpg",
"product": {
"id": "prod_30",
"title": "Ceramic Table Lamp"
}
}
],
"shipments": [
{
"id": "ful_501",
"carrier": "UPS",
"trackingNumber": "1Z999AA10123456784",
"shippedAt": "2026-11-03T16:00:00Z",
"deliveredAt": "2026-11-06T13:20:00Z"
}
]
}
})
});
const claim = await res.json();
// Send claim.verificationLink.url to the customer.import os, requests
r = requests.post("https://api.verilo.app/v1/claims",
headers={"Authorization": f"Bearer {os.environ['VERILO_API_KEY']}", "Idempotency-Key": "rma-1042"},
json={
"reference": "RMA-1042",
"description": "Arrived with a crack across the base.",
"metadata": {
"store": "oak-and-clay",
"ticket": "4411"
},
"order": {
"id": "1042",
"name": "#1042",
"placedAt": "2026-11-02T10:14:00Z",
"total": "189.00",
"currency": "USD",
"customer": {
"id": "cus_8812",
"email": "dana@example.com",
"name": "Dana Reyes"
},
"lines": [
{
"id": "li_1",
"title": "Ceramic Table Lamp",
"variant": "Oat",
"sku": "LAMP-OAT",
"quantity": 1,
"total": "189.00",
"imageUrl": "https://api.verilo.app/v1/samples/ceramic-table-lamp.jpg",
"product": {
"id": "prod_30",
"title": "Ceramic Table Lamp"
}
}
],
"shipments": [
{
"id": "ful_501",
"carrier": "UPS",
"trackingNumber": "1Z999AA10123456784",
"shippedAt": "2026-11-03T16:00:00Z",
"deliveredAt": "2026-11-06T13:20:00Z"
}
]
}
})
claim = r.json()
print(claim["verificationLink"]["url"])require "json"
require "net/http"
uri = URI("https://api.verilo.app/v1/claims")
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
{
"reference": "RMA-1042",
"description": "Arrived with a crack across the base.",
"metadata": {
"store": "oak-and-clay",
"ticket": "4411"
},
"order": {
"id": "1042",
"name": "#1042",
"placedAt": "2026-11-02T10:14:00Z",
"total": "189.00",
"currency": "USD",
"customer": {
"id": "cus_8812",
"email": "dana@example.com",
"name": "Dana Reyes"
},
"lines": [
{
"id": "li_1",
"title": "Ceramic Table Lamp",
"variant": "Oat",
"sku": "LAMP-OAT",
"quantity": 1,
"total": "189.00",
"imageUrl": "https://api.verilo.app/v1/samples/ceramic-table-lamp.jpg",
"product": {
"id": "prod_30",
"title": "Ceramic Table Lamp"
}
}
],
"shipments": [
{
"id": "ful_501",
"carrier": "UPS",
"trackingNumber": "1Z999AA10123456784",
"shippedAt": "2026-11-03T16:00:00Z",
"deliveredAt": "2026-11-06T13:20:00Z"
}
]
}
}
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');
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
{
"reference": "RMA-1042",
"description": "Arrived with a crack across the base.",
"metadata": {
"store": "oak-and-clay",
"ticket": "4411"
},
"order": {
"id": "1042",
"name": "#1042",
"placedAt": "2026-11-02T10:14:00Z",
"total": "189.00",
"currency": "USD",
"customer": {
"id": "cus_8812",
"email": "dana@example.com",
"name": "Dana Reyes"
},
"lines": [
{
"id": "li_1",
"title": "Ceramic Table Lamp",
"variant": "Oat",
"sku": "LAMP-OAT",
"quantity": 1,
"total": "189.00",
"imageUrl": "https://api.verilo.app/v1/samples/ceramic-table-lamp.jpg",
"product": {
"id": "prod_30",
"title": "Ceramic Table Lamp"
}
}
],
"shipments": [
{
"id": "ful_501",
"carrier": "UPS",
"trackingNumber": "1Z999AA10123456784",
"shippedAt": "2026-11-03T16:00:00Z",
"deliveredAt": "2026-11-06T13:20:00Z"
}
]
}
}
JSON,
]);
echo curl_exec($ch);package main
import (
"fmt"
"io"
"net/http"
"os"
"strings"
)
func main() {
body := strings.NewReader(`{
"reference": "RMA-1042",
"description": "Arrived with a crack across the base.",
"metadata": {
"store": "oak-and-clay",
"ticket": "4411"
},
"order": {
"id": "1042",
"name": "#1042",
"placedAt": "2026-11-02T10:14:00Z",
"total": "189.00",
"currency": "USD",
"customer": {
"id": "cus_8812",
"email": "dana@example.com",
"name": "Dana Reyes"
},
"lines": [
{
"id": "li_1",
"title": "Ceramic Table Lamp",
"variant": "Oat",
"sku": "LAMP-OAT",
"quantity": 1,
"total": "189.00",
"imageUrl": "https://api.verilo.app/v1/samples/ceramic-table-lamp.jpg",
"product": {
"id": "prod_30",
"title": "Ceramic Table Lamp"
}
}
],
"shipments": [
{
"id": "ful_501",
"carrier": "UPS",
"trackingNumber": "1Z999AA10123456784",
"shippedAt": "2026-11-03T16:00:00Z",
"deliveredAt": "2026-11-06T13:20:00Z"
}
]
}
}`)
req, _ := http.NewRequest("POST", "https://api.verilo.app/v1/claims", 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"
}Retrieve a claim
GET/claims/{id}
The Claim with its current link, Session, Result and Outcome. Webhooks tell you when to read it; you never need to poll.
Path parameters
- idstringrequired
The Claim's id.
Responses
- 200
The Claim.
- 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. - 429
rate_limited: Too many requests. Wait for the number of seconds in Retry-After.
curl https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b \
-H "Authorization: Bearer $VERILO_API_KEY"const claim = await (await fetch('https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b', {
headers: { Authorization: `Bearer ${process.env.VERILO_API_KEY}` }
})).json();
if (claim.result) console.log(claim.result.state, claim.result.explanation.weak);import os, requests
claim = requests.get("https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b",
headers={"Authorization": f"Bearer {os.environ['VERILO_API_KEY']}"}).json()
if claim["result"]:
print(claim["result"]["state"])require "json"
require "net/http"
uri = URI("https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("VERILO_API_KEY")}"
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');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('VERILO_API_KEY'),
],
]);
echo curl_exec($ch);package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b", nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("VERILO_API_KEY"))
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": "result_ready",
"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": null,
"session": {
"id": "ses_9d2e7b1c4a3f4e8d9b6a5c4d3e2f1a0b",
"status": "completed",
"startedAt": "2026-11-08T09:39:02Z",
"endedAt": "2026-11-08T09:41:12Z"
},
"result": {
"state": "Verified",
"explanation": {
"strong": [
"Shipping label barcode matches the tracking number for this order (1Z999AA10123456784).",
"The scene brightened in step with the phone's light (tracking 0.86), consistent with a real item in front of the camera.",
"The item shown matches the product image for this order line (similarity 0.92).",
"Every step was completed."
],
"weak": []
},
"subScores": {
"captureIntegrity": 86,
"orderMatch": 100,
"shipmentMatch": 100,
"productMatch": 92,
"physicalInteraction": 100,
"damageVisibility": 100,
"sessionAnomalyRisk": 0
},
"ruleVersion": "v1.1",
"sessionId": "ses_9d2e7b1c4a3f4e8d9b6a5c4d3e2f1a0b",
"issuedAt": "2026-11-08T09:41:12Z"
},
"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:41:12Z"
}Delete a claim and its evidence
DELETE/claims/{id}
Deletes the Claim's whole Evidence Record: every Session, step, picture, video, Signal, Result and Outcome. Nothing is deleted piecemeal, and this cannot be undone. Usage already billed stays billed.
Path parameters
- idstringrequired
The Claim's id.
Responses
- 200
Deleted.
- 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. - 429
rate_limited: Too many requests. Wait for the number of seconds in Retry-After.
curl -X DELETE https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b \
-H "Authorization: Bearer $VERILO_API_KEY"const response = await fetch('https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b', {
method: 'DELETE',
headers: {
Authorization: `Bearer ${process.env.VERILO_API_KEY}`,
},
});
console.log(await response.json());import os
import requests
response = requests.delete(
"https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b",
headers={"Authorization": f"Bearer {os.environ['VERILO_API_KEY']}"},
)
print(response.json())require "json"
require "net/http"
uri = URI("https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b")
request = Net::HTTP::Delete.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("VERILO_API_KEY")}"
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');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'DELETE',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('VERILO_API_KEY'),
],
]);
echo curl_exec($ch);package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, _ := http.NewRequest("DELETE", "https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b", nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("VERILO_API_KEY"))
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",
"deleted": true
}Cancel a claim
POST/claims/{id}/cancel
Withdraws a Claim that has no Result yet. Its link stops working at once.
Path parameters
- idstringrequired
The Claim's id.
Responses
- 200
The cancelled Claim.
- 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/cancel \
-H "Authorization: Bearer $VERILO_API_KEY" \
-H "Idempotency-Key: rma-1042-create"const response = await fetch('https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b/cancel', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.VERILO_API_KEY}`,
'Idempotency-Key': 'rma-1042-create',
},
});
console.log(await response.json());import os
import requests
response = requests.post(
"https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b/cancel",
headers={"Authorization": f"Bearer {os.environ['VERILO_API_KEY']}", "Idempotency-Key": "rma-1042-create"},
)
print(response.json())require "json"
require "net/http"
uri = URI("https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b/cancel")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("VERILO_API_KEY")}"
request["Idempotency-Key"] = "rma-1042-create"
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/cancel');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('VERILO_API_KEY'),
'Idempotency-Key: rma-1042-create',
],
]);
echo curl_exec($ch);package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, _ := http.NewRequest("POST", "https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b/cancel", nil)
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": "cancelled",
"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": null,
"session": {
"id": "ses_9d2e7b1c4a3f4e8d9b6a5c4d3e2f1a0b",
"status": "abandoned",
"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"
}Record the outcome
POST/claims/{id}/outcome
Records what you did with the claim. Verilo never makes or carries out the decision; recording it closes the Claim and keeps your audit trail complete.
Path parameters
- idstringrequired
The Claim's id.
Body parameters
- decisionstringrequired
What you did.
One of
Refund Issued,Replacement Sent,Return Required,Claim Rejected,Other
Responses
- 200
The Claim, now
outcome_recorded. - 400
parameter_invalid: A parameter has the wrong type or an invalid value.paramnames it. - 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.outcome_exists: An Outcome is already recorded on this Claim. - 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/outcome \
-H "Authorization: Bearer $VERILO_API_KEY" \
-H "Idempotency-Key: rma-1042-create" \
-H "Content-Type: application/json" \
-d '{
"decision": "Refund Issued"
}'const response = await fetch('https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b/outcome', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.VERILO_API_KEY}`,
'Idempotency-Key': 'rma-1042-create',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"decision": "Refund Issued"
}),
});
console.log(await response.json());import os
import requests
response = requests.post(
"https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b/outcome",
headers={"Authorization": f"Bearer {os.environ['VERILO_API_KEY']}", "Idempotency-Key": "rma-1042-create"},
json={
"decision": "Refund Issued",
},
)
print(response.json())require "json"
require "net/http"
uri = URI("https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b/outcome")
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
{
"decision": "Refund Issued"
}
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/outcome');
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
{
"decision": "Refund Issued"
}
JSON,
]);
echo curl_exec($ch);package main
import (
"fmt"
"io"
"net/http"
"os"
"strings"
)
func main() {
body := strings.NewReader(`{
"decision": "Refund Issued"
}`)
req, _ := http.NewRequest("POST", "https://api.verilo.app/v1/claims/clm_4c1f0e9a2b7d4e5f8a6b3c2d1e0f9a8b/outcome", 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": "outcome_recorded",
"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": null,
"session": {
"id": "ses_9d2e7b1c4a3f4e8d9b6a5c4d3e2f1a0b",
"status": "completed",
"startedAt": "2026-11-08T09:39:02Z",
"endedAt": "2026-11-08T09:41:12Z"
},
"result": {
"state": "Verified",
"explanation": {
"strong": [
"Shipping label barcode matches the tracking number for this order (1Z999AA10123456784).",
"The scene brightened in step with the phone's light (tracking 0.86), consistent with a real item in front of the camera.",
"The item shown matches the product image for this order line (similarity 0.92).",
"Every step was completed."
],
"weak": []
},
"subScores": {
"captureIntegrity": 86,
"orderMatch": 100,
"shipmentMatch": 100,
"productMatch": 92,
"physicalInteraction": 100,
"damageVisibility": 100,
"sessionAnomalyRisk": 0
},
"ruleVersion": "v1.1",
"sessionId": "ses_9d2e7b1c4a3f4e8d9b6a5c4d3e2f1a0b",
"issuedAt": "2026-11-08T09:41:12Z"
},
"outcome": {
"decision": "Refund Issued",
"recordedAt": "2026-11-08T10:02:40Z"
},
"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:41:12Z"
}