# How to access the api values that were set in Post Execution Script in the Alert Notifications?

**URL:** <https://community.dynatrace.com/t/how-to-access-the-api-values-that-were-set-in-post-execution-script-in-the-alert-notifications/43765>\
**Category:** Synthetic Monitoring\
**Tags:** http-monitor, problems-classic\
**Created:** [January 23, 2024, 5:35am UTC](https://community.dynatrace.com/t/how-to-access-the-api-values-that-were-set-in-post-execution-script-in-the-alert-notifications/43765 "2024-01-23T05:35:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roshi02](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@Roshi02](https://community.dynatrace.com/u/Roshi02)\
**Post date:** [January 23, 2024, 5:35am UTC](https://community.dynatrace.com/t/how-to-access-the-api-values-that-were-set-in-post-execution-script-in-the-alert-notifications/43765/1 "2024-01-23T05:35:34Z")

</div>

Hello team,

We have a Synthetic monitor enabled for a HTTP Get endpoint, and we also have integrated both Email and Slack notification to get notified in case of any outage. But we could see there is no proper message in the Alert notification, so we would like to have the actual response body in the alert message. For that we have enabled Post execution script with the following script to capture the response body.

 ![Roshi02_0-1705987905799.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/696f6ecb0923e857db4fb100398ad81c92cc5eec.png)

We tried using this as a placeholder {responseBody} in the Slack Message, but we could not see the actual response body in the message instead the placeholder was sent as it is. Are we missing anything here? Could someone help us with this please?

Thanks!

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [March 27, 2024, 6:27pm UTC](https://community.dynatrace.com/t/how-to-access-the-api-values-that-were-set-in-post-execution-script-in-the-alert-notifications/43765/2 "2024-03-27T18:27:35Z")

</div>

In terms of the alert integrations, Slack only has the following placeholders:

 ![ChadTurner_0-1711564010764.png](https://global.discourse-cdn.com/dynatrace/original/2X/7/79e915e3933662e623bc76ff1a67f53f3a881f9c.png)

Any placeholder that you add, that isn’t in the list above will result in a clear text payload.
