# Email details via the API

**URL:** <https://forum.youcanbook.me/t/email-details-via-the-api/825>\
**Category:** API\
**Created:** [June 8, 2020, 8:25am UTC](https://forum.youcanbook.me/t/email-details-via-the-api/825 "2020-06-08T08:25:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsadinoff](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.youcanbook.me/dsadinoff/32/323_2.png) [@dsadinoff](https://forum.youcanbook.me/u/dsadinoff)\
**Post date:** [June 8, 2020, 8:25am UTC](https://forum.youcanbook.me/t/email-details-via-the-api/825/1 "2020-06-08T08:25:19Z")

</div>

I’m looking to manage the email templates generated across a bunch of profiles in my account. I’m looking to use the API (or otherwise) to grab all of the Notifiication email templates for each profile.

Does the API support this?

---

<div class="post-metadata">

**Author:** ![Ben](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.youcanbook.me/ben/32/772_2.png) [@Ben](https://forum.youcanbook.me/u/Ben)\
**Post date:** [June 8, 2020, 9:24pm UTC](https://forum.youcanbook.me/t/email-details-via-the-api/825/2 "2020-06-08T21:24:58Z")

</div>

Hi @dsadinoffm yes the API can retrieve and update notifications. In the API these are called actions. When updating with a PATCH you will need to pass in all of the notifications (for confirmation, cancellation, reminders etc) in order to change the notifications. Whatever you update will overwrite anything on the booking page.

More info on the API: [https://api.youcanbook.me/docs/index.html](https://api.youcanbook.me/docs/index.html)

You would pass in an array for actions.

As an example you can run a GET to pull all actions. ?fields=actions,actions.anchor,actions.body,actions.fromName,actions.fromAddress,actions.offsetMinutes,actions.subject (etc).

Then you can get an idea of the anchors we use like BOOKING\_CANCELLED\_BY\_BOOKER etc.

I hope this helps.

---

<div class="post-metadata">

**Author:** ![dsadinoff](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.youcanbook.me/dsadinoff/32/323_2.png) [@dsadinoff](https://forum.youcanbook.me/u/dsadinoff)\
**Post date:** [June 9, 2020, 7:14am UTC](https://forum.youcanbook.me/t/email-details-via-the-api/825/3 "2020-06-09T07:14:41Z")

</div>

It does indeed. many thanks.
