# Send lead to HTTPS API within campaign

**URL:** https://forum.mautic.org/t/send-lead-to-https-api-within-campaign/2288
**Category:** Ideas and Feature Requests
**Created:** [September 5, 2015, 10:54am UTC](https://forum.mautic.org/t/send-lead-to-https-api-within-campaign/2288 "2015-09-05T10:54:34Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Radek](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/radek/32/412_2.png) [@Radek](https://forum.mautic.org/u/Radek)
#### Post date: [September 5, 2015, 10:54am UTC](https://forum.mautic.org/t/send-lead-to-https-api-within-campaign/2288/1 "2015-09-05T10:54:34Z")

</div>

Hey, I believe this would be good if Mautic was able to push a lead to external https API for example in order to send SMS message via that API.  
  
  
  
A simple call such as

Code:

https://smsapi.com/send?phone={PHONENUMBER}&body="This is predefined message body"

made from within Campaign would allow to send text as part of your campaign.

---

<div class="post-metadata">

### Author: ![Radek](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/radek/32/412_2.png) [@Radek](https://forum.mautic.org/u/Radek)
#### Post date: [September 5, 2015, 10:54am UTC](https://forum.mautic.org/t/send-lead-to-https-api-within-campaign/2288/2 "2015-09-05T10:54:34Z")

</div>

Hey, I believe this would be good if Mautic was able to push a lead to external https API for example in order to send SMS message via that API.

A simple call such as `https://smsapi.com/send?phone={PHONENUMBER}&body="This is predefined message body"` made from within Campaign would allow to send text as part of your campaign.

---

<div class="post-metadata">

### Author: ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)
#### Post date: [September 7, 2015, 8:04am UTC](https://forum.mautic.org/t/send-lead-to-https-api-within-campaign/2288/3 "2015-09-07T08:04:00Z")

</div>

I believe this feature request has already been described here:

[https://github.com/mautic/mautic/issues/854](https://github.com/mautic/mautic/issues/854)

---

<div class="post-metadata">

### Author: ![Radek](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/radek/32/412_2.png) [@Radek](https://forum.mautic.org/u/Radek)
#### Post date: [September 7, 2015, 12:08pm UTC](https://forum.mautic.org/t/send-lead-to-https-api-within-campaign/2288/4 "2015-09-07T12:08:22Z")

</div>

Yea, but I can see there is no target version yet. Would this be hard to implement if I had a developer to help me with that ?

---

<div class="post-metadata">

### Author: ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)
#### Post date: [September 7, 2015, 12:16pm UTC](https://forum.mautic.org/t/send-lead-to-https-api-within-campaign/2288/5 "2015-09-07T12:16:36Z")

</div>

I believe any PHP developer should be able to implement it. That’s definitely the best approach you can take!

This feature was discussed in the Slack chat ([https://www.mautic.org/slack/](https://www.mautic.org/slack/)). I think it would be great to discuss it first with the dev team in the dev channel. They already have plans how to implement it. Only missing thing is the dev time since there are other feature requests and bugs to squash.

---

<div class="post-metadata">

### Author: ![Radek](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/radek/32/412_2.png) [@Radek](https://forum.mautic.org/u/Radek)
#### Post date: [September 7, 2015, 1:49pm UTC](https://forum.mautic.org/t/send-lead-to-https-api-within-campaign/2288/6 "2015-09-07T13:49:31Z")

</div>

I am not sure if this is the right place to ask - can I ‘sponsor’ this integration somehow ? I mean can I remove the time obstacle from the devs ?  
Note. I’m on human budged (non corprate budget 🙂

---

<div class="post-metadata">

### Author: ![Radek](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/radek/32/412_2.png) [@Radek](https://forum.mautic.org/u/Radek)
#### Post date: [September 8, 2015, 6:18pm UTC](https://forum.mautic.org/t/send-lead-to-https-api-within-campaign/2288/7 "2015-09-08T18:18:20Z")

</div>

Uh… I want to use the [mautic.com](http://mautic.com) paid package. So I can’t modify this myself…

Can anyone please suggest the best way forward with this ?

thanks!

---

<div class="post-metadata">

### Author: ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)
#### Post date: [September 9, 2015, 10:51am UTC](https://forum.mautic.org/t/send-lead-to-https-api-within-campaign/2288/8 "2015-09-09T10:51:04Z")

</div>

Hi Radek, if you develop and submit the feature to GitHub, I’m sure it will get to [mautic.com](http://mautic.com) service in few days time.

---

<div class="post-metadata">

### Author: ![nmanley](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@nmanley](https://forum.mautic.org/u/nmanley)
#### Post date: [October 21, 2015, 5:10am UTC](https://forum.mautic.org/t/send-lead-to-https-api-within-campaign/2288/9 "2015-10-21T05:10:07Z")

</div>

Radek, I believe twillio’s mobile api returns the carrier, maybe even the sms gateway. You could them use the mailer to send it from email, ###-###-####@sms.gateway.com. Here is a list of sms gateway address’s. [http://www.opentextingonline.com/emailtotext.aspx](http://www.opentextingonline.com/emailtotext.aspx)

I have also been thinking about making a Twillio Plugin for Mautic.

---

<div class="post-metadata">

### Author: ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)
#### Post date: [February 2, 2020, 10:57pm UTC](https://forum.mautic.org/t/send-lead-to-https-api-within-campaign/2288/10 "2020-02-02T22:57:47Z")

</div>


