# How can I retrieve the campaign id and use it in email template sent to user

**URL:** https://forum.mautic.org/t/how-can-i-retrieve-the-campaign-id-and-use-it-in-email-template-sent-to-user/14388
**Category:** Development
**Tags:** development
**Created:** [May 19, 2020, 12:46am UTC](https://forum.mautic.org/t/how-can-i-retrieve-the-campaign-id-and-use-it-in-email-template-sent-to-user/14388 "2020-05-19T00:46:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dipteel](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dipteel/32/1107_2.png) [@dipteel](https://forum.mautic.org/u/dipteel)
#### Post date: [May 19, 2020, 12:46am UTC](https://forum.mautic.org/t/how-can-i-retrieve-the-campaign-id-and-use-it-in-email-template-sent-to-user/14388/1 "2020-05-19T00:46:05Z")

</div>

Hi Team,

I have created a email template and want to send the campaign id in the email sent to the user. How should I be able to do that.

Thanks,  
Diptee
