# How to find custom email template

**URL:** <https://developer.sailpoint.com/discuss/t/how-to-find-custom-email-template/7965>\
**Category:** SHF Discussion and Questions\
**Tags:** apis, identity-security-cloud\
**Created:** [February 5, 2023, 6:09pm UTC](https://developer.sailpoint.com/discuss/t/how-to-find-custom-email-template/7965 "2023-02-05T18:09:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandramohan2706](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@chandramohan2706](https://developer.sailpoint.com/discuss/u/chandramohan2706)\
**Post date:** [February 5, 2023, 6:09pm UTC](https://developer.sailpoint.com/discuss/t/how-to-find-custom-email-template/7965/1 "2023-02-05T18:09:32Z")

</div>

@colin_mckibben

I’m trying to use the same logic with life cycle state change. I know there is already an existing template for lifecycle change. I don’t want to edit that, Instead I tried creating a new notification template with the same pattern with if condition that sends email only if lifecycle state is inactive.

But here, I’m not able to view the notification template which I created through API call. I can only see the default templates under global-\>Email templates.

Can you help me where to find the notification templates which we create.

---

<div class="post-metadata">

**Author:** ![LukeHagar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/lukehagar/32/1605_2.png) [@LukeHagar](https://developer.sailpoint.com/discuss/u/LukeHagar)\
**Post date:** [February 6, 2023, 3:54pm UTC](https://developer.sailpoint.com/discuss/t/how-to-find-custom-email-template/7965/2 "2023-02-06T15:54:54Z")

</div>

Hey @chandramohan2706,

Thanks for posting!

I think you are looking for the Notifications API Endpoint:

> **[Notifications | SailPoint Developer Community](https://developer.sailpoint.com/idn/api/beta/notifications)**
>
> Notifications

It should allow you to perform all the operations needed.

Take a look, and Please let me know if you have any specific questions I can help out with.

---

<div class="post-metadata">

**Author:** ![chandramohan2706](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@chandramohan2706](https://developer.sailpoint.com/discuss/u/chandramohan2706)\
**Post date:** [February 6, 2023, 4:09pm UTC](https://developer.sailpoint.com/discuss/t/how-to-find-custom-email-template/7965/3 "2023-02-06T16:09:40Z")

</div>

Hi @LukeHagar

I tried creating a notification template through API call and I see it got created. But I’m not sure where to view the notification template which I created. I searched under global-\> email templates. But i only see the default templates and not the custom created template.

---

<div class="post-metadata">

**Author:** ![LukeHagar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/lukehagar/32/1605_2.png) [@LukeHagar](https://developer.sailpoint.com/discuss/u/LukeHagar)\
**Post date:** [February 6, 2023, 4:11pm UTC](https://developer.sailpoint.com/discuss/t/how-to-find-custom-email-template/7965/4 "2023-02-06T16:11:34Z")

</div>

You should be able to view the custom notifications using the list notifications endpoint here:

> **[list-notification-templates | SailPoint Developer Community](https://developer.sailpoint.com/idn/api/beta/list-notification-templates)**
>
> List Notification Templates

---

<div class="post-metadata">

**Author:** ![chandramohan2706](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@chandramohan2706](https://developer.sailpoint.com/discuss/u/chandramohan2706)\
**Post date:** [February 6, 2023, 4:53pm UTC](https://developer.sailpoint.com/discuss/t/how-to-find-custom-email-template/7965/5 "2023-02-06T16:53:48Z")

</div>

Thanks @LukeHagar

I can see the notification template i created, But it not sending notifications when user life cycle state moves to INACTIVE. could you please let me know if there is any steps i need to follow to enable this custom email notification.

Custom Notification Template :

```auto
[
    {
        "id": "7bd82c62-cefc-4cf4-85a3-d90d2e112a99",
        "created": "2023-02-05T17:43:47.926Z",
        "modified": null,
        "medium": "EMAIL",
        "key": "cloud_lifecycle_state_change",
        "name": "Cloud Lifecycle State INACTIVE",
        "description": "Notification for lifecycle state change to INACTIVE",
        "locale": "en",
        "subject": "Lifecycle state change to INACTIVE for ${identityName}",
        "header": null,
        "body": "<font face=\"helvetica,arial,sans-serif\"><p> The user ${identityName}&#39;s status has changed to $inactive. </p><p> Thanks,<br /> The ${PRODUCT_NAME} Team </p></font>",
        "footer": null,
        "from": "$__global.emailFromAddress",
        "replyTo": "$__global.emailFromAddress",
        "slackTemplate": null,
        "teamsTemplate": null
    }
]

```

---

<div class="post-metadata">

**Author:** ![2135797](https://avatars.discourse-cdn.com/v4/letter/2/8797f3/32.png) [@2135797](https://developer.sailpoint.com/discuss/u/2135797)\
**Post date:** [June 21, 2023, 1:11pm UTC](https://developer.sailpoint.com/discuss/t/how-to-find-custom-email-template/7965/6 "2023-06-21T13:11:44Z")

</div>

Hi everyone,  
I tried to create notification templet but it is not creating. Could you please let me know if there is any steps I need to follow to create this custom email notification. Here I am sharing the templet.  
“key”: “Revoke\_access\_for\_users”, this key is same for all email templets or different? if no how to get key for email templet

```auto
{
    "medium": "EMAIL",
    "key": "Revoke_access_for_users",
    "name": "Revoke access for user",
    "description": "To revoke the access to user who not logged on for 90 days",
    "locale": "en",
    "subject": "Reminder: Revoke access due to non active for server",
    "header": "Dear john,<br/><br/>",
    "body": "Your access to the Black : Approver Access Profile is scheduled to revoke on 2023-06-21T12:47:52.978924+00:00due to not logged on for 90 days.\nIf you still need access to Black : Approver you need to login to application before 2023-06-21T12:47:52.978924+00:00",
    "footer": "<br/>Thanks,<br/> The $__global.productName Team<br/>",
    "from": "$__global.emailFromAddress",
    "replyTo": "john@external.nl",
    "slackTemplate": null,
    "teamsTemplate": null
}

```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [August 20, 2023, 1:11pm UTC](https://developer.sailpoint.com/discuss/t/how-to-find-custom-email-template/7965/7 "2023-08-20T13:11:59Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
