Skip to main content

Create Verification Request

Creates a verification request using multipart form-data. This endpoint supports pre-filled textual field values and binary file attachments. Files attached must match filenames specified in the responseValues payload. See the VerificationRequest Schema for details on the verification request fields returned in the response.

POST/public/v1/verifications

Content-Type​

multipart/form-data


Scope Required​

write:verifications:self (or write:verifications:impersonate)


Form-Data Request Fields​

FieldTypeDescription
templateUuidstringRequired. UUID of the template to use.
responseValuesstring (JSON Array)Required. Pre-filled field values. File fields must specify fileName.
titlestringTitle of the verification request.
descriptionstringDescription / instructions.
assigneeHandlesstring (JSON Array)Handles of users assigned to review this verification (e.g. ["sagar", "@jose"]).
requesterUserIdstring (Number)Impersonate a user ID as the requester (impersonate scope required).
metadatastring (JSON Object)Arbitrary key-value metadata (e.g. {"department": "Finance"}).
filesfileBinary file payload matching filenames specified in responseValues.

Example responseValues Payload:​

JSON
[
{
  "fieldUuid": "e7317414-5232-4915-a2fb-c01d8758a149",
  "fileName": "invoice.pdf"
},
{
  "fieldUuid": "b4d288b9-8e6d-443e-8764-b9c162357216",
  "value": "Initial placeholder text message"
}
]

Example Request​

curl -X POST https://api.internal.gettru.app/public/v1/verifications \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-F "templateUuid=6f39727a-8a9e-44a6-97aa-2542456c855e" \
-F "title=Verify Invoice Number" \
-F "description=Please review the attached invoice." \
-F 'metadata={"department": "Finance"}' \
-F 'responseValues=[{"fieldUuid": "e7317414-5232-4915-a2fb-c01d8758a149", "fileName": "invoice.pdf"}, {"fieldUuid": "b4d288b9-8e6d-443e-8764-b9c162357216", "value": "Initial placeholder text message"}]' \
-F "files=@/path/to/invoice.pdf"

Response (201 Created)​

201 Created
{
"success": true,
"data": {
  "verificationUuid": "6fc1dabb-6c88-4676-a7cc-fb71c7ceb5ca",
  "title": "Verify Invoice Number",
  "description": "Please review the attached invoice.",
  "status": "PENDING",
  "metadata": {
    "department": "Finance"
  },
  "completedAt": null,
  "createdAt": "2026-08-04T08:00:00.000Z",
  "responseValues": [
    {
      "fieldUuid": "b4d288b9-8e6d-443e-8764-b9c162357216",
      "label": "Your Message",
      "value": "Initial placeholder text message"
    }
  ],
  "attachments": [
    {
      "mediaUuid": "9b1deb4d-3b7d-4ba6-8c43-da583d736db2",
      "fileName": "invoice.pdf",
      "publicUrl": "http://localhost:3000/uploads/invoice.pdf",
      "mimeType": "application/pdf",
      "fileSize": 124500
    }
  ],
  "responseMedia": [
    {
      "fieldUuid": "e7317414-5232-4915-a2fb-c01d8758a149",
      "label": "Attach file or photo",
      "mediaUuid": "9b1deb4d-3b7d-4ba6-8c43-da583d736db2",
      "fileName": "invoice.pdf",
      "publicUrl": "http://localhost:3000/uploads/invoice.pdf"
    }
  ]
}
}