Passer au contenu principal
POST
/
branding
/
phone
/
templates
/
{id}
/
try
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.branding.phone.templates.test("id", {
        to: "to",
    });
}
main();
{
  "message": "<string>"
}

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

id
string
requis
Required string length: 1 - 255

Corps

to
string
requis

Destination of the testing phone notification

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

Medium to use to send the notification

Options disponibles:
text,
voice
Required string length: 1 - 10

Réponse

The phone testing notification for the template was sent

message
string
requis