Skip to main content
Find Truv Templates within the Customization section of your Dashboard. Configure Truv Bridge and your order flow for your specific product types when creating a customization template. For example, you can apply different branding and language according to your specific client needs. Your template configurations take priority over other settings, such as universal branding or those from Truv Bridge and Orders.

Attributes

View the payload for retrieving customizable template information.
When the other document type is enabled in document_upload, end users can upload arbitrary documents that don’t fit the other categories. Truv does not parse these documents into structured data (they are captured only) — you can collect the uploaded files through the Uploaded Documents API (GET /v1/links/{link_id}/documents/).

Endpoints

The table below covers the available endpoints for customizable templates.

What templates control

Templates give you fine-grained control over the verification experience across several areas:
To suppress all Truv-sent notifications and handle communications yourself, enable suppress_user_notifications in the template’s orders.notification_settings configuration. Its companion field first_notification_delay_hours is ignored when suppression is on.

Restrict the custom field format

Set orders.custom_field_pattern to accept only order custom_field values in a specific format, such as a 9-digit case number. The pattern is a regular expression: [0-9] means “a digit” and {9} means “exactly nine times”, so [0-9]{9} accepts exactly nine digits. Try patterns on sample values with regex101. Set the pattern in the template’s orders object:
Escape backslashes in JSON. For example, send the pattern \d{9} as "\\d{9}".
The whole value must match the pattern of the order’s template, or the default template if you omit template_id. A mismatch returns 400 Bad Request with an error on custom_field. Orders without custom_field aren’t checked.
Patterns match ASCII characters only and can be up to 100 characters. Truv rejects patterns that could take too long to evaluate, such as nested repeats like (a+)+, backreferences, and lookarounds.

Example response

The bridge.texts object is deprecated. Use bridge.product_settings instead to configure per-product Bridge text; texts will be removed in a future version.
View the JSON response example below.