send form api

I am trying to send leads from a Facebook form to a software called LeadSimplify. Is there a way to do this with Pabbly? I've tried the API by Pabbly thing but I obviously don’t know what I'm doing.

Here are the API details they provide:

Lead Simplify API​

Connect your Lead Simplify account to an application
Use the following details to connect with your account:
API Key: 2de83e23af198b8075af96c0632f5e69ac2701b49ab724c5b8b8664e5b26a4aa
System Name: 2483
API Endpoints:
Get Forms: <?php
//Set up API path and method
$base_url = "https://leadsimplify.net/api/v1/";
$route = "get_forms";
$url = $base_url . $route;

//Create request data string
$data = http_build_query([
'api_key' => '2de83e23af198b8075af96c0632f5e69ac2701b49ab724c5b8b8664e5b26a4aa',
'uri' => '2483'
]);
Screenshot 2023-03-08 at 4.14.35 PM.jpg
//Execute cURL request
$ch = curl_init();
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $url);
$output = curl_exec($ch);
curl_close($ch);

//Response
echo $output;
 
P

Pabblymember11

Guest
Hey @waveydavey

Kindly refer to the following video tutorial once on how you can use the API by Pabbly action step.


Also, do share the complete API documentation of the application.
 
Top