Secret API key, created in the dashboard under Settings → API. Send it as Authorization: Bearer rk_secret_… from your server only. Publishable keys (pk_live_…) are for the native SDKs and reach the capture endpoints alone. An unknown key returns 401.
Path Parameters
slug
string
required
Template slug — lowercase [a-z0-9-].
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
Example:
"warehouse-intake"
Body
application/json
Body for POST /v1/link-templates/{slug}/verifications. Every field is optional and overrides the template: metadata merges key by key, the rest replace.
identification
string
The value the template asks the person for (customer number, claim id). With a connected database it also picks the row to compare against.
Required string length: 1 - 120
metadata
object
Your own key/value pairs. Merged over the template metadata; same key, body wins.
Show child attributes
webhook_url
string<uri>
HTTPS URL that receives verification.created and verification.completed.
expires_in_seconds
integer
How long the link stays open. Replaces the template default.
Required range: 60 <= x <= 86400
notify_email
string<email> | null
Email that receives the result. null opts this verification out; absent uses the template, then your account default.
Maximum string length: 254
brand_slug
string
Brand profile to render instead of the template one.
Required string length: 2 - 40
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
Response
Verification minted. capture_url is the link to send to the person.
A verification as your API key sees it. verdict appears once analysis finished; object_match, location_match and condition appear when you asked for them and the check ran. Your metadata is not echoed back: keep the id.
id
string
required
Pattern: ^vfy_[0-9A-HJKMNP-TV-Z]{26}$
status
enum<string>
required
Lifecycle state. pending → first capture flips to partially_captured → analysis sets the verdict and transitions to completed. Terminal: completed, expired, failed. abandoned is a side-branch off pending/partially_captured, reported by the capture screen via POST /v1/verifications/:token/progress when the end user leaves before finishing — NOT terminal: a later capture resurrects the row to partially_captured like any other.
Available options:
pending,
partially_captured,
completed,
expired,
failed,
abandoned
capture_url
string<uri>
required
created_at
string<date-time>
required
expires_at
string<date-time>
required
captures_count
integer
required
Required range: x >= 0
verdict
object
Verdict of a live capture. Branch on rial; signals says why when it is false, and unavailable when a check could not be completed.
Option 1
Option 2
Show child attributes
location
object
Where the photo was taken, from the device. Absent for uploaded files and when the device reported no fix.
Show child attributes
location_match
object
Whether the photo was taken at expected_location. verified within GPS tolerance; no_match somewhere else; ungeocoded when the address or the fix could not be resolved; rejected when the device reported a mock location.
Show child attributes
object_match
object
Object-check result. Present when an object check was requested globally or on an image step. With step-only configuration the status is the worst step result and expected_object is omitted. Independent of the fraud verdict.
Show child attributes
object_matches
object
Object-check results keyed by image step. Missing capture verdicts yield inconclusive; otherwise each value is the worst context result for the step, ignoring not_applicable when live evidence exists.
Show child attributes
condition
object
Condition assessment. Present only when the verification was created with condition_aspects — the free-form tenant-defined aspect names (any language, any domain). score is the one-decimal average of aspect scores; label buckets it (>=7.5 good, >=5 fair, else poor). Independent of the fraud verdict.
Show child attributes
video_analysis
object
Analysis of a video-step clip, sampled at one frame per second and run through the same checks a photo gets. Written asynchronously after capture — poll or use webhooks; absent until the worker has run.
Show child attributes
ocr_primary
string
similar_photo
object
An earlier verification of yours whose photo matches this one. method: "phash": the perceptual hashes are within threshold (Hamming distance 0–64; 0 is bit-identical) — a re-upload. method: "embedding": the hashes differ but the photos are the same scene by embedding (cosine) and a geometric check confirmed it (inliers) — a screenshot or a crop. Present only when a match was found. It does not change rial: a legitimate re-submission and a recycled photo look the same — your reviewer decides.
Show child attributes
answers
object
Show child attributes
record_seal
object
Integrity seal over the verification record including answers. Present only when answers exist and sealing is on (seal !== false). The hash proves the stored answers have not changed — it does NOT claim they are true or sensor-attested; answers_provenance carries that distinction explicitly.
Option 1
Option 2
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Rial","description":"Verify that a photo is real. Developer documentation for the Rial API, CLI and native SDKs.","colors":{"primary":"#1C1C1A","light":"#5EDCF0","dark":"#1C1C1A"},"logo":{"light":"https://mintcdn.com/rial-84ef3b7b/3BGl3crqe81CslFi/logo/rial-imagotype-light.svg?fit=max\u0026auto=format\u0026n=3BGl3crqe81CslFi\u0026q=85\u0026s=f87832b55472581c748e69fe09932a5e","dark":"https://mintcdn.com/rial-84ef3b7b/3BGl3crqe81CslFi/logo/rial-imagotype-dark.svg?fit=max\u0026auto=format\u0026n=3BGl3crqe81CslFi\u0026q=85\u0026s=7dbd4de118c7a30f86c49c048ef15f37","href":"https://www.rial.io"},"favicon":"https://mintcdn.com/rial-84ef3b7b/3BGl3crqe81CslFi/rial-isotype.svg?fit=max\u0026auto=format\u0026n=3BGl3crqe81CslFi\u0026q=85\u0026s=5a40aaa4a3032861397f006e49333f38","appearance":{"default":"dark","strict":false},"navbar":{"links":[{"icon":"message","href":"mailto:developers@rial.io","label":"Support"},{"href":"https://app.rial.io","label":"Dashboard"}],"primary":{"type":"button","label":"Get an API key","href":"https://app.rial.io/settings"}},"footer":{"links":[{"header":"RIAL","items":[{"label":"rial.io","href":"https://www.rial.io"},{"label":"Dashboard","href":"https://app.rial.io"},{"label":"Status","href":"https://status.rial.io"}]}]},"seo":{"metatags":{"og:description":"Verify that a photo is real. API, CLI and native SDKs."}},"fonts":{"heading":{"family":"Cormorant Garamond","weight":500},"body":{"family":"Inter","weight":400}},"styling":{"eyebrows":"breadcrumbs","codeblocks":"dark","latex":false},"integrations":{"posthog":{"apiKey":"phc_qkjPtdAahxszndgmyviMBWN8cvWk4rzqmG6cpw2oaQWh","sessionRecording":false}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode","mcp"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rial-84ef3b7b","hasAudioNarration":false,"actualSubdomain":"rial-84ef3b7b","customDomains":["docs.rial.io"],"gitSource":{"type":"github","owner":"rial-ventures-inc","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afc66399a75d401a404c513","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"API reference","count":24},{"language":"default","tag":"Templates","count":9},{"language":"default","tag":"Get started","count":8},{"language":"default","tag":"SDKs \u0026 tools","count":8},{"language":"default","tag":"Verifications","count":7},{"language":"default","tag":"Start","count":6},{"language":"default","tag":"Databases","count":4},{"language":"default","tag":"Backend","count":3},{"language":"default","tag":"Mobile capture","count":3},{"language":"default","tag":"Credits","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"/* vietnamese */\n@font-face {\n font-family: 'Chivo Mono';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/chivomono/v11/mFT0WbgRxKvF_Z5eQMO9gxAD1XJ7.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Chivo Mono';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/chivomono/v11/mFT0WbgRxKvF_Z5eQMO9gxED1XJ7.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Chivo Mono';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/chivomono/v11/mFT0WbgRxKvF_Z5eQMO9gx8D1Q.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Chivo Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/chivomono/v11/mFT0WbgRxKvF_Z5eQMO9gxAD1XJ7.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Chivo Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/chivomono/v11/mFT0WbgRxKvF_Z5eQMO9gxED1XJ7.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Chivo Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/chivomono/v11/mFT0WbgRxKvF_Z5eQMO9gx8D1Q.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Chivo Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/chivomono/v11/mFT0WbgRxKvF_Z5eQMO9gxAD1XJ7.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Chivo Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/chivomono/v11/mFT0WbgRxKvF_Z5eQMO9gxED1XJ7.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Chivo Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/chivomono/v11/mFT0WbgRxKvF_Z5eQMO9gx8D1Q.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--rial-black: #000000;--rial-carbon: #1c1c1a;--rial-silver: #c9c9c9;--rial-parchment: #f1eae3;--rial-porcelain: #fffdf7;--rial-aqua: #5edcf0;--rial-aqua-ink: #0f9db3;--rial-lemon: #efecbc;--rial-ice: #b6f2e3;--rial-rule: #e4e3e0;--rial-mono: 'Chivo Mono', 'SF Mono', ui-monospace, Menlo, Consolas, monospace}h1,h2,h3,h4,h5,h6{font-family:'Inter', ui-sans-serif, system-ui, sans-serif;font-weight:600;text-transform:none;letter-spacing:0}h1#page-title,.prose h2:not([data-component-part]){font-family:'Cormorant Garamond', Georgia, serif;font-weight:500;text-transform:uppercase;letter-spacing:0.01em;line-height:1.1}h1#page-title{font-size:2.75rem}.prose h2:not([data-component-part]){font-size:1.9rem}code,kbd,pre,th{font-family:var(--rial-mono)}th{font-size:11px;font-weight:500;letter-spacing:0.12em;text-transform:uppercase}.rial-eyebrow{display:inline-flex;align-items:center;gap:0.6rem;font-family:var(--rial-mono);font-size:12px;font-weight:400;letter-spacing:0.18em;text-transform:uppercase;color:var(--rial-carbon)}.dark .rial-eyebrow{color:var(--rial-porcelain)}.rial-eyebrow::before{content:'';width:9px;height:9px;border-radius:2px;background:var(--rial-aqua)}.rial-lede{font-size:1.25rem;line-height:1.5;margin:0.75rem 0 1.5rem;color:var(--rial-carbon)}.dark .rial-lede{color:var(--rial-porcelain)}.card{border-radius:12px}.card h2,[data-component-part=\"card-title\"]{font-family:'Inter', ui-sans-serif, system-ui, sans-serif;font-weight:600;font-size:1.05rem;text-transform:none;letter-spacing:0;line-height:1.35}.card:hover{border-color:var(--rial-aqua-ink)}.dark .card:hover{border-color:var(--rial-aqua)}"}]}
{"page":{"pagePath":"api-reference/templates/create-a-verification-from-a-template","slug":"/api-reference/templates/create-a-verification-from-a-template","pageMetadata":{"title":"Create a verification from a template","description":"Create one verification from a template and get its link. The body overrides the template for this verification: `metadata` merges, the rest replace.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/link-templates/{slug}/verifications","href":"/api-reference/templates/create-a-verification-from-a-template","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Create one verification from a template and get its link. The body overrides the template for this verification: \", _jsx(_components.code, {\n children: \"metadata\"\n }), \" merges, the rest replace.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Create a verification from a template","description":"Create one verification from a template and get its link. The body overrides the template for this verification: `metadata` merges, the rest replace.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/link-templates/{slug}/verifications","href":"/api-reference/templates/create-a-verification-from-a-template","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Templates"],"summary":"Create a verification from a template","description":"Create one verification from a template and get its link. The body overrides the template for this verification: `metadata` merges, the rest replace.","security":["9048ea7b-2d89-4a2a-865a-e93e091c0ee8"],"parameters":["0d617a7b-e884-4731-bba0-2c44df5c76df"],"requestBody":"5632936e-ce71-4d57-8026-0fcc9c52faf3","responses":{"201":"08865d7a-075a-404e-9c2c-4436ce012074","400":"1013589f-71dd-4c92-a1c2-69df8f0abef0","402":"6524721f-64e2-4b7d-b01d-31d2fb82ae5f","404":"22c34753-fa36-4816-9178-52a3c3ffcd7c","422":"aa50c8d2-094a-4111-9caa-f3c67b0e5bd1","503":"fe496157-1e2c-4395-a985-0b4394240c66"},"method":"post","type":"path","servers":["36fbb192-4b2b-49e9-a768-331bb5be3efb"],"path":"/v1/link-templates/{slug}/verifications","baseUrlOptions":["https://api.rial.io"],"title":"Create a verification from a template","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"0d617a7b-e884-4731-bba0-2c44df5c76df":{"schema":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Template slug — lowercase `[a-z0-9-]`.","example":"warehouse-intake","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"name":"slug","in":"path"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"identification":{"type":"string","minLength":1,"maxLength":120,"description":"The value the template asks the person for (customer number, claim id). With a connected database it also picks the row to compare against.","uniqueKey":"identification","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string","maxLength":500,"uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"description":"Your own key/value pairs. Merged over the template metadata; same key, body wins.","uniqueKey":"metadata","typeLabel":"object"},"webhook_url":{"type":"string","format":"uri","description":"HTTPS URL that receives `verification.created` and `verification.completed`.","uniqueKey":"webhook_url","typeLabel":"string\u003curi>"},"expires_in_seconds":{"type":"integer","minimum":60,"maximum":86400,"description":"How long the link stays open. Replaces the template default.","uniqueKey":"expires_in_seconds","typeLabel":"integer"},"notify_email":{"oneOf":[{"type":"string","maxLength":254,"format":"email","description":"Email that receives the result. `null` opts this verification out; absent uses the template, then your account default.","uniqueKey":"notify_email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","maxLength":254,"format":"email","description":"Email that receives the result. `null` opts this verification out; absent uses the template, then your account default.","uniqueKey":"notify_email.oneOf.1","typeLabel":"null"}],"uniqueKey":"notify_email","typeLabel":"string\u003cemail> | null"},"brand_slug":{"type":"string","minLength":2,"maxLength":40,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Brand profile to render instead of the template one.","uniqueKey":"brand_slug","typeLabel":"string"}},"additionalProperties":false,"description":"Body for `POST /v1/link-templates/{slug}/verifications`. Every field is optional and overrides the template: `metadata` merges key by key, the rest replace.","uniqueKey":"","typeLabel":"object"},"example":{"identification":"POL-001","webhook_url":"https://api.acmeinsurance.com/rial/webhooks","metadata":{"claim_id":"CLM-9912"}},"examples":{"Example":{"title":"Example","value":{"identification":"POL-001","webhook_url":"https://api.acmeinsurance.com/rial/webhooks","metadata":{"claim_id":"CLM-9912"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"08865d7a-075a-404e-9c2c-4436ce012074":{"description":"Verification minted. `capture_url` is the link to send to the person.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","pattern":"^vfy_[0-9A-HJKMNP-TV-Z]{26}$","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"status":{"type":"string","enum":["pending","partially_captured","completed","expired","failed","abandoned"],"description":"Lifecycle state. `pending` → first capture flips to `partially_captured` → analysis sets the verdict and transitions to `completed`. Terminal: `completed`, `expired`, `failed`. `abandoned` is a side-branch off `pending`/`partially_captured`, reported by the capture screen via `POST /v1/verifications/:token/progress` when the end user leaves before finishing — NOT terminal: a later capture resurrects the row to `partially_captured` like any other.","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"capture_url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"capture_url","typeLabel":"string\u003curi>"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"expires_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"expires_at","typeLabel":"string\u003cdate-time>"},"captures_count":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"captures_count","typeLabel":"integer"},"verdict":{"oneOf":[{"type":"object","description":"Verdict of a live capture. Branch on `rial`; `signals` says why when it is false, and `unavailable` when a check could not be completed.","required":["rial","signals"],"properties":{"rial":{"type":"boolean","description":"True when the dashboard verdict is verified and no exposed fraud check tripped.","isRequired":true,"uniqueKey":"verdict.oneOf.0.rial","typeLabel":"boolean"},"signals":{"type":"array","items":{"type":"string","enum":["screen_detected","ai_detected","found_online"],"description":"A check that tripped: `screen_detected` (photo of a screen), `ai_detected` (AI-generated), `found_online` (already published).","uniqueKey":"verdict.oneOf.0.signals.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The checks that tripped.","isRequired":true,"uniqueKey":"verdict.oneOf.0.signals","typeLabel":"enum\u003cstring>[]"},"reverse_search":{"type":"object","properties":{"state":{"type":"string","enum":["pending","review","no_match","inconclusive","expired"],"isRequired":true,"uniqueKey":"verdict.oneOf.0.reverse_search.state","typeLabel":"enum\u003cstring>"},"sources":{"type":"array","items":{"type":"string","format":"uri","uniqueKey":"verdict.oneOf.0.reverse_search.sources.items.[INDEX]","typeLabel":"string\u003curi>"},"isRequired":true,"uniqueKey":"verdict.oneOf.0.reverse_search.sources","typeLabel":"string\u003curi>[]"}},"required":["state","sources"],"description":"Secondary reverse-search state. Similarity candidates require review; they are not confirmed fraud findings.","uniqueKey":"verdict.oneOf.0.reverse_search","typeLabel":"object"},"unavailable":{"type":"array","items":{"type":"string","enum":["screen","ai","reverse","context"],"uniqueKey":"verdict.oneOf.0.unavailable.items.[INDEX]","typeLabel":"enum\u003cstring>"},"minItems":1,"description":"Checks that could not be completed because the detector never answered after every retry: `screen` (photo of a screen), `ai` (AI-generated), `reverse` (already online), `context`, `depth`. Present only when non-empty; `rial` is then false — the photo was not fully checked, which is not the same as a finding.","uniqueKey":"verdict.oneOf.0.unavailable","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"verdict.oneOf.0","typeLabel":"object"},{"type":"object","description":"Verdict of an audit (`mode: \"audit\"`, a file that already existed). Includes the Rial/no Rial result and the checks that tripped. This is an analysis result, not proof of live capture.","required":["rial","signals"],"properties":{"rial":{"type":"boolean","description":"Rial/no Rial result of the audit, matching the dashboard.","isRequired":true,"uniqueKey":"verdict.oneOf.1.rial","typeLabel":"boolean"},"signals":{"type":"array","items":{"oneOf":[{"type":"object","description":"A check that tripped on an audited file.","required":["type"],"properties":{"type":{"type":"string","enum":["screen_detected"],"isRequired":true,"uniqueKey":"verdict.oneOf.1.signals.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"verdict.oneOf.1.signals.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"A check that tripped on an audited file.","required":["type"],"properties":{"type":{"type":"string","enum":["ai_detected"],"isRequired":true,"uniqueKey":"verdict.oneOf.1.signals.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"confidence":{"type":"number","minimum":0,"maximum":1,"uniqueKey":"verdict.oneOf.1.signals.items.[INDEX].oneOf.1.confidence","typeLabel":"number"}},"uniqueKey":"verdict.oneOf.1.signals.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"A check that tripped on an audited file.","required":["type"],"properties":{"type":{"type":"string","enum":["found_online"],"isRequired":true,"uniqueKey":"verdict.oneOf.1.signals.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"verdict.oneOf.1.signals.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"verdict.oneOf.1.signals.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"verdict.oneOf.1.signals","typeLabel":"object[]"},"reverse_search":{"type":"object","properties":{"state":{"type":"string","enum":["pending","review","no_match","inconclusive","expired"],"isRequired":true,"uniqueKey":"verdict.oneOf.1.reverse_search.state","typeLabel":"enum\u003cstring>"},"sources":{"type":"array","items":{"type":"string","format":"uri","uniqueKey":"verdict.oneOf.1.reverse_search.sources.items.[INDEX]","typeLabel":"string\u003curi>"},"isRequired":true,"uniqueKey":"verdict.oneOf.1.reverse_search.sources","typeLabel":"string\u003curi>[]"}},"required":["state","sources"],"description":"Secondary reverse-search state. Similarity candidates require review; they are not confirmed fraud findings.","uniqueKey":"verdict.oneOf.1.reverse_search","typeLabel":"object"},"unavailable":{"type":"array","items":{"type":"string","enum":["screen","ai","reverse","context"],"uniqueKey":"verdict.oneOf.1.unavailable.items.[INDEX]","typeLabel":"enum\u003cstring>"},"minItems":1,"description":"Checks that could not be completed because the detector never answered after every retry: `screen` (photo of a screen), `ai` (AI-generated), `reverse` (already online), `context`, `depth`. Present only when non-empty; `rial` is then false — the photo was not fully checked, which is not the same as a finding.","uniqueKey":"verdict.oneOf.1.unavailable","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"verdict.oneOf.1","typeLabel":"object"}],"uniqueKey":"verdict","typeLabel":"object"},"location":{"type":"object","properties":{"lat":{"type":"number","isRequired":true,"uniqueKey":"location.lat","typeLabel":"number"},"lng":{"type":"number","isRequired":true,"uniqueKey":"location.lng","typeLabel":"number"},"accuracy_m":{"type":"number","minimum":0,"isRequired":true,"uniqueKey":"location.accuracy_m","typeLabel":"number"},"derived_from":{"type":"string","enum":["exif","live","last_known_session","last_known_system","last_known_persisted"],"uniqueKey":"location.derived_from","typeLabel":"enum\u003cstring>"},"age_ms":{"type":"integer","minimum":0,"uniqueKey":"location.age_ms","typeLabel":"integer"},"place":{"type":"string","uniqueKey":"location.place","typeLabel":"string"}},"required":["lat","lng","accuracy_m"],"description":"Where the photo was taken, from the device. Absent for uploaded files and when the device reported no fix.","uniqueKey":"location","typeLabel":"object"},"location_match":{"type":"object","properties":{"status":{"type":"string","enum":["verified","no_match","ungeocoded","rejected","not_applicable"],"isRequired":true,"uniqueKey":"location_match.status","typeLabel":"enum\u003cstring>"},"expected_location":{"type":"string","uniqueKey":"location_match.expected_location","typeLabel":"string"},"observed_location":{"type":"string","uniqueKey":"location_match.observed_location","typeLabel":"string"},"expected_point":{"type":"object","properties":{"lat":{"type":"number","isRequired":true,"uniqueKey":"location_match.expected_point.lat","typeLabel":"number"},"lng":{"type":"number","isRequired":true,"uniqueKey":"location_match.expected_point.lng","typeLabel":"number"}},"required":["lat","lng"],"uniqueKey":"location_match.expected_point","typeLabel":"object"},"observed_point":{"type":"object","properties":{"lat":{"type":"number","isRequired":true,"uniqueKey":"location_match.observed_point.lat","typeLabel":"number"},"lng":{"type":"number","isRequired":true,"uniqueKey":"location_match.observed_point.lng","typeLabel":"number"}},"required":["lat","lng"],"uniqueKey":"location_match.observed_point","typeLabel":"object"},"distance_m":{"type":"number","minimum":0,"uniqueKey":"location_match.distance_m","typeLabel":"number"},"threshold_m":{"type":"number","minimum":0,"uniqueKey":"location_match.threshold_m","typeLabel":"number"},"gps_accuracy_m":{"type":"number","minimum":0,"uniqueKey":"location_match.gps_accuracy_m","typeLabel":"number"},"geocode_ref":{"type":"string","uniqueKey":"location_match.geocode_ref","typeLabel":"string"},"reason":{"type":"string","uniqueKey":"location_match.reason","typeLabel":"string"}},"required":["status"],"description":"Whether the photo was taken at `expected_location`. `verified` within GPS tolerance; `no_match` somewhere else; `ungeocoded` when the address or the fix could not be resolved; `rejected` when the device reported a mock location.","uniqueKey":"location_match","typeLabel":"object"},"object_match":{"type":"object","properties":{"status":{"type":"string","enum":["match","mismatch","inconclusive"],"isRequired":true,"uniqueKey":"object_match.status","typeLabel":"enum\u003cstring>"},"expected_object":{"type":"string","uniqueKey":"object_match.expected_object","typeLabel":"string"}},"required":["status"],"description":"Object-check result. Present when an object check was requested globally or on an image step. With step-only configuration the status is the worst step result and expected_object is omitted. Independent of the fraud verdict.","uniqueKey":"object_match","typeLabel":"object"},"object_matches":{"type":"object","additionalProperties":{"type":"object","properties":{"status":{"type":"string","enum":["match","mismatch","inconclusive"],"isRequired":true,"uniqueKey":"object_matches.additionalProperties.status","typeLabel":"enum\u003cstring>"},"expected_object":{"type":"string","isRequired":true,"uniqueKey":"object_matches.additionalProperties.expected_object","typeLabel":"string"}},"required":["status","expected_object"],"description":"Object-check result for one image step, including its expected object.","uniqueKey":"object_matches.additionalProperties","typeLabel":"object"},"description":"Object-check results keyed by image step. Missing capture verdicts yield inconclusive; otherwise each value is the worst context result for the step, ignoring not_applicable when live evidence exists.","uniqueKey":"object_matches","typeLabel":"object"},"condition":{"type":"object","properties":{"score":{"type":"number","minimum":0,"maximum":10,"isRequired":true,"uniqueKey":"condition.score","typeLabel":"number"},"label":{"type":"string","enum":["good","fair","poor"],"isRequired":true,"uniqueKey":"condition.label","typeLabel":"enum\u003cstring>"},"aspects":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"condition.aspects.items.[INDEX].name","typeLabel":"string"},"score":{"type":"number","minimum":0,"maximum":10,"isRequired":true,"uniqueKey":"condition.aspects.items.[INDEX].score","typeLabel":"number"},"reasoning":{"type":"string","isRequired":true,"uniqueKey":"condition.aspects.items.[INDEX].reasoning","typeLabel":"string"}},"required":["name","score","reasoning"],"description":"One scored aspect of the condition assessment. `name` echoes the free-form tenant-defined aspect from `condition_aspects` verbatim — any language, any domain, no fixed vocabulary. `score` is 0..10 with one decimal; `reasoning` is a one-or-two-sentence visual justification.","uniqueKey":"condition.aspects.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"condition.aspects","typeLabel":"object[]"},"provenance":{"type":"object","properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"condition.provenance.model","typeLabel":"string"},"prompt":{"type":"string","isRequired":true,"uniqueKey":"condition.provenance.prompt","typeLabel":"string"},"instructions_sha256":{"type":"string","minLength":64,"maxLength":64,"uniqueKey":"condition.provenance.instructions_sha256","typeLabel":"string"}},"required":["model","prompt"],"description":"What produced this assessment: the model, the prompt (`id@version`) and, when your organization's condition instructions applied, their SHA-256 — so a result stays tied to the guidance and model of its day. Absent on assessments written before this field existed.","uniqueKey":"condition.provenance","typeLabel":"object"},"steps":{"type":"object","additionalProperties":{"type":"object","properties":{"score":{"type":"number","minimum":0,"maximum":10,"isRequired":true,"uniqueKey":"condition.steps.additionalProperties.score","typeLabel":"number"},"label":{"type":"string","enum":["good","fair","poor"],"isRequired":true,"uniqueKey":"condition.steps.additionalProperties.label","typeLabel":"enum\u003cstring>"},"aspects":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"condition.steps.additionalProperties.aspects.items.[INDEX].name","typeLabel":"string"},"score":{"type":"number","minimum":0,"maximum":10,"isRequired":true,"uniqueKey":"condition.steps.additionalProperties.aspects.items.[INDEX].score","typeLabel":"number"},"reasoning":{"type":"string","isRequired":true,"uniqueKey":"condition.steps.additionalProperties.aspects.items.[INDEX].reasoning","typeLabel":"string"}},"required":["name","score","reasoning"],"description":"One scored aspect of the condition assessment. `name` echoes the free-form tenant-defined aspect from `condition_aspects` verbatim — any language, any domain, no fixed vocabulary. `score` is 0..10 with one decimal; `reasoning` is a one-or-two-sentence visual justification.","uniqueKey":"condition.steps.additionalProperties.aspects.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"condition.steps.additionalProperties.aspects","typeLabel":"object[]"},"provenance":{"type":"object","properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"condition.steps.additionalProperties.provenance.model","typeLabel":"string"},"prompt":{"type":"string","isRequired":true,"uniqueKey":"condition.steps.additionalProperties.provenance.prompt","typeLabel":"string"},"instructions_sha256":{"type":"string","minLength":64,"maxLength":64,"uniqueKey":"condition.steps.additionalProperties.provenance.instructions_sha256","typeLabel":"string"}},"required":["model","prompt"],"description":"What produced this assessment: the model, the prompt (`id@version`) and, when your organization's condition instructions applied, their SHA-256 — so a result stays tied to the guidance and model of its day. Absent on assessments written before this field existed.","uniqueKey":"condition.steps.additionalProperties.provenance","typeLabel":"object"}},"required":["score","label","aspects"],"description":"Condition assessment. Present only when the verification was created with `condition_aspects` — the free-form tenant-defined aspect names (any language, any domain). `score` is the one-decimal average of aspect scores; `label` buckets it (>=7.5 good, >=5 fair, else poor). Independent of the fraud verdict.","uniqueKey":"condition.steps.additionalProperties","typeLabel":"object"},"description":"Condition results keyed by photo step. Each uses only that step’s photos and its rubric, falling back to the shared rubric. The aggregate averages all assessed aspect scores.","uniqueKey":"condition.steps","typeLabel":"object"}},"required":["score","label","aspects"],"description":"Condition assessment. Present only when the verification was created with `condition_aspects` — the free-form tenant-defined aspect names (any language, any domain). `score` is the one-decimal average of aspect scores; `label` buckets it (>=7.5 good, >=5 fair, else poor). Independent of the fraud verdict.","uniqueKey":"condition","typeLabel":"object"},"video_analysis":{"type":"object","properties":{"capture_id":{"type":"string","isRequired":true,"uniqueKey":"video_analysis.capture_id","typeLabel":"string"},"frames_extracted":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"video_analysis.frames_extracted","typeLabel":"integer"},"frames_analyzed":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"video_analysis.frames_analyzed","typeLabel":"integer"},"signals":{"type":"object","properties":{"screen":{"type":"object","properties":{"detected":{"type":"boolean","isRequired":true,"uniqueKey":"video_analysis.signals.screen.detected","typeLabel":"boolean"},"frames_evaluated":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"video_analysis.signals.screen.frames_evaluated","typeLabel":"integer"},"flagged_ratio":{"type":"number","minimum":0,"maximum":1,"isRequired":true,"uniqueKey":"video_analysis.signals.screen.flagged_ratio","typeLabel":"number"},"longest_run_ms":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"video_analysis.signals.screen.longest_run_ms","typeLabel":"integer"},"flagged_at_ms":{"type":"array","items":{"type":"integer","minimum":0,"uniqueKey":"video_analysis.signals.screen.flagged_at_ms.items.[INDEX]","typeLabel":"integer"},"isRequired":true,"uniqueKey":"video_analysis.signals.screen.flagged_at_ms","typeLabel":"integer[]"}},"required":["detected","frames_evaluated","flagged_ratio","longest_run_ms","flagged_at_ms"],"description":"How one check behaved across the sampled frames. `detected` is true when it tripped on at least half of `frames_evaluated` or on three consecutive frames; isolated trips are listed in `flagged_at_ms` without deciding.","uniqueKey":"video_analysis.signals.screen","typeLabel":"object"},"ai":{"type":"object","properties":{"detected":{"type":"boolean","isRequired":true,"uniqueKey":"video_analysis.signals.ai.detected","typeLabel":"boolean"},"frames_evaluated":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"video_analysis.signals.ai.frames_evaluated","typeLabel":"integer"},"flagged_ratio":{"type":"number","minimum":0,"maximum":1,"isRequired":true,"uniqueKey":"video_analysis.signals.ai.flagged_ratio","typeLabel":"number"},"longest_run_ms":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"video_analysis.signals.ai.longest_run_ms","typeLabel":"integer"},"flagged_at_ms":{"type":"array","items":{"type":"integer","minimum":0,"uniqueKey":"video_analysis.signals.ai.flagged_at_ms.items.[INDEX]","typeLabel":"integer"},"isRequired":true,"uniqueKey":"video_analysis.signals.ai.flagged_at_ms","typeLabel":"integer[]"}},"required":["detected","frames_evaluated","flagged_ratio","longest_run_ms","flagged_at_ms"],"description":"How one check behaved across the sampled frames. `detected` is true when it tripped on at least half of `frames_evaluated` or on three consecutive frames; isolated trips are listed in `flagged_at_ms` without deciding.","uniqueKey":"video_analysis.signals.ai","typeLabel":"object"},"reverse":{"type":"object","properties":{"detected":{"type":"boolean","isRequired":true,"uniqueKey":"video_analysis.signals.reverse.detected","typeLabel":"boolean"},"frames_evaluated":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"video_analysis.signals.reverse.frames_evaluated","typeLabel":"integer"},"flagged_ratio":{"type":"number","minimum":0,"maximum":1,"isRequired":true,"uniqueKey":"video_analysis.signals.reverse.flagged_ratio","typeLabel":"number"},"longest_run_ms":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"video_analysis.signals.reverse.longest_run_ms","typeLabel":"integer"},"flagged_at_ms":{"type":"array","items":{"type":"integer","minimum":0,"uniqueKey":"video_analysis.signals.reverse.flagged_at_ms.items.[INDEX]","typeLabel":"integer"},"isRequired":true,"uniqueKey":"video_analysis.signals.reverse.flagged_at_ms","typeLabel":"integer[]"}},"required":["detected","frames_evaluated","flagged_ratio","longest_run_ms","flagged_at_ms"],"description":"How one check behaved across the sampled frames. `detected` is true when it tripped on at least half of `frames_evaluated` or on three consecutive frames; isolated trips are listed in `flagged_at_ms` without deciding.","uniqueKey":"video_analysis.signals.reverse","typeLabel":"object"},"context":{"type":"object","properties":{"detected":{"type":"boolean","isRequired":true,"uniqueKey":"video_analysis.signals.context.detected","typeLabel":"boolean"},"frames_evaluated":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"video_analysis.signals.context.frames_evaluated","typeLabel":"integer"},"flagged_ratio":{"type":"number","minimum":0,"maximum":1,"isRequired":true,"uniqueKey":"video_analysis.signals.context.flagged_ratio","typeLabel":"number"},"longest_run_ms":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"video_analysis.signals.context.longest_run_ms","typeLabel":"integer"},"flagged_at_ms":{"type":"array","items":{"type":"integer","minimum":0,"uniqueKey":"video_analysis.signals.context.flagged_at_ms.items.[INDEX]","typeLabel":"integer"},"isRequired":true,"uniqueKey":"video_analysis.signals.context.flagged_at_ms","typeLabel":"integer[]"}},"required":["detected","frames_evaluated","flagged_ratio","longest_run_ms","flagged_at_ms"],"description":"How one check behaved across the sampled frames. `detected` is true when it tripped on at least half of `frames_evaluated` or on three consecutive frames; isolated trips are listed in `flagged_at_ms` without deciding.","uniqueKey":"video_analysis.signals.context","typeLabel":"object"}},"description":"One entry per check that ran on the clip; a missing entry was not evaluated, never clean.","isRequired":true,"uniqueKey":"video_analysis.signals","typeLabel":"object"},"analyzed_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"video_analysis.analyzed_at","typeLabel":"string\u003cdate-time>"},"scene":{"type":"object","properties":{"verdict":{"type":"string","enum":["match","mismatch","inconclusive"],"isRequired":true,"uniqueKey":"video_analysis.scene.verdict","typeLabel":"enum\u003cstring>"},"confidence":{"type":"number","minimum":0,"maximum":1,"isRequired":true,"uniqueKey":"video_analysis.scene.confidence","typeLabel":"number"},"reasoning":{"type":"string","isRequired":true,"uniqueKey":"video_analysis.scene.reasoning","typeLabel":"string"}},"required":["verdict","confidence","reasoning"],"description":"Whether the clip as a whole shows what the video step's `expected_scene` asked for, judged once over a contact sheet of its frames, with the reason. Absent when the step declared no scene or the check did not run.","uniqueKey":"video_analysis.scene","typeLabel":"object"},"condition":{"type":"object","properties":{"score":{"type":"number","minimum":0,"maximum":10,"isRequired":true,"uniqueKey":"video_analysis.condition.score","typeLabel":"number"},"label":{"type":"string","enum":["good","fair","poor"],"isRequired":true,"uniqueKey":"video_analysis.condition.label","typeLabel":"enum\u003cstring>"},"aspects":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"video_analysis.condition.aspects.items.[INDEX].name","typeLabel":"string"},"score":{"type":"number","minimum":0,"maximum":10,"isRequired":true,"uniqueKey":"video_analysis.condition.aspects.items.[INDEX].score","typeLabel":"number"},"reasoning":{"type":"string","isRequired":true,"uniqueKey":"video_analysis.condition.aspects.items.[INDEX].reasoning","typeLabel":"string"}},"required":["name","score","reasoning"],"description":"One scored aspect of the condition assessment. `name` echoes the free-form tenant-defined aspect from `condition_aspects` verbatim — any language, any domain, no fixed vocabulary. `score` is 0..10 with one decimal; `reasoning` is a one-or-two-sentence visual justification.","uniqueKey":"video_analysis.condition.aspects.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"video_analysis.condition.aspects","typeLabel":"object[]"},"provenance":{"type":"object","properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"video_analysis.condition.provenance.model","typeLabel":"string"},"prompt":{"type":"string","isRequired":true,"uniqueKey":"video_analysis.condition.provenance.prompt","typeLabel":"string"},"instructions_sha256":{"type":"string","minLength":64,"maxLength":64,"uniqueKey":"video_analysis.condition.provenance.instructions_sha256","typeLabel":"string"}},"required":["model","prompt"],"description":"What produced this assessment: the model, the prompt (`id@version`) and, when your organization's condition instructions applied, their SHA-256 — so a result stays tied to the guidance and model of its day. Absent on assessments written before this field existed.","uniqueKey":"video_analysis.condition.provenance","typeLabel":"object"}},"required":["score","label","aspects"],"description":"The video step's `condition_aspects` scored over a contact sheet of the clip — the same 0..10 rubric and labels a photo step gets, read across the whole recording. Absent when the step declared no aspects or the check did not run.","uniqueKey":"video_analysis.condition","typeLabel":"object"}},"required":["capture_id","frames_extracted","frames_analyzed","signals","analyzed_at"],"description":"Analysis of a video-step clip, sampled at one frame per second and run through the same checks a photo gets. Written asynchronously after capture — poll or use webhooks; absent until the worker has run.","uniqueKey":"video_analysis","typeLabel":"object"},"ocr_primary":{"type":"string","uniqueKey":"ocr_primary","typeLabel":"string"},"similar_photo":{"type":"object","properties":{"verification_id":{"type":"string","isRequired":true,"uniqueKey":"similar_photo.verification_id","typeLabel":"string"},"capture_id":{"type":"string","isRequired":true,"uniqueKey":"similar_photo.capture_id","typeLabel":"string"},"distance":{"type":"integer","minimum":0,"maximum":64,"isRequired":true,"uniqueKey":"similar_photo.distance","typeLabel":"integer"},"method":{"type":"string","enum":["phash","embedding"],"uniqueKey":"similar_photo.method","typeLabel":"enum\u003cstring>"},"cosine":{"type":"number","minimum":-1,"maximum":1,"uniqueKey":"similar_photo.cosine","typeLabel":"number"},"inliers":{"type":"integer","minimum":0,"uniqueKey":"similar_photo.inliers","typeLabel":"integer"}},"required":["verification_id","capture_id","distance"],"description":"An earlier verification of yours whose photo matches this one. `method: \"phash\"`: the perceptual hashes are within threshold (Hamming `distance` 0–64; 0 is bit-identical) — a re-upload. `method: \"embedding\"`: the hashes differ but the photos are the same scene by embedding (`cosine`) and a geometric check confirmed it (`inliers`) — a screenshot or a crop. Present only when a match was found. It does not change `rial`: a legitimate re-submission and a recycled photo look the same — your reviewer decides.","uniqueKey":"similar_photo","typeLabel":"object"},"answers":{"type":"object","additionalProperties":{"type":"object","properties":{"value":{"type":"string","maxLength":2000,"isRequired":true,"uniqueKey":"answers.additionalProperties.value","typeLabel":"string"},"answered_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"answers.additionalProperties.answered_at","typeLabel":"string\u003cdate-time>"},"values":{"type":"array","items":{"type":"string","uniqueKey":"answers.additionalProperties.values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"answers.additionalProperties.values","typeLabel":"string[]"},"address":{"type":"object","properties":{"street":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"answers.additionalProperties.address.street","typeLabel":"string"},"number":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"answers.additionalProperties.address.number","typeLabel":"string"},"neighborhood":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"answers.additionalProperties.address.neighborhood","typeLabel":"string"},"city":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"answers.additionalProperties.address.city","typeLabel":"string"},"region":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"answers.additionalProperties.address.region","typeLabel":"string"},"postal_code":{"type":"string","maxLength":200,"isRequired":true,"uniqueKey":"answers.additionalProperties.address.postal_code","typeLabel":"string"},"complement":{"type":"string","maxLength":200,"uniqueKey":"answers.additionalProperties.address.complement","typeLabel":"string"}},"required":["street","number","neighborhood","city","region","postal_code"],"additionalProperties":false,"uniqueKey":"answers.additionalProperties.address","typeLabel":"object"}},"required":["value","answered_at"],"description":"One answered text step. `value` is USER-DECLARED — typed by the person capturing; unlike live-captured content, it is never sensor-attested. Potential PII: it rides the operator/developer contracts and the webhook only, never OG cards or third-party public surfaces.","uniqueKey":"answers.additionalProperties","typeLabel":"object"},"uniqueKey":"answers","typeLabel":"object"},"record_seal":{"oneOf":[{"type":"object","description":"Integrity seal over the verification record including `answers`. Present only when answers exist and sealing is on (`seal !== false`). The hash proves the stored answers have not changed — it does NOT claim they are true or sensor-attested; `answers_provenance` carries that distinction explicitly.","required":["algorithm","hash","covers","answers_provenance"],"properties":{"algorithm":{"type":"string","enum":["sha256"],"isRequired":true,"uniqueKey":"record_seal.oneOf.0.algorithm","typeLabel":"enum\u003cstring>"},"hash":{"type":"string","minLength":64,"maxLength":64,"isRequired":true,"uniqueKey":"record_seal.oneOf.0.hash","typeLabel":"string"},"covers":{"type":"array","items":{"type":"string","enum":["record","answers"],"uniqueKey":"record_seal.oneOf.0.covers.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"record_seal.oneOf.0.covers","typeLabel":"enum\u003cstring>[]"},"answers_provenance":{"type":"string","enum":["user_declared"],"isRequired":true,"uniqueKey":"record_seal.oneOf.0.answers_provenance","typeLabel":"enum\u003cstring>"}},"uniqueKey":"record_seal.oneOf.0","typeLabel":"object"},{"type":"object","description":"Integrity seal over the verification record including `answers`. Present only when answers exist and sealing is on (`seal !== false`). The hash proves the stored answers have not changed — it does NOT claim they are true or sensor-attested; `answers_provenance` carries that distinction explicitly.","required":["algorithm","hash","covers","answers_provenance"],"properties":{"algorithm":{"type":"string","enum":["sha3-512"],"isRequired":true,"uniqueKey":"record_seal.oneOf.1.algorithm","typeLabel":"enum\u003cstring>"},"hash":{"type":"string","minLength":128,"maxLength":128,"isRequired":true,"uniqueKey":"record_seal.oneOf.1.hash","typeLabel":"string"},"covers":{"type":"array","items":{"type":"string","enum":["record","answers"],"uniqueKey":"record_seal.oneOf.1.covers.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"record_seal.oneOf.1.covers","typeLabel":"enum\u003cstring>[]"},"answers_provenance":{"type":"string","enum":["user_declared"],"isRequired":true,"uniqueKey":"record_seal.oneOf.1.answers_provenance","typeLabel":"enum\u003cstring>"}},"uniqueKey":"record_seal.oneOf.1","typeLabel":"object"}],"uniqueKey":"record_seal","typeLabel":"object"}},"required":["id","status","capture_url","created_at","expires_at","captures_count"],"description":"A verification as your API key sees it. `verdict` appears once analysis finished; `object_match`, `location_match` and `condition` appear when you asked for them and the check ran. Your `metadata` is not echoed back: keep the `id`.","uniqueKey":"","typeLabel":"object"},"example":{"id":"vfy_01HXYZABCDEFGHJKMNPQRSTVWX","status":"pending","capture_url":"https://verify.rial.io/v/vfy_01HXYZABCDEFGHJKMNPQRSTVWX","created_at":"2026-09-16T19:06:57.718Z","expires_at":"2026-09-16T20:06:57.718Z","captures_count":0},"examples":{"Example":{"title":"Example","value":{"id":"vfy_01HXYZABCDEFGHJKMNPQRSTVWX","status":"pending","capture_url":"https://verify.rial.io/v/vfy_01HXYZABCDEFGHJKMNPQRSTVWX","created_at":"2026-09-16T19:06:57.718Z","expires_at":"2026-09-16T20:06:57.718Z","captures_count":0}}},"exampleType":"examples"}},"exampleType":"examples"},"1013589f-71dd-4c92-a1c2-69df8f0abef0":{"description":"Request body failed validation.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"error.fields.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.fields.items.[INDEX].message","typeLabel":"string"}},"required":["path","message"],"uniqueKey":"error.fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.fields","typeLabel":"object[]"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"description":"Uniform error envelope. `code` is the stable string SDKs branch on (`invalid_request`, `unauthorized`, `not_found`, `expired`, `step_full`, `unknown_step`, `steps_incomplete`, `already_finalized`, `too_many_requests`, `plan_limit_reached`, `insufficient_credits`, `monthly_verification_limit_reached`, `storage_unavailable`, `internal_error`, `report_not_ready`, `report_inconclusive`). `fields` is only present on `invalid_request` validation failures.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","fields":[{"path":"\u003cstring>","message":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"6524721f-64e2-4b7d-b01d-31d2fb82ae5f":{"description":"`plan_limit_reached` or `insufficient_credits`: the account cannot cover another verification. `monthly_verification_limit_reached`: the account already created its monthly verification allowance (1000 unless agreed otherwise) this UTC calendar month, through any channel; creation reopens when the month turns, or on the Enterprise plan. Verifications and links already created can still be completed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"error.fields.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.fields.items.[INDEX].message","typeLabel":"string"}},"required":["path","message"],"uniqueKey":"error.fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.fields","typeLabel":"object[]"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"description":"Uniform error envelope. `code` is the stable string SDKs branch on (`invalid_request`, `unauthorized`, `not_found`, `expired`, `step_full`, `unknown_step`, `steps_incomplete`, `already_finalized`, `too_many_requests`, `plan_limit_reached`, `insufficient_credits`, `monthly_verification_limit_reached`, `storage_unavailable`, `internal_error`, `report_not_ready`, `report_inconclusive`). `fields` is only present on `invalid_request` validation failures.","uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"monthly_verification_limit_reached","message":"Monthly limit of 1000 verifications reached. Contact Rial to move to the Enterprise plan."}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"monthly_verification_limit_reached","message":"Monthly limit of 1000 verifications reached. Contact Rial to move to the Enterprise plan."}}}},"exampleType":"examples"}},"exampleType":"examples"},"22c34753-fa36-4816-9178-52a3c3ffcd7c":{"description":"No template with that slug for the authenticated tenant.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"error.fields.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.fields.items.[INDEX].message","typeLabel":"string"}},"required":["path","message"],"uniqueKey":"error.fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.fields","typeLabel":"object[]"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"description":"Uniform error envelope. `code` is the stable string SDKs branch on (`invalid_request`, `unauthorized`, `not_found`, `expired`, `step_full`, `unknown_step`, `steps_incomplete`, `already_finalized`, `too_many_requests`, `plan_limit_reached`, `insufficient_credits`, `monthly_verification_limit_reached`, `storage_unavailable`, `internal_error`, `report_not_ready`, `report_inconclusive`). `fields` is only present on `invalid_request` validation failures.","uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"not_found","message":"Resource not found"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"not_found","message":"Resource not found"}}}},"exampleType":"examples"}},"exampleType":"examples"},"aa50c8d2-094a-4111-9caa-f3c67b0e5bd1":{"description":"`identification_required` (the template asks for it) or `unknown_brand`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","enum":["identification_required","unknown_brand"],"isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cstring>"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"identification_required"}}},"exampleType":"generated"}},"exampleType":"generated"},"fe496157-1e2c-4395-a985-0b4394240c66":{"description":"The template store is unreachable — retry with backoff.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"cause":{"type":"string","uniqueKey":"cause","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":"storage_unavailable"},"examples":{"Example":{"title":"Example","value":{"error":"storage_unavailable"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"9048ea7b-2d89-4a2a-865a-e93e091c0ee8":{"bearerApiKey":{"type":"http","scheme":"bearer","bearerFormat":"rk_secret_\u003ckey>","description":"Secret API key, created in the dashboard under Settings → API. Send it as `Authorization: Bearer rk_secret_…` from your server only. Publishable keys (`pk_live_…`) are for the native SDKs and reach the capture endpoints alone. An unknown key returns 401.","scopes":[],"schemeName":"bearerApiKey"}}},"servers":{"36fbb192-4b2b-49e9-a768-331bb5be3efb":{"url":"https://api.rial.io","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"rk_secret_\u003ckey>","description":"Secret API key, created in the dashboard under Settings → API. Send it as `Authorization: Bearer rk_secret_…` from your server only. Publishable keys (`pk_live_…`) are for the native SDKs and reach the capture endpoints alone. An unknown key returns 401.","scopes":[],"schemeName":"bearerApiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Secret API key, created in the dashboard under Settings → API. Send it as `Authorization: Bearer rk_secret_…` from your server only. Publishable keys (`pk_live_…`) are for the native SDKs and reach the capture endpoints alone. An unknown key returns 401.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerApiKey","name":"Authorization"}],"title":"bearerApiKey"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"rial-84ef3b7b","siteName":"Rial","title":"Create a verification from a template - Rial","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-16T02:35:03.446Z","originalFileLocation":"api-reference/templates/create-a-verification-from-a-template.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create one verification from a template and get its link. The body overrides the template for this verification: metadata merges, the rest replace.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Rial\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rial-84ef3b7b/gbn7Xo3tfij-224p/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/rial-84ef3b7b/gbn7Xo3tfij-224p/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rial-84ef3b7b/gbn7Xo3tfij-224p/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rial-84ef3b7b/gbn7Xo3tfij-224p/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rial-84ef3b7b/gbn7Xo3tfij-224p/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rial-84ef3b7b/gbn7Xo3tfij-224p/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rial-84ef3b7b/gbn7Xo3tfij-224p/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rial-84ef3b7b/gbn7Xo3tfij-224p/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rial-84ef3b7b/gbn7Xo3tfij-224p/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a verification from a template - Rial\">\u003cmeta data-mint-head property=\"og:description\" content=\"Verify that a photo is real. API, CLI and native SDKs.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rial\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.rial.io/api-reference/templates/create-a-verification-from-a-template\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rial-84ef3b7b.mintlify.site/_mintlify/api/og/v2?division=Templates\u0026amp;title=Create+a+verification+from+a+template\u0026amp;description=Create+one+verification+from+a+template+and+get+its+link.+The+body+overrides+the+template+for+this+verification%3A+%60metadata%60+merges%2C+the+rest+replace.\u0026amp;theme=e9c1423f075eacc572e5cb75\u0026amp;signature=e4e735c748e07c302f6e6494cbdec057cb933572607dcc211866722149952202\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a verification from a template - Rial\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Verify that a photo is real. API, CLI and native SDKs.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rial-84ef3b7b.mintlify.site/_mintlify/api/og/v2?division=Templates\u0026amp;title=Create+a+verification+from+a+template\u0026amp;description=Create+one+verification+from+a+template+and+get+its+link.+The+body+overrides+the+template+for+this+verification%3A+%60metadata%60+merges%2C+the+rest+replace.\u0026amp;theme=e9c1423f075eacc572e5cb75\u0026amp;signature=e4e735c748e07c302f6e6494cbdec057cb933572607dcc211866722149952202\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/rial-84ef3b7b/gbn7Xo3tfij-224p/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Rial\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1C1C1A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.rial.io/api-reference/templates/create-a-verification-from-a-template\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/templates/create-a-verification-from-a-template.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.rial.io/#organization\",\"name\":\"Rial\",\"url\":\"https://docs.rial.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/rial-84ef3b7b/3BGl3crqe81CslFi/logo/rial-imagotype-light.svg?fit=max\u0026auto=format\u0026n=3BGl3crqe81CslFi\u0026q=85\u0026s=f87832b55472581c748e69fe09932a5e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.rial.io#website\",\"name\":\"Rial\",\"url\":\"https://docs.rial.io\",\"publisher\":{\"@id\":\"https://docs.rial.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.rial.io/api-reference/templates/create-a-verification-from-a-template#webpage\",\"url\":\"https://docs.rial.io/api-reference/templates/create-a-verification-from-a-template\",\"name\":\"Create a verification from a template\",\"description\":\"Create one verification from a template and get its link. The body overrides the template for this verification: metadata merges, the rest replace.\",\"dateModified\":\"2026-10-16T02:35:03.446Z\",\"isPartOf\":{\"@id\":\"https://docs.rial.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.rial.io/api-reference/templates/create-a-verification-from-a-template#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.rial.io/api-reference/templates/create-a-verification-from-a-template#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Templates\",\"item\":\"https://docs.rial.io/api-reference/templates/list-templates\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a verification from a template\",\"item\":\"https://docs.rial.io/api-reference/templates/create-a-verification-from-a-template\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.rial.io/api-reference/templates/create-a-verification-from-a-template#apireference\",\"headline\":\"Create a verification from a template\",\"name\":\"Create a verification from a template\",\"description\":\"Create one verification from a template and get its link. The body overrides the template for this verification: metadata merges, the rest replace.\",\"url\":\"https://docs.rial.io/api-reference/templates/create-a-verification-from-a-template\",\"mainEntityOfPage\":{\"@id\":\"https://docs.rial.io/api-reference/templates/create-a-verification-from-a-template#webpage\"},\"dateModified\":\"2026-10-16T02:35:03.446Z\",\"publisher\":{\"@id\":\"https://docs.rial.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.rial.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Rial\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Rial\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/templates/create-a-verification-from-a-template.md","siteName":"Rial","nav":{"global":null,"tabs":[{"tab":"Get started","icon":"rocket","pages":[{"title":"Get started","href":""}]},{"tab":"SDKs \u0026 tools","icon":"code","pages":[{"title":"SDKs \u0026 tools","href":"/sdks/node"}]},{"tab":"API reference","icon":"book-open","groups":[{"group":"Credits","pages":[{"title":"Get the credit balance, saved card and monthly spend","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/me/credits","href":"/api-reference/credits/get-the-credit-balance-saved-card-and-monthly-spend"},{"title":"Get a link where a person saves the card agents will charge","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/me/credits/payment-method","href":"/api-reference/credits/get-a-link-where-a-person-saves-the-card-agents-will-charge"},{"title":"Buy a pack of photo credits with the saved card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/me/credits/top-ups","href":"/api-reference/credits/buy-a-pack-of-photo-credits-with-the-saved-card"}]},{"group":"Verifications","pages":[{"title":"List verifications","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/verifications","href":"/api-reference/verifications/list-verifications"},{"title":"Create a verification","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/verifications","href":"/api-reference/verifications/create-a-verification"},{"title":"Get a verification","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/verifications/{id}","href":"/api-reference/verifications/get-a-verification"},{"title":"Get optional damage localization results","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/verifications/{id}/damage-localization","href":"/api-reference/verifications/get-optional-damage-localization-results"},{"title":"Get the share-safe result","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/verifications/{id}/public","href":"/api-reference/verifications/get-the-share-safe-result"},{"title":"Get the event log","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/verifications/{id}/events","href":"/api-reference/verifications/get-the-event-log"},{"title":"Finalize with a narrative","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/verifications/{id}/finalize","href":"/api-reference/verifications/finalize-with-a-narrative"}]},{"group":"Audits","pages":[{"title":"Audit a photo for AI generation in one call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/audits/sync","href":"/api-reference/audits/audit-a-photo-for-ai-generation-in-one-call"}]},{"group":"Templates","pages":[{"title":"List templates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/link-templates","href":"/api-reference/templates/list-templates"},{"title":"Publish a template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/link-templates","href":"/api-reference/templates/publish-a-template"},{"title":"Delete a template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/link-templates/{slug}","href":"/api-reference/templates/delete-a-template"},{"title":"Update a template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/link-templates/{slug}","href":"/api-reference/templates/update-a-template"},{"title":"Preview a CSV import","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/link-templates/{slug}/import/preview","href":"/api-reference/templates/preview-a-csv-import"},{"title":"Import a CSV","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/link-templates/{slug}/import","href":"/api-reference/templates/import-a-csv"},{"title":"Check an import","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/link-templates/imports/{jobId}","href":"/api-reference/templates/check-an-import"},{"title":"Simulate a template","description":"Create one test verification from the template. It runs for real, is not billed and sends no notifications.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/link-templates/{slug}/simulate","href":"/api-reference/templates/simulate-a-template"},{"title":"Create a verification from a template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/link-templates/{slug}/verifications","href":"/api-reference/templates/create-a-verification-from-a-template"}]},{"group":"Databases","pages":[{"title":"List your databases","description":"Your databases, with their columns and rows.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/databases","href":"/api-reference/databases/list-your-databases"},{"title":"Create a database from rows","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/databases","href":"/api-reference/databases/create-a-database-from-rows"},{"title":"Replace a database's rows","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/databases/{id}","href":"/api-reference/databases/replace-a-databases-rows"},{"title":"Rename a database","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /v1/databases/{id}","href":"/api-reference/databases/rename-a-database"}]}]}]},"basePath":"","title":"Create a verification from a template - Rial","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-x4vGgoST.js","snippetPresets-BGlsYH49.js","utils-D225GpYB.js","style-to-object-BY3JEAdk.js","utils-fb7dxv-3.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-D0sNzoEe.js","conditional-requirements-CFM0id0Q.js","cloneDeep-C4iMfrOs.js","_Uint8Array-DDor1j2p.js","isObject-FP1Yky1u.js","ApiExamples-Bw_TWYoP.js","usePlaygroundInputsStore-DLRpNM_Z.js","shallow-DCZ_mvT2.js","isEqual-BZMHHGz2.js","CodeSnippets-CqYNT6UN.js","CodeSnippet-AsYrl7_f.js","getApiPlaygroundDisplay-B1HdZsAn.js","Page-COAeG2by.js","DynamicMarkdown-Bg54PExR.js","SectionHeading-BVOfbSTS.js","icon-Bwg0LftJ.js","MethodPill-ETXe5J4U.js","getPastedJson-6m1DH7UM.js","Check2Icon-Bz4v4IkN.js","axios-CsQoIw0U.js","Markdown-CYkmN8yk.js","AssistantPageLink-BZUrxqjy.js","dist-C-58LlaB.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}