Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

gman01's avatar

API

Hi,

Looking for a bit of advice, I built a little system in Laravel to look after our data. At the minute we have enquiries that come to an email address from web form and we manually input them into the system. I'm looking at a way of passing the enquiries straight into the system via an API so we can cut out the workload of inputting the data.

Anyone had any good experiences on the best way to do this.

Thanks

0 likes
2 replies
squibby's avatar
squibby
Best Answer
Level 8

I dont think you would need an api as such. When processing the web form, before you send the email can you not just insert the record into a table on your database?

Is the system you want to insert the email, the same system that handles the web form?

gman01's avatar

Hi

Sorry I missed getting back to this.

Problem is I have a lot of affiliates using wordpress to generate leads which come in via email and they have to be inputted manually. I was wondering if I could generate an XML API and let them pass the leads into the system.

?

Please or to participate in this conversation.