Class Template
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
Template(Guid, string, bool, TemplateLinks)
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
TemplateIdGuidThe unique identifier (UUID) of the template.
NamestringThe reference name for the template. Must match the pattern ^[A-Za-z0-9_-]+$ and be unique within the account.
IsDefaultboolIndicates whether this template is used as the default when no template_id is specified in verification requests.
LinksTemplateLinksHAL 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
Links
HAL navigation links for accessing the template and its fragments.
[JsonPropertyName("_links")]
public TemplateLinks Links { get; init; }
Property Value
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
TemplateId
The unique identifier (UUID) of the template.
[JsonPropertyName("template_id")]
public Guid TemplateId { get; init; }