1. Packages
  2. Auth0 Provider
  3. API Docs
  4. getPhoneNotificationTemplate
Auth0 v3.35.0 published on Tuesday, Dec 23, 2025 by Pulumi
auth0 logo
Auth0 v3.35.0 published on Tuesday, Dec 23, 2025 by Pulumi

    Data source to retrieve a specific Auth0 Phone Notification Template by template_id.

    Using getPhoneNotificationTemplate

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getPhoneNotificationTemplate(args: GetPhoneNotificationTemplateArgs, opts?: InvokeOptions): Promise<GetPhoneNotificationTemplateResult>
    function getPhoneNotificationTemplateOutput(args: GetPhoneNotificationTemplateOutputArgs, opts?: InvokeOptions): Output<GetPhoneNotificationTemplateResult>
    def get_phone_notification_template(template_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetPhoneNotificationTemplateResult
    def get_phone_notification_template_output(template_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetPhoneNotificationTemplateResult]
    func LookupPhoneNotificationTemplate(ctx *Context, args *LookupPhoneNotificationTemplateArgs, opts ...InvokeOption) (*LookupPhoneNotificationTemplateResult, error)
    func LookupPhoneNotificationTemplateOutput(ctx *Context, args *LookupPhoneNotificationTemplateOutputArgs, opts ...InvokeOption) LookupPhoneNotificationTemplateResultOutput

    > Note: This function is named LookupPhoneNotificationTemplate in the Go SDK.

    public static class GetPhoneNotificationTemplate 
    {
        public static Task<GetPhoneNotificationTemplateResult> InvokeAsync(GetPhoneNotificationTemplateArgs args, InvokeOptions? opts = null)
        public static Output<GetPhoneNotificationTemplateResult> Invoke(GetPhoneNotificationTemplateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPhoneNotificationTemplateResult> getPhoneNotificationTemplate(GetPhoneNotificationTemplateArgs args, InvokeOptions options)
    public static Output<GetPhoneNotificationTemplateResult> getPhoneNotificationTemplate(GetPhoneNotificationTemplateArgs args, InvokeOptions options)
    
    fn::invoke:
      function: auth0:index/getPhoneNotificationTemplate:getPhoneNotificationTemplate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TemplateId string
    The ID of the Phone Notification Template.
    TemplateId string
    The ID of the Phone Notification Template.
    templateId String
    The ID of the Phone Notification Template.
    templateId string
    The ID of the Phone Notification Template.
    template_id str
    The ID of the Phone Notification Template.
    templateId String
    The ID of the Phone Notification Template.

    getPhoneNotificationTemplate Result

    The following output properties are available:

    Channel string
    The channel of the phone notification template (e.g., sms, voice).
    Contents List<GetPhoneNotificationTemplateContent>
    The content of the phone notification template.
    Customizable bool
    Indicates whether the phone notification template is customizable.
    Disabled bool
    Indicates whether the phone notification template is disabled.
    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateId string
    The ID of the Phone Notification Template.
    Tenant string
    The tenant of the phone notification template.
    Type string
    The type of the phone notification template.
    Channel string
    The channel of the phone notification template (e.g., sms, voice).
    Contents []GetPhoneNotificationTemplateContent
    The content of the phone notification template.
    Customizable bool
    Indicates whether the phone notification template is customizable.
    Disabled bool
    Indicates whether the phone notification template is disabled.
    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateId string
    The ID of the Phone Notification Template.
    Tenant string
    The tenant of the phone notification template.
    Type string
    The type of the phone notification template.
    channel String
    The channel of the phone notification template (e.g., sms, voice).
    contents List<GetPhoneNotificationTemplateContent>
    The content of the phone notification template.
    customizable Boolean
    Indicates whether the phone notification template is customizable.
    disabled Boolean
    Indicates whether the phone notification template is disabled.
    id String
    The provider-assigned unique ID for this managed resource.
    templateId String
    The ID of the Phone Notification Template.
    tenant String
    The tenant of the phone notification template.
    type String
    The type of the phone notification template.
    channel string
    The channel of the phone notification template (e.g., sms, voice).
    contents GetPhoneNotificationTemplateContent[]
    The content of the phone notification template.
    customizable boolean
    Indicates whether the phone notification template is customizable.
    disabled boolean
    Indicates whether the phone notification template is disabled.
    id string
    The provider-assigned unique ID for this managed resource.
    templateId string
    The ID of the Phone Notification Template.
    tenant string
    The tenant of the phone notification template.
    type string
    The type of the phone notification template.
    channel str
    The channel of the phone notification template (e.g., sms, voice).
    contents Sequence[GetPhoneNotificationTemplateContent]
    The content of the phone notification template.
    customizable bool
    Indicates whether the phone notification template is customizable.
    disabled bool
    Indicates whether the phone notification template is disabled.
    id str
    The provider-assigned unique ID for this managed resource.
    template_id str
    The ID of the Phone Notification Template.
    tenant str
    The tenant of the phone notification template.
    type str
    The type of the phone notification template.
    channel String
    The channel of the phone notification template (e.g., sms, voice).
    contents List<Property Map>
    The content of the phone notification template.
    customizable Boolean
    Indicates whether the phone notification template is customizable.
    disabled Boolean
    Indicates whether the phone notification template is disabled.
    id String
    The provider-assigned unique ID for this managed resource.
    templateId String
    The ID of the Phone Notification Template.
    tenant String
    The tenant of the phone notification template.
    type String
    The type of the phone notification template.

    Supporting Types

    GetPhoneNotificationTemplateContent

    Bodies List<GetPhoneNotificationTemplateContentBody>
    The body content of the phone notification template.
    From string
    The sender phone number for SMS or voice notifications.
    Syntax string
    The syntax of the phone notification template.
    Bodies []GetPhoneNotificationTemplateContentBody
    The body content of the phone notification template.
    From string
    The sender phone number for SMS or voice notifications.
    Syntax string
    The syntax of the phone notification template.
    bodies List<GetPhoneNotificationTemplateContentBody>
    The body content of the phone notification template.
    from String
    The sender phone number for SMS or voice notifications.
    syntax String
    The syntax of the phone notification template.
    bodies GetPhoneNotificationTemplateContentBody[]
    The body content of the phone notification template.
    from string
    The sender phone number for SMS or voice notifications.
    syntax string
    The syntax of the phone notification template.
    bodies Sequence[GetPhoneNotificationTemplateContentBody]
    The body content of the phone notification template.
    from_ str
    The sender phone number for SMS or voice notifications.
    syntax str
    The syntax of the phone notification template.
    bodies List<Property Map>
    The body content of the phone notification template.
    from String
    The sender phone number for SMS or voice notifications.
    syntax String
    The syntax of the phone notification template.

    GetPhoneNotificationTemplateContentBody

    Text string
    The text content for SMS notifications.
    Voice string
    The voice content for voice notifications.
    Text string
    The text content for SMS notifications.
    Voice string
    The voice content for voice notifications.
    text String
    The text content for SMS notifications.
    voice String
    The voice content for voice notifications.
    text string
    The text content for SMS notifications.
    voice string
    The voice content for voice notifications.
    text str
    The text content for SMS notifications.
    voice str
    The voice content for voice notifications.
    text String
    The text content for SMS notifications.
    voice String
    The voice content for voice notifications.

    Package Details

    Repository
    Auth0 pulumi/pulumi-auth0
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the auth0 Terraform Provider.
    auth0 logo
    Auth0 v3.35.0 published on Tuesday, Dec 23, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate