Table of Contents

Struct CreateTemplateRequest

Namespace
Vonage.VerifyV2.CreateTemplate
Assembly
Vonage.dll

Represents a request to create a new custom verification template. Templates allow customization of the message text sent to users during verification.

[Builder(new string[] { })]
public readonly struct CreateTemplateRequest : IVonageRequest
Implements
Inherited Members

Properties

Name

Sets the reference name for the template. Must be 1-64 characters matching the pattern ^[A-Za-z0-9_-]+$ and unique within the account.

[Mandatory(0)]
public string Name { get; }

Property Value

string

Examples

.WithName("my-custom-template")

Methods

Build()

public static IBuilderForName Build()

Returns

IBuilderForName

BuildRequestMessage()

Converts the request to a HttpRequest.

public HttpRequestMessage BuildRequestMessage()

Returns

HttpRequestMessage

The Http request.