メインコンテンツへスキップ
GET
/
branding
/
phone
/
templates
/
{id}
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.branding.phone.templates.get("id");
}
main();
{
  "id": "<string>",
  "content": {
    "syntax": "<string>",
    "from": "<string>",
    "body": {
      "text": "<string>",
      "voice": "<string>"
    }
  },
  "type": "otp_verify",
  "disabled": false,
  "channel": "<string>",
  "customizable": true,
  "tenant": "<string>"
}

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須
Required string length: 1 - 255

レスポンス

The phone notification template were retrieved.

id
string
必須
Required string length: 1 - 255
content
object
必須
type
enum<string>
必須
利用可能なオプション:
otp_verify,
otp_enroll,
change_password,
blocked_account,
password_breach
Maximum string length: 255
disabled
boolean
デフォルト:false
必須

Whether the template is enabled (false) or disabled (true).

channel
string
customizable
boolean
tenant
string
Required string length: 1 - 255