Skip to main content

Update a Smart Report

Update an existing SmartReport belonging to the authenticated client. Send only the fields you want to modify; fields omitted from the request remain unchanged.

If the report ID does not exist or belongs to another client, the endpoint returns 404 Not Found ({ "message": "not_found", "code": "NotFound" }).

Endpoint​

PUT https://api.verifik.co/v2/smart-reports/{id}

This endpoint is also reachable through the Smart-Agent proxy at https://ai.verifik.co/v2/smart-reports/{id} using your own per-client Authorization: Bearer <VERIFIK_JWT>. Shared x402 execution is blocked with 403 Forbidden.

Headers​

NameValueDescription
Content-Typeapplication/jsonRequest payload format.
AuthorizationBearer <VERIFIK_JWT>Client-scoped JWT (authUser.clientId).

Parameters​

NameTypeRequiredDescription
idstringYesSmartReport ObjectId to update.

Body​

All body fields are optional; provide only the attributes you want to update.

NameTypeRequiredDescription
namestringNoDisplay name for the report.
statusstringNoReport status: "draft", "generating", "generated", "sent", or "failed".
pdfUrlstringNoStored URL for the generated PDF artifact.
pdfSizenumberNoSize of the generated PDF in bytes.
htmlSnapshotstringNoSaved HTML snapshot of the rendered report.
pageCountnumberNoPage count of the generated PDF.
pdfEnginestringNoRendering engine: "pdfkit" or "puppeteer".
generatedAtstringNoISO 8601 timestamp when the report was generated.
generationDurationMsnumberNoPDF generation duration in milliseconds.
dataSnapshotobjectNoSnapshot of row or input data used for the report.
externalRefIdstringNoCaller correlation identifier.
webhookUrlstringNoPer-report http or https webhook override URL.
rowIndexnumberNoZero-based row index associated with this report.
createdByChannelstringNoOrigin channel: "portal", "api", "mcp", "x402", or "webhook".
verificationScoreSummaryobjectNoSummary metadata from verification scoring.
errorobject or stringNoError payload or message recorded for failed states.

Request​

import axios from "axios";

const run = async () => {
const id = "6801a2b3c4d5e6f7a8b9c0d1";
const { data } = await axios.put(
`https://api.verifik.co/v2/smart-reports/${id}`,
{
name: "Background Check - Applicant 42 (Reviewed)",
externalRefId: "applicant-42-v2",
webhookUrl: "https://webhooks.example.com/verifik",
},
{
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.VERIFIK_JWT}`,
},
}
);

console.log(data);
};

run();

Response​

{
"data": {
"_id": "6801a2b3c4d5e6f7a8b9c0d1",
"template": "6801a2b3c4d5e6f7a8b9c0d2",
"smartBatch": "6801a2b3c4d5e6f7a8b9c0d3",
"name": "Background Check - Applicant 42 (Reviewed)",
"status": "generated",
"externalRefId": "applicant-42-v2",
"webhookUrl": "https://webhooks.example.com/verifik",
"rowIndex": 0,
"createdByChannel": "api",
"createdAt": "2026-11-24T20:00:00.000Z",
"updatedAt": "2026-11-24T20:05:00.000Z"
}
}

Webhooks & MCP Integration​

Notes​