# Campaign ID in Mailgun Api transport

**URL:** <https://forum.mautic.org/t/campaign-id-in-mailgun-api-transport/34229>\
**Category:** Development\
**Created:** [November 25, 2024, 8:31pm UTC](https://forum.mautic.org/t/campaign-id-in-mailgun-api-transport/34229 "2024-11-25T20:31:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![giapp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/giapp/32/13189_2.png) [@giapp](https://forum.mautic.org/u/giapp)\
**Post date:** [November 25, 2024, 8:31pm UTC](https://forum.mautic.org/t/campaign-id-in-mailgun-api-transport/34229/1 "2024-11-25T20:31:25Z")

</div>

Hi all, I need to capture the value of the current campaign, after it has been triggered by the cron, and be able to read it in the MailgunApiTransport page.

I started from TriggeringCampaignCommand page, then CampaignModel, EmailModel, SendEmailToContact, sendStandardEmail,  
MailHelper up to MailgunApiTransport.

I think I missed some steps though.  
Do you have any suggestions or do you know where I could find information on the correct sequence involving the event?

thanks a lot for any kind of help.
