メインコンテンツへスキップ
POST
https://{tenantDomain}/api/v2
/
branding
/
phone
/
templates
/
{id}
/
try
C#
using Auth0.ManagementApi;
using System.Threading.Tasks;
using Auth0.ManagementApi.Branding.Phone;

public partial class Examples
{
    public async Task Example() {
        var client = new ManagementClient(
            token: "<token>"
        );

        await client.Branding.Phone.Templates.TestAsync(
            id: "id",
            request: new CreatePhoneTemplateTestNotificationRequestContent {
                To = "to"
            }
        );
    }

}
{
  "message": "<string>"
}

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

ヘッダー

auth0-custom-domain
string

Custom domain to be used for this request

Required string length: 3 - 255

パスパラメータ

id
string
必須
Required string length: 1 - 255

ボディ

to
string
必須

Destination of the testing phone notification

Required string length: 1 - 16
delivery_method
enum<string>

Medium to use to send the notification

利用可能なオプション:
text,
voice
Required string length: 1 - 10

レスポンス

The phone testing notification for the template was sent

message
string
必須