Skip to content
Docs
Get started

API reference

Verifications

A live-capture check of a physical object, made from a template and checked against your references, from its Verification Link to its Result.

List verifications

GET/verifications

Verifications in this mode, every template including damage claims, 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.

  • templatestring

    Only this template (a built-in key or tpl_…).

  • statusstring

    Only this status.

    One of link_sent, in_progress, result_ready, link_expired, processing_failed, cancelled, outcome_recorded

  • referencestring

    Only this reference.

Responses

  • 200

    A page of Verifications.

  • 400

    parameter_invalid: A parameter has the wrong type or an invalid value. param names it.

  • 401

    api_key_missing: No API key was sent. Send Authorization: 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/verifications \
  -H "Authorization: Bearer $VERILO_API_KEY"
Response · 200
{
  "object": "list",
  "data": [
    {
      "id": "ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d",
      "object": "verification",
      "livemode": false,
      "template": {
        "id": "warranty_serial",
        "version": 1,
        "name": "Warranty claim with serial capture"
      },
      "status": "result_ready",
      "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": null,
      "session": {
        "id": "ses_6d8f2a1c9b1e4c3d8a7f2e1d9c4b5a6f",
        "status": "completed",
        "startedAt": "2026-11-15T09:34:10Z",
        "endedAt": "2026-11-15T09:36:40Z"
      },
      "result": {
        "state": "Verified",
        "explanation": {
          "strong": [
            "serial: the code read matches the reference value SN-KX200-778812.",
            "item: the item shown looks like the reference image (similarity 0.91).",
            "fault: a close-up was recorded as the phone moved in (point your camera at the fault, close up).",
            "point: a hand and the item were in view together.",
            "light: the scene brightened in step with the phone's light (tracking 0.86), consistent with a real object in front of the camera.",
            "Every step was completed."
          ],
          "weak": []
        },
        "ruleVersion": "t1",
        "sessionId": "ses_6d8f2a1c9b1e4c3d8a7f2e1d9c4b5a6f",
        "issuedAt": "2026-11-15T09:36:40Z",
        "steps": [
          {
            "key": "serial",
            "kind": "scan_code",
            "signal": "code_match",
            "result": "passed",
            "status": "completed",
            "measured": {
              "outcome": "match",
              "codes": [
                "SN-KX200-778812"
              ],
              "matched": "SN-KX200-778812"
            }
          },
          {
            "key": "light",
            "kind": "light_response",
            "signal": "light_response",
            "result": "passed",
            "status": "completed",
            "measured": {
              "outcome": "above",
              "tracking": 0.86,
              "threshold": 0.503
            }
          },
          {
            "key": "item",
            "kind": "show_item",
            "signal": "item_match",
            "result": "passed",
            "status": "completed",
            "measured": {
              "outcome": "match",
              "similarity": 0.91,
              "threshold": 0.55
            }
          },
          {
            "key": "point",
            "kind": "touch_item",
            "signal": "hand_in_frame",
            "result": "passed",
            "status": "completed",
            "measured": {
              "handSeen": true
            }
          },
          {
            "key": "fault",
            "kind": "capture_detail",
            "signal": "detail_capture",
            "result": "passed",
            "status": "completed",
            "measured": {
              "expansion": 1.42,
              "motionTracking": 0.62
            }
          }
        ]
      },
      "metadata": {
        "case": "20931"
      },
      "createdAt": "2026-11-15T09:30:00Z",
      "updatedAt": "2026-11-15T09:36:40Z"
    }
  ],
  "hasMore": false
}

Create a verification

POST/verifications

Starts a live-capture check of a physical object from a template, and issues its Verification Link: a signed, expiring link the person opens on their phone. The server reveals the template's steps one at a time, in an order it draws for the Session, and Verilo's engines check each against the references you give here.

The answer is 201 with the Verification. The same reference with the same template again returns that Verification with 200. A reference the template's steps do not name is refused; one a step requires and you leave out answers reference_missing.

With template: "damage_claim" the Verification is a Claim: send the Claim's fields (order or orderId, lineId, quantity, description, sendEmail) and the Claim's rules apply, exactly as POST /claims.

Live Verifications need card billing (billing_required until it is on), $0.75 USD per completed verification, whatever the template. Test mode is free.

Body parameters

  • templatestringrequired

    A built-in template (damage_claim, rental_return, warranty_serial, resale_listing, delivery_condition) or the id of your own (tpl_…).

  • referencesobject

    The values the steps are checked against, by reference name. A codes reference takes { "codes": ["…"] } or a plain list; an image reference takes { "imageUrl": "https://…" } or the address alone. A step whose reference is left out is recorded, not checked. A reference no step names is refused, so a typo never skips a check.

  • subjectobject

    What is being verified, in your words. name is shown to the person on their phone ("show the KX-200 electric kettle").

    Child attributes
    • namestring

      Up to 120 characters.

    • descriptionstring

      Up to 500 characters, for your records and the evidence pack.

  • referencestring

    Your reference, such as a case or rental number. Sending the same reference with the same template again returns the same Verification.

  • metadataobject

    Up to 20 keys of your own, returned on every read and webhook.

  • linkExpiresInHoursinteger

    How long the Verification Link works. Default: your account's setting, 72 hours unless changed.

