# Create the campaign event while creating campaign through API

**URL:** https://forum.mautic.org/t/create-the-campaign-event-while-creating-campaign-through-api/19995
**Category:** Ideas and Feature Requests
**Tags:** campaigns
**Created:** [June 23, 2021, 8:57am UTC](https://forum.mautic.org/t/create-the-campaign-event-while-creating-campaign-through-api/19995 "2021-06-23T08:57:47Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)
#### Post date: [June 4, 2023, 3:05pm UTC](https://forum.mautic.org/t/create-the-campaign-event-while-creating-campaign-through-api/19995/2 "2023-06-04T15:05:46Z")

</div>

@pranjal432 you can indeed create events by sending them with the campaign. However, other issues prevent a successfull result: connections between and locations of events on the canvas get ignored when creating a campaign via API: [API for campaigns broken? - Support - Mautic Community Forums](https://forum.mautic.org/t/api-for-campaigns-broken/28226)

---

_[View the full topic](https://forum.mautic.org/t/create-the-campaign-event-while-creating-campaign-through-api/19995)._
