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

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.branding.phone.providers.test("id", {
        to: "to",
    });
}
main();
{
  "code": 123,
  "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

The recipient phone number to receive a given notification.

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

The delivery method for the notification

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

Réponse

Phone notification sent.

code
number

The status code of the operation.

message
string

The description of the operation status.