Table of Contents

Class Template

Namespace
Vonage.VerifyV2
Assembly
Vonage.dll

Represents a custom verification message template. Templates allow you to customize the text content sent to users during verification.

public record Template : IEquatable<Template>
Inheritance
Template
Implements
Inherited Members

Constructors

Represents a custom verification message template. Templates allow you to customize the text content sent to users during verification.

public Template(Guid TemplateId, string Name, bool IsDefault, TemplateLinks Links)

Parameters

TemplateId Guid

The unique identifier (UUID) of the template.

Name string

The reference name for the template. Must match the pattern ^[A-Za-z0-9_-]+$ and be unique within the account.

IsDefault bool

Indicates whether this template is used as the default when no template_id is specified in verification requests.

Links TemplateLinks

HAL navigation links for accessing the template and its fragments.

Properties

IsDefault

Indicates whether this template is used as the default when no template_id is specified in verification requests.

[JsonPropertyName("is_default")]
public bool IsDefault { get; init; }

Property Value

bool

HAL navigation links for accessing the template and its fragments.

[JsonPropertyName("_links")]
public TemplateLinks Links { get; init; }

Property Value

TemplateLinks

Name

The reference name for the template. Must match the pattern ^[A-Za-z0-9_-]+$ and be unique within the account.

[JsonPropertyName("name")]
public string Name { get; init; }

Property Value

string

TemplateId

The unique identifier (UUID) of the template.

[JsonPropertyName("template_id")]
public Guid TemplateId { get; init; }

Property Value

Guid