Management API
Go
package example import ( context "context" management "github.com/auth0/go-auth0/management/management" phone "github.com/auth0/go-auth0/management/management/branding/phone" client "github.com/auth0/go-auth0/management/management/client" option "github.com/auth0/go-auth0/management/management/option" ) func do() { client := client.NewClient( option.WithToken( "<token>", ), ) request := &phone.ListPhoneTemplatesRequestParameters{ Disabled: management.Bool( true, ), } client.Branding.Phone.Templates.List( context.TODO(), request, ) }
{ "templates": [ { "id": "<string>", "content": { "syntax": "<string>", "from": "<string>", "body": { "text": "<string>", "voice": "<string>" } }, "type": "otp_verify", "disabled": false, "channel": "<string>", "customizable": true, "tenant": "<string>" } ] }
Documentation IndexFetch the complete documentation index at: https://auth0-feat-ionic-capacitor-quickstart-modernization.mintlify.app/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://auth0-feat-ionic-capacitor-quickstart-modernization.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Whether the template is enabled (false) or disabled (true).
The phone notification templates were retrieved.
Show child attributes
このページは役に立ちましたか?