Responses

  • 200

    The existing Verification with this reference and template.

  • 201

    The new Verification, with its verificationLink.

  • 400

    parameter_missing: A required parameter is missing. parameter_invalid: A parameter has the wrong type or an invalid value. param names it. reference_missing: The template needs a reference this request did not give. param names it.

  • 401

    api_key_missing: No API key was sent. Send Authorization: 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

    resource_missing: No object with that id exists for this key's account and mode.

  • 409

    claim_open: This item already has an open Claim. The response carries its id in claimId. 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/verifications \
  -H "Authorization: Bearer $VERILO_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: war-20931" \
  -d '{
  "template": "warranty_serial",
  "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"
    }
  },
  "metadata": {
    "case": "20931"
  }
}'
Response · 201
{
  "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"
}

Retrieve a verification

GET/verifications/{id}

The Verification with its current link, Session and Result, each step with what it checked and measured. Webhooks tell you when to read it.

Path parameters

  • idstringrequired

    The Verification's id.

Responses

  • 200

    The Verification.

  • 401

    api_key_missing: No API key was sent. Send Authorization: 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/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d \
  -H "Authorization: Bearer $VERILO_API_KEY"
Response · 200
{
  "id": "ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d",
  "object": "verification",
  "livemode": false,
  "template": {
    "id": "warranty_serial",
    "version": 1,
    "name": "Warranty claim with serial capture"
  },
  "status": "result_ready",
  "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": null,
  "session": {
    "id": "ses_6d8f2a1c9b1e4c3d8a7f2e1d9c4b5a6f",
    "status": "completed",
    "startedAt": "2026-11-15T09:34:10Z",
    "endedAt": "2026-11-15T09:36:40Z"
  },
  "result": {
    "state": "Verified",
    "explanation": {
      "strong": [
        "serial: the code read matches the reference value SN-KX200-778812.",
        "item: the item shown looks like the reference image (similarity 0.91).",
        "fault: a close-up was recorded as the phone moved in (point your camera at the fault, close up).",
        "point: a hand and the item were in view together.",
        "light: the scene brightened in step with the phone's light (tracking 0.86), consistent with a real object in front of the camera.",
        "Every step was completed."
      ],
      "weak": []
    },
    "ruleVersion": "t1",
    "sessionId": "ses_6d8f2a1c9b1e4c3d8a7f2e1d9c4b5a6f",
    "issuedAt": "2026-11-15T09:36:40Z",
    "steps": [
      {
        "key": "serial",
        "kind": "scan_code",
        "signal": "code_match",
        "result": "passed",
        "status": "completed",
        "measured": {
          "outcome": "match",
          "codes": [
            "SN-KX200-778812"
          ],
          "matched": "SN-KX200-778812"
        }
      },
      {
        "key": "light",
        "kind": "light_response",
        "signal": "light_response",
        "result": "passed",
        "status": "completed",
        "measured": {
          "outcome": "above",
          "tracking": 0.86,
          "threshold": 0.503
        }
      },
      {
        "key": "item",
        "kind": "show_item",
        "signal": "item_match",
        "result": "passed",
        "status": "completed",
        "measured": {
          "outcome": "match",
          "similarity": 0.91,
          "threshold": 0.55
        }
      },
      {
        "key": "point",
        "kind": "touch_item",
        "signal": "hand_in_frame",
        "result": "passed",
        "status": "completed",
        "measured": {
          "handSeen": true
        }
      },
      {
        "key": "fault",
        "kind": "capture_detail",
        "signal": "detail_capture",
        "result": "passed",
        "status": "completed",
        "measured": {
          "expansion": 1.42,
          "motionTracking": 0.62
        }
      }
    ]
  },
  "metadata": {
    "case": "20931"
  },
  "createdAt": "2026-11-15T09:30:00Z",
  "updatedAt": "2026-11-15T09:36:40Z"
}

Delete a verification and its evidence

DELETE/verifications/{id}

Deletes the whole Evidence Record: every Session, step, picture, video, Signal and Result (and, for a damage claim, the Claim with its Outcome). This cannot be undone. Usage already billed stays billed.

Path parameters

  • idstringrequired

    The Verification's id.

Responses

  • 200

    Deleted.

  • 401

    api_key_missing: No API key was sent. Send Authorization: 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/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d \
  -H "Authorization: Bearer $VERILO_API_KEY"
Response · 200
{
  "id": "ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d",
  "object": "verification",
  "deleted": true
}

Cancel a verification

POST/verifications/{id}/cancel

Withdraws a Verification that has no Result yet. Its link stops working at once.

Path parameters

  • idstringrequired

    The Verification's id.

Responses

  • 200

    The cancelled Verification.

  • 401

    api_key_missing: No API key was sent. Send Authorization: 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. 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/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d/cancel \
  -H "Authorization: Bearer $VERILO_API_KEY" \
  -H "Idempotency-Key: rma-1042-create"
Response · 200
{
  "id": "ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d",
  "object": "verification",
  "livemode": false,
  "template": {
    "id": "warranty_serial",
    "version": 1,
    "name": "Warranty claim with serial capture"
  },
  "status": "cancelled",
  "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": null,
  "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"
}