Welcome to the Wetroo API reference!
Our platform is designed specifically for businesses, providing intelligent caller management and automated self-service options. With Wetroo, you can gather actionable customer information and meet customer expectations promptly, eliminating wait times and increasing your chances of continuous business.
What can you expect from using Wetroo?
While our platform is relatively intuitive and user-friendly, we understand that some use cases may require further guidance. That's why we encourage you to dive into our comprehensive documentation, where we provide detailed information and instructions to maximize the benefits of the Wetroo platform.
Thank you for choosing Wetroo as your partner for intelligent caller management. We are committed to helping your business thrive.
To use Wetroo API, you must register your application with wetroo.com and obtain your client key and client secret.
You can register your application by logging into www.wetroo.com with your credentials, selecting the right corder menu in dropdown choose option API Keys and generate API key.
SMS API integration allows businesses to seamlessly incorporate SMS (Short Message Service) functionality into their applications, systems, or platforms. With SMS integration, businesses can send and receive text messages programmatically, automating communication processes and enhancing customer engagement. By leveraging SMS APIs, businesses can streamline their operations, deliver important notifications, alerts, or marketing messages directly to customers' mobile devices, and create personalized communication experiences. Whether it's sending transactional updates, two-factor authentication codes, or promotional messages, SMS API integration empowers businesses to leverage the power of SMS communication within their existing systems, enhancing their reach and providing efficient and effective customer interactions.
You can use the following API details to set up SMS sending functionality within your platform.
curl --location 'https://wetroo.com/api/v1/?apirequest=send_sms' \
--header 'Content-Type: application/json' \
--header 'apikey: c4ca4238a0b923820dcc509a6f75849b' \
--data '{
"route": "TRANS",
"senderi_d": "ARLTSM",
"message_format": "groups",
"message_type": "Text",
"numbers": [8777346687],
"sms": "2020 is your OTP. It is valid for 30 minutes. ARLTSM",
"template_id": "1507164801741091376",
"smstype": "flash",
"schedule_time": ""
}'
Unirest.setTimeouts(0, 0);
HttpResponse response = Unirest.post("https://wetroo.com/api/v1/?apirequest=send_sms")
.header("Content-Type", "application/json")
.header("apikey", "c4ca4238a0b923820dcc509a6f75849b")
.body("{\r\n \"route\": \"TRANS\",\r\n \"senderi_d\": \"ARLTSM\",\r\n \"message_format\": \"groups\",\r\n \"message_type\": \"Text\",\r\n \"numbers\": [8777346687],\r\n \"sms\": \"2020 is your OTP. It is valid for 30 minutes. ARLTSM\",\r\n \"template_id\": \"1507164801741091376\",\r\n \"smstype\": \"flash\",\r\n \"schedule_time\": \"\"\r\n}")
.asString();
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://wetroo.com/api/v1/?apirequest=send_sms',
'headers': {
'Content-Type': 'application/json',
'apikey': 'c4ca4238a0b923820dcc509a6f75849b'
},
body: JSON.stringify({
"route": "TRANS",
"senderi_d": "ARLTSM",
"message_format": "groups",
"message_type": "Text",
"numbers": [
8777346687
],
"sms": "2020 is your OTP. It is valid for 30 minutes. ARLTSM",
"template_id": "1507164801741091376",
"smstype": "flash",
"schedule_time": ""
})
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://wetroo.com/api/v1/?apirequest=send_sms',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"route": "TRANS",
"senderi_d": "ARLTSM",
"message_format": "groups",
"message_type": "Text",
"numbers": [8777346687],
"sms": "2020 is your OTP. It is valid for 30 minutes. ARLTSM",
"template_id": "1507164801741091376",
"smstype": "flash",
"schedule_time": ""
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'apikey: c4ca4238a0b923820dcc509a6f75849b'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
import json
url = "https://wetroo.com/api/v1/?apirequest=send_sms"
payload = json.dumps({
"route": "TRANS",
"senderi_d": "ARLTSM",
"message_format": "groups",
"message_type": "Text",
"numbers": [
8777346687
],
"sms": "2020 is your OTP. It is valid for 30 minutes. ARLTSM",
"template_id": "1507164801741091376",
"smstype": "flash",
"schedule_time": ""
})
headers = {
'Content-Type': 'application/json',
'apikey': 'c4ca4238a0b923820dcc509a6f75849b'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
#[tokio::main]
async fn main() -> Result<(), Box> {
let client = reqwest::Client::builder()
.build()?;
let mut headers = reqwest::header::HeaderMap::new();
headers.insert("Content-Type", "application/json".parse()?);
headers.insert("apikey", "c4ca4238a0b923820dcc509a6f75849b".parse()?);
let data = r#"{
"route": "TRANS",
"senderi_d": "ARLTSM",
"message_format": "groups",
"message_type": "Text",
"numbers": [
8777346687
],
"sms": "2020 is your OTP. It is valid for 30 minutes. ARLTSM",
"template_id": "1507164801741091376",
"smstype": "flash",
"schedule_time": ""
}"#;
let json: serde_json::Value = serde_json::from_str(&data)?;
let request = client.request(reqwest::Method::POST, "https://wetroo.com/api/v1/?apirequest=send_sms")
.headers(headers)
.json(&json);
let response = request.send().await?;
let body = response.text().await?;
println!("{}", body);
Ok(())
}
To retrieve the SMS sending response records, you can utilize the following API. This API provides detailed information about the status and outcome of each SMS sent from your platform. By integrating this API into your system, you can programmatically access the response data, allowing you to track the delivery status, monitor any errors or failures, and gather valuable insights for analysis or reporting purposes. Incorporating this API will enable you to have a comprehensive view of your SMS sending activities and ensure the effectiveness of your communication efforts.
curl --location 'https://wetroo.com/api/v1/?apirequest=sms_record&per_page=3&limit=10' \
--header 'apikey: ad4cc1fb9b068faecfb70914acc63395'
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("https://wetroo.com/api/v1/?apirequest=sms_record&per_page=3&limit=10")
.method("GET", body)
.addHeader("apikey", "ad4cc1fb9b068faecfb70914acc63395")
.build();
Response response = client.newCall(request).execute();
var request = require('request');
var options = {
'method': 'GET',
'url': 'https://wetroo.com/api/v1/?apirequest=sms_record&per_page=3&limit=10',
'headers': {
'apikey': 'ad4cc1fb9b068faecfb70914acc63395'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://wetroo.com/api/v1/?apirequest=sms_record&per_page=3&limit=10',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'apikey: ad4cc1fb9b068faecfb70914acc63395'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://wetroo.com/api/v1/?apirequest=sms_record&per_page=3&limit=10"
payload = {}
headers = {
'apikey': 'ad4cc1fb9b068faecfb70914acc63395'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://wetroo.com/api/v1/?apirequest=sms_record&per_page=3&limit=10")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["apikey"] = "ad4cc1fb9b068faecfb70914acc63395"
response = https.request(request)
puts response.read_body
We are delighted to present our cutting-edge bulk email sending solution, designed to empower businesses and organizations in reaching their target audience effectively. In today's fast-paced digital world, connecting with a large number of recipients simultaneously can be a daunting task. That's where our service comes in. Our robust platform not only ensures seamless delivery of your email campaigns but also offers advanced features to enhance engagement, track performance, and achieve measurable results. Say goodbye to manual email distribution and embrace our efficient solution for streamlined communication that makes a lasting impact.
We are thrilled to introduce our state-of-the-art Bulk Email Sending API, designed to simplify and streamline your email marketing efforts. With our API, you can seamlessly integrate our powerful email sending capabilities into your existing systems, applications, or platforms. Automate the entire process, from creating and personalizing email templates to managing recipient lists and tracking campaign performance. Our API offers robust features, including high deliverability, scalability, and real-time analytics, empowering you to send bulk emails effortlessly while ensuring optimal engagement and conversions. Say goodbye to manual processes and embrace the efficiency and effectiveness of our Bulk Email Sending API.
curl --location 'https://wetroo.com/api/v1/?apirequest=send_mail' \
--header 'Content-Type: application/json' \
--header 'apikey: c4ca4238a0b923820dcc509a6f75849b' \
--data-raw '{
"from": "tamalbagchi@gmail.com",
"message_format": "groups",
"to": ["dheeraj.webmantra@gmail.com"],
"subject": "test",
"message": "asdfasdf
",
"attachment": "",
"smstype": "flash",
"schedule_time": ""
}'
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"from\": \"tamalbagchi@gmail.com\",\r\n \"message_format\": \"groups\",\r\n \"to\": [\"dheeraj.webmantra@gmail.com\"],\r\n \"subject\": \"test\",\r\n \"message\": \"asdfasdf
\",\r\n \"attachment\": \"\",\r\n \"smstype\": \"flash\",\r\n \"schedule_time\": \"\"\r\n}");
Request request = new Request.Builder()
.url("https://wetroo.com/api/v1/?apirequest=send_mail")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("apikey", "c4ca4238a0b923820dcc509a6f75849b")
.build();
Response response = client.newCall(request).execute();
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://wetroo.com/api/v1/?apirequest=send_mail',
'headers': {
'Content-Type': 'application/json',
'apikey': 'c4ca4238a0b923820dcc509a6f75849b'
},
body: JSON.stringify({
"from": "tamalbagchi@gmail.com",
"message_format": "groups",
"to": [
"dheeraj.webmantra@gmail.com"
],
"subject": "test",
"message": "asdfasdf
",
"attachment": "",
"smstype": "flash",
"schedule_time": ""
})
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://wetroo.com/api/v1/?apirequest=send_mail',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"from": "tamalbagchi@gmail.com",
"message_format": "groups",
"to": ["dheeraj.webmantra@gmail.com"],
"subject": "test",
"message": "asdfasdf
",
"attachment": "",
"smstype": "flash",
"schedule_time": ""
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'apikey: c4ca4238a0b923820dcc509a6f75849b'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
import json
url = "https://wetroo.com/api/v1/?apirequest=send_mail"
payload = json.dumps({
"from": "tamalbagchi@gmail.com",
"message_format": "groups",
"to": [
"dheeraj.webmantra@gmail.com"
],
"subject": "test",
"message": "asdfasdf
",
"attachment": "",
"smstype": "flash",
"schedule_time": ""
})
headers = {
'Content-Type': 'application/json',
'apikey': 'c4ca4238a0b923820dcc509a6f75849b'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "json"
require "net/http"
url = URI("https://wetroo.com/api/v1/?apirequest=send_mail")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request["apikey"] = "c4ca4238a0b923820dcc509a6f75849b"
request.body = JSON.dump({
"from": "tamalbagchi@gmail.com",
"message_format": "groups",
"to": [
"dheeraj.webmantra@gmail.com"
],
"subject": "test",
"message": "asdfasdf
",
"attachment": "",
"smstype": "flash",
"schedule_time": ""
})
response = https.request(request)
puts response.read_body
We are excited to present our innovative Bulk Email Report Fetch API, designed to provide you with seamless access to comprehensive insights and analytics regarding your email campaigns. With our API, you can effortlessly retrieve and analyze key performance metrics, such as open rates, click-through rates, bounce rates, and conversions. Gain valuable insights into recipient engagement, campaign effectiveness, and overall email performance. Whether you need to generate reports for internal analysis or to share with stakeholders, our Bulk Email Report Fetch API empowers you to make data-driven decisions and optimize your email marketing strategies. Say goodbye to manual data extraction and welcome the convenience and efficiency of our API for insightful email campaign reporting.
curl --location 'https://wetroo.com/api/v1/?apirequest=mail_record&per_page=3&limit=10' \
--header 'apikey: c4ca4238a0b923820dcc509a6f75849b'
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("https://wetroo.com/api/v1/?apirequest=mail_record&per_page=3&limit=10")
.method("GET", body)
.addHeader("apikey", "c4ca4238a0b923820dcc509a6f75849b")
.build();
Response response = client.newCall(request).execute();
var request = require('request');
var options = {
'method': 'GET',
'url': 'https://wetroo.com/api/v1/?apirequest=mail_record&per_page=3&limit=10',
'headers': {
'apikey': 'c4ca4238a0b923820dcc509a6f75849b'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://wetroo.com/api/v1/?apirequest=mail_record&per_page=3&limit=10',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'apikey: c4ca4238a0b923820dcc509a6f75849b'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://wetroo.com/api/v1/?apirequest=mail_record&per_page=3&limit=10"
payload = {}
headers = {
'apikey': 'c4ca4238a0b923820dcc509a6f75849b'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://wetroo.com/api/v1/?apirequest=mail_record&per_page=3&limit=10")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["apikey"] = "c4ca4238a0b923820dcc509a6f75849b"
response = https.request(request)
puts response.read_body
We are thrilled to introduce our advanced Bulk WhatsApp Sending API, designed to revolutionize your communication strategy by enabling seamless, high-volume messaging on the popular WhatsApp platform. With our API, you can effortlessly reach and engage your audience at scale, whether you're sending promotional messages, important updates, or personalized notifications. Harness the power of WhatsApp's massive user base to connect with your customers, clients, or members instantly and effectively. Our API offers robust features, including contact management, message personalization, and delivery tracking, ensuring that your messages are delivered reliably and efficiently. Embrace the convenience and impact of our Bulk WhatsApp Sending API to enhance your communication and elevate your business or organization to new heights.
We are excited to introduce our state-of-the-art WhatsApp Send API, designed to empower businesses and organizations in leveraging the power of WhatsApp for seamless communication. With our API, you can effortlessly send messages to your customers, clients, or members directly through WhatsApp, enhancing engagement and building meaningful connections. Whether it's sending transactional alerts, promotional offers, or personalized notifications, our WhatsApp Send API provides a reliable and efficient channel for instant communication. Enjoy features such as message templates, media sharing, and delivery status tracking to ensure your messages are delivered effectively. Embrace the convenience and impact of our WhatsApp Send API to elevate your communication strategy and strengthen relationships with your audience.
curl --location 'https://wetroo.com/api/v1/waba.php' \
--header 'Content-Type: application/json' \
--header 'apikey: 96sm5pCQXP59iQ==' \
--header 'Cookie: PHPSESSID=6ec505828930761bf5e8fb44f3b53e21' \
--data '{
"template_id": 1471191560175876,
"number": "919876543210",
"variable": ["demo", "demo"],
"attachment": "https://app.wetroo.com/upload/waba_template/665725a315365_dummy.pdf"
}
'
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"template_id\": 1471191560175876,\r\n \"number\": \"919876543210\",\r\n \"variable\": [\"demo\", \"demo\"],\r\n \"attachment\": \"https://app.wetroo.com/upload/waba_template/665725a315365_dummy.pdf\"\r\n}\r\n");
Request request = new Request.Builder()
.url("https://wetroo.com/api/v1/waba.php")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("apikey", "96sm5pCQXP59iQ==")
.addHeader("Cookie", "PHPSESSID=6ec505828930761bf5e8fb44f3b53e21")
.build();
Response response = client.newCall(request).execute();
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://wetroo.com/api/v1/waba.php',
'headers': {
'Content-Type': 'application/json',
'apikey': '96sm5pCQXP59iQ==',
'Cookie': 'PHPSESSID=6ec505828930761bf5e8fb44f3b53e21'
},
body: JSON.stringify({
"template_id": 1471191560175876,
"number": "919876543210",
"variable": [
"demo",
"demo"
],
"attachment": "https://app.wetroo.com/upload/waba_template/665725a315365_dummy.pdf"
})
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://wetroo.com/api/v1/waba.php',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"template_id": 1471191560175876,
"number": "919876543210",
"variable": ["demo", "demo"],
"attachment": "https://app.wetroo.com/upload/waba_template/665725a315365_dummy.pdf"
}
',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'apikey: ••••••',
'Cookie: PHPSESSID=6ec505828930761bf5e8fb44f3b53e21'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
import json
url = "https://wetroo.com/api/v1/waba.php"
payload = json.dumps({
"template_id": 1471191560175876,
"number": "919876543210",
"variable": [
"demo",
"demo"
],
"attachment": "https://app.wetroo.com/upload/waba_template/665725a315365_dummy.pdf"
})
headers = {
'Content-Type': 'application/json',
'apikey': '96sm5pCQXP59iQ==',
'Cookie': 'PHPSESSID=6ec505828930761bf5e8fb44f3b53e21'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "json"
require "net/http"
url = URI("https://wetroo.com/api/v1/waba.php")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request["apikey"] = "96sm5pCQXP59iQ=="
request["Cookie"] = "PHPSESSID=6ec505828930761bf5e8fb44f3b53e21"
request.body = JSON.dump({
"template_id": 1471191560175876,
"number": "919876543210",
"variable": [
"demo",
"demo"
],
"attachment": "https://app.wetroo.com/upload/waba_template/665725a315365_dummy.pdf"
})
response = https.request(request)
puts response.read_body
We are thrilled to present our cutting-edge WhatsApp Message Send Report API, designed to provide you with valuable insights and analytics about your WhatsApp messaging campaigns. With our API, you can effortlessly fetch comprehensive reports and metrics, including message delivery status, read receipts, and engagement rates. Understand the effectiveness of your WhatsApp campaigns and make data-driven decisions to optimize your messaging strategy. Whether you need to track message performance, analyze customer responses, or generate reports for stakeholders, our WhatsApp Message Send Report API empowers you with real-time data and actionable insights. Say goodbye to guesswork and welcome the power of data-driven decision-making with our API, ensuring that your WhatsApp campaigns are impactful and successful.
curl --location 'https://wetroo.com/api/v1/?apirequest=whatsapp_record&per_page=3&limit=10' \
--header 'apikey: c4ca4238a0b923820dcc509a6f75849b'
OkHttpClient client = new OkHttpClient().newBuilder().build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("https://wetroo.com/api/v1/?apirequest=whatsapp_record&per_page=3&limit=10")
.method("GET", body)
.addHeader("apikey", "c4ca4238a0b923820dcc509a6f75849b")
.build();
Response response = client.newCall(request).execute();
var request = require('request');
var options = {
'method': 'GET',
'url': 'https://wetroo.com/api/v1/?apirequest=whatsapp_record&per_page=3&limit=10',
'headers': {
'apikey': 'c4ca4238a0b923820dcc509a6f75849b'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://wetroo.com/api/v1/?apirequest=whatsapp_record&per_page=3&limit=10',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'apikey: c4ca4238a0b923820dcc509a6f75849b'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://wetroo.com/api/v1/?apirequest=whatsapp_record&per_page=3&limit=10"
payload = {}
headers = {
'apikey': 'c4ca4238a0b923820dcc509a6f75849b'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://wetroo.com/api/v1/?apirequest=whatsapp_record&per_page=3&limit=10")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["apikey"] = "c4ca4238a0b923820dcc509a6f75849b"
response = https.request(request)
puts response.read_body
We are thrilled to present our cutting-edge WhatsApp Message Send Report API, designed to provide you with valuable insights and analytics about your WhatsApp messaging campaigns. With our API, you can effortlessly fetch comprehensive reports and metrics, including message delivery status, read receipts, and engagement rates. Understand the effectiveness of your WhatsApp campaigns and make data-driven decisions to optimize your messaging strategy. Whether you need to track message performance, analyze customer responses, or generate reports for stakeholders, our WhatsApp Message Send Report API empowers you with real-time data and actionable insights. Say goodbye to guesswork and welcome the power of data-driven decision-making with our API, ensuring that your WhatsApp campaigns are impactful and successful.
curl --location --request GET 'https://wetroo.com/api/v1/?apirequest=getWhatsappGroup&instance_id=6476DD20C7A39' \
--header 'Content-Type: application/json' \
--header 'apikey: c4ca4238a0b923820dcc509a6f75849b' \
--data '{
"name": "Chatbotsss name",
"keywords": "hey",
"caption": "hello",
"media": [],
"instance_id": "64AFD0AF2F960",
"type": 1,
"template": 0
}'
OkHttpClient client = new OkHttpClient().newBuilder().build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"name\": \"Chatbotsss name\",\r\n \"keywords\": \"hey\",\r\n \"caption\": \"hello\",\r\n \"media\": [],\r\n \"instance_id\": \"64AFD0AF2F960\",\r\n \"type\": 1,\r\n \"template\": 0\r\n}");
Request request = new Request.Builder()
.url("https://wetroo.com/api/v1/?apirequest=getWhatsappGroup&instance_id=6476DD20C7A39")
.method("GET", body)
.addHeader("Content-Type", "application/json")
.addHeader("apikey", "c4ca4238a0b923820dcc509a6f75849b")
.build();
Response response = client.newCall(request).execute();
var request = require('request');
var options = {
'method': 'GET',
'url': 'https://wetroo.com/api/v1/?apirequest=getWhatsappGroup&instance_id=6476DD20C7A39',
'headers': {
'Content-Type': 'application/json',
'apikey': 'c4ca4238a0b923820dcc509a6f75849b'
},
body: JSON.stringify({
"name": "Chatbotsss name",
"keywords": "hey",
"caption": "hello",
"media": [],
"instance_id": "64AFD0AF2F960",
"type": 1,
"template": 0
})
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://wetroo.com/api/v1/?apirequest=getWhatsappGroup&instance_id=6476DD20C7A39',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"name": "Chatbotsss name",
"keywords": "hey",
"caption": "hello",
"media": [],
"instance_id": "64AFD0AF2F960",
"type": 1,
"template": 0
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'apikey: c4ca4238a0b923820dcc509a6f75849b'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
import json
url = "https://wetroo.com/api/v1/?apirequest=getWhatsappGroup&instance_id=6476DD20C7A39"
payload = json.dumps({
"name": "Chatbotsss name",
"keywords": "hey",
"caption": "hello",
"media": [],
"instance_id": "64AFD0AF2F960",
"type": 1,
"template": 0
})
headers = {
'Content-Type': 'application/json',
'apikey': 'c4ca4238a0b923820dcc509a6f75849b'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "json"
require "net/http"
url = URI("https://wetroo.com/api/v1/?apirequest=getWhatsappGroup&instance_id=6476DD20C7A39")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Content-Type"] = "application/json"
request["apikey"] = "c4ca4238a0b923820dcc509a6f75849b"
request.body = JSON.dump({
"name": "Chatbotsss name",
"keywords": "hey",
"caption": "hello",
"media": [],
"instance_id": "64AFD0AF2F960",
"type": 1,
"template": 0
})
response = https.request(request)
puts response.read_body
We are thrilled to present our cutting-edge WhatsApp Message Send Report API, designed to provide you with valuable insights and analytics about your WhatsApp messaging campaigns. With our API, you can effortlessly fetch comprehensive reports and metrics, including message delivery status, read receipts, and engagement rates. Understand the effectiveness of your WhatsApp campaigns and make data-driven decisions to optimize your messaging strategy. Whether you need to track message performance, analyze customer responses, or generate reports for stakeholders, our WhatsApp Message Send Report API empowers you with real-time data and actionable insights. Say goodbye to guesswork and welcome the power of data-driven decision-making with our API, ensuring that your WhatsApp campaigns are impactful and successful.
curl --location 'https://wetroo.com/api/v1/?apirequest=getWhatsappGroup&instance_id=6476DD20C7A39' \
--header 'apikey: c4ca4238a0b923820dcc509a6f75849b'
OkHttpClient client = new OkHttpClient().newBuilder().build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("https://wetroo.com/api/v1/?apirequest=getWhatsappGroup&instance_id=6476DD20C7A39")
.method("GET", body)
.addHeader("apikey", "c4ca4238a0b923820dcc509a6f75849b")
.build();
Response response = client.newCall(request).execute();
var request = require('request');
var options = {
'method': 'GET',
'url': 'https://wetroo.com/api/v1/?apirequest=getWhatsappGroup&instance_id=6476DD20C7A39',
'headers': {
'apikey': 'c4ca4238a0b923820dcc509a6f75849b'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://wetroo.com/api/v1/?apirequest=getWhatsappGroup&instance_id=6476DD20C7A39',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'apikey: c4ca4238a0b923820dcc509a6f75849b'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://wetroo.com/api/v1/?apirequest=getWhatsappGroup&instance_id=6476DD20C7A39"
payload = {}
headers = {
'apikey': 'c4ca4238a0b923820dcc509a6f75849b'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://wetroo.com/api/v1/?apirequest=getWhatsappGroup&instance_id=6476DD20C7A39")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["apikey"] = "c4ca4238a0b923820dcc509a6f75849b"
response = https.request(request)
puts response.read_body
We are thrilled to present our cutting-edge WhatsApp Message Send Report API, designed to provide you with valuable insights and analytics about your WhatsApp messaging campaigns. With our API, you can effortlessly fetch comprehensive reports and metrics, including message delivery status, read receipts, and engagement rates. Understand the effectiveness of your WhatsApp campaigns and make data-driven decisions to optimize your messaging strategy. Whether you need to track message performance, analyze customer responses, or generate reports for stakeholders, our WhatsApp Message Send Report API empowers you with real-time data and actionable insights. Say goodbye to guesswork and welcome the power of data-driven decision-making with our API, ensuring that your WhatsApp campaigns are impactful and successful.
curl --location 'https://wetroo.com/api/v1/?apirequest=get_instance_id&per_page=1&limit=10' \
--header 'apikey: ad4cc1fb9b068faecfb70914acc63395'
OkHttpClient client = new OkHttpClient().newBuilder().build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("https://wetroo.com/api/v1/?apirequest=get_instance_id&per_page=1&limit=10")
.method("GET", body)
.addHeader("apikey", "ad4cc1fb9b068faecfb70914acc63395")
.build();
Response response = client.newCall(request).execute();
var request = require('request');
var options = {
'method': 'GET',
'url': 'https://wetroo.com/api/v1/?apirequest=get_instance_id&per_page=1&limit=10',
'headers': {
'apikey': 'ad4cc1fb9b068faecfb70914acc63395'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://wetroo.com/api/v1/?apirequest=get_instance_id&per_page=1&limit=10',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'apikey: ad4cc1fb9b068faecfb70914acc63395'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://wetroo.com/api/v1/?apirequest=get_instance_id&per_page=1&limit=10"
payload = {}
headers = {
'apikey': 'ad4cc1fb9b068faecfb70914acc63395'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://wetroo.com/api/v1/?apirequest=get_instance_id&per_page=1&limit=10")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["apikey"] = "ad4cc1fb9b068faecfb70914acc63395"
response = https.request(request)
puts response.read_body
We are excited to introduce our innovative Missed Call Alert service, designed to ensure that you never miss an important call. In today's fast-paced world, staying connected is crucial, and every call holds potential opportunities. Our Missed Call Alert service enables you to receive instant notifications whenever a call goes unanswered, allowing you to promptly follow up and engage with your callers. Whether you are a business owner, professional, or organization, our service empowers you to stay connected, enhance customer service, and seize every opportunity that comes your way. Say goodbye to missed opportunities and embrace our Missed Call Alert service for uninterrupted connectivity and improved communication.
We are thrilled to present our advanced Missed Call Alert Report Fetch API, designed to provide you with valuable insights and analytics about your missed call alerts. With our API, you can effortlessly fetch detailed reports and metrics, such as call timestamps, caller information, and call duration. Gain a deeper understanding of missed call patterns, identify potential leads, and optimize your call response strategy. Whether you need to track missed call trends, analyze customer behavior, or generate comprehensive reports for analysis, our Missed Call Alert Report Fetch API empowers you with real-time data and actionable insights. Say goodbye to missed opportunities and welcome the power of data-driven decision-making with our API, ensuring that you optimize your call response and never miss out on valuable connections.
curl --location 'https://wetroo.com/api/v1/?apirequest=linkedin_search&page=1&keyword=webmantra%20technology' \
--header 'apikey: c4ca4238a0b923820dcc509a6f75849b'
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("https://wetroo.com/api/v1/?apirequest=linkedin_search&page=1&keyword=webmantra technology")
.method("GET", body)
.addHeader("apikey", "c4ca4238a0b923820dcc509a6f75849b")
.build();
Response response = client.newCall(request).execute();
var request = require('request');
var options = {
'method': 'GET',
'url': 'https://wetroo.com/api/v1/?apirequest=linkedin_search&page=1&keyword=webmantra technology',
'headers': {
'apikey': 'c4ca4238a0b923820dcc509a6f75849b'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://wetroo.com/api/v1/?apirequest=linkedin_search&page=1&keyword=webmantra%20technology',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'apikey: c4ca4238a0b923820dcc509a6f75849b'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://wetroo.com/api/v1/?apirequest=linkedin_search&page=1&keyword=webmantra technology"
payload = {}
headers = {
'apikey': 'c4ca4238a0b923820dcc509a6f75849b'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://wetroo.com/api/v1/?apirequest=linkedin_search&page=1&keyword=webmantra technology")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["apikey"] = "c4ca4238a0b923820dcc509a6f75849b"
response = https.request(request)
puts response.read_body
We are excited to introduce our innovative Missed Call Alert service, designed to ensure that you never miss an important call. In today's fast-paced world, staying connected is crucial, and every call holds potential opportunities. Our Missed Call Alert service enables you to receive instant notifications whenever a call goes unanswered, allowing you to promptly follow up and engage with your callers. Whether you are a business owner, professional, or organization, our service empowers you to stay connected, enhance customer service, and seize every opportunity that comes your way. Say goodbye to missed opportunities and embrace our Missed Call Alert service for uninterrupted connectivity and improved communication.
We are thrilled to present our advanced Missed Call Alert Report Fetch API, designed to provide you with valuable insights and analytics about your missed call alerts. With our API, you can effortlessly fetch detailed reports and metrics, such as call timestamps, caller information, and call duration. Gain a deeper understanding of missed call patterns, identify potential leads, and optimize your call response strategy. Whether you need to track missed call trends, analyze customer behavior, or generate comprehensive reports for analysis, our Missed Call Alert Report Fetch API empowers you with real-time data and actionable insights. Say goodbye to missed opportunities and welcome the power of data-driven decision-making with our API, ensuring that you optimize your call response and never miss out on valuable connections.
curl --location 'https://wetroo.com/api/v1/?apirequest=linkedin_record&per_page=1&limit=10' \
--header 'apikey: c4ca4238a0b923820dcc509a6f75849b'
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("https://wetroo.com/api/v1/?apirequest=linkedin_record&per_page=1&limit=10")
.method("GET", body)
.addHeader("apikey", "c4ca4238a0b923820dcc509a6f75849b")
.build();
Response response = client.newCall(request).execute();
var request = require('request');
var options = {
'method': 'GET',
'url': 'https://wetroo.com/api/v1/?apirequest=linkedin_record&per_page=1&limit=10',
'headers': {
'apikey': 'c4ca4238a0b923820dcc509a6f75849b'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://wetroo.com/api/v1/?apirequest=linkedin_record&per_page=1&limit=10',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'apikey: c4ca4238a0b923820dcc509a6f75849b'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import requests
url = "https://wetroo.com/api/v1/?apirequest=linkedin_record&per_page=1&limit=10"
payload = {}
headers = {
'apikey': 'c4ca4238a0b923820dcc509a6f75849b'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
require "uri"
require "net/http"
url = URI("https://wetroo.com/api/v1/?apirequest=linkedin_record&per_page=1&limit=10")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["apikey"] = "c4ca4238a0b923820dcc509a6f75849b"
response = https.request(request)
puts response.read_body
We are excited to introduce our innovative Missed Call Alert service, designed to ensure that you never miss an important call. In today's fast-paced world, staying connected is crucial, and every call holds potential opportunities. Our Missed Call Alert service enables you to receive instant notifications whenever a call goes unanswered, allowing you to promptly follow up and engage with your callers. Whether you are a business owner, professional, or organization, our service empowers you to stay connected, enhance customer service, and seize every opportunity that comes your way. Say goodbye to missed opportunities and embrace our Missed Call Alert service for uninterrupted connectivity and improved communication.
We are thrilled to present our advanced Missed Call Alert Report Fetch API, designed to provide you with valuable insights and analytics about your missed call alerts. With our API, you can effortlessly fetch detailed reports and metrics, such as call timestamps, caller information, and call duration. Gain a deeper understanding of missed call patterns, identify potential leads, and optimize your call response strategy. Whether you need to track missed call trends, analyze customer behavior, or generate comprehensive reports for analysis, our Missed Call Alert Report Fetch API empowers you with real-time data and actionable insights. Say goodbye to missed opportunities and welcome the power of data-driven decision-making with our API, ensuring that you optimize your call response and never miss out on valuable connections.
curl --location 'https://wetroo.com/api/v1/?apirequest=missed_record&per_page=1&limit=10' \
--header 'apikey: c4ca4238a0b923820dcc509a6f75849b' \
--header 'Cookie: PHPSESSID=44790d6cb2d6dceedad8a279e4eeb564'
We are excited to introduce our powerful OBD (Outbound Dialing) Call API, designed to revolutionize your outbound calling operations. With our API, you can automate and streamline the process of making outbound calls to your customers, clients, or contacts. Whether it's for appointment reminders, promotional messages, or important notifications, our OBD Call API provides a seamless and efficient solution. Enjoy features such as call scheduling, personalized messages, and call status tracking, enabling you to reach your audience effectively and track the success of your campaigns. Say goodbye to manual dialing and welcome the convenience and efficiency of our OBD Call API to optimize your outbound communication and enhance customer engagement.
We are thrilled to introduce our innovative Broadcast Call API, designed to empower businesses and organizations in reaching a wide audience through automated call campaigns. With our API, you can effortlessly send pre-recorded messages or broadcast live calls to a large number of recipients simultaneously. Whether you need to deliver important announcements, conduct surveys, or provide updates, our Broadcast Call API offers a powerful and efficient solution. Enjoy features such as contact management, message personalization, and real-time call monitoring, ensuring that your messages are delivered effectively and allowing you to track campaign performance. Say goodbye to time-consuming manual calling and embrace the convenience and impact of our Broadcast Call API to enhance your communication strategy and connect with your audience on a broader scale.
curl --location 'https://wetroo.com/api/v1/?apirequest=voice_broadcast' \
--header 'Content-Type: application/json' \
--header 'apikey: c4ca4238a0b923820dcc509a6f75849b' \
--header 'Cookie: PHPSESSID=44790d6cb2d6dceedad8a279e4eeb564' \
--data '{
"receiver": "[['\''tssadf'\'','\''8956326598'\'']]",
"attachment": "['\''file_example_WAV_1MG.wav'\'']",
"schedule_time": ""
}'
We are excited to present our comprehensive OBD (Outbound Dialing) Call Report API, designed to provide you with valuable insights and analytics regarding your outbound call campaigns. With our API, you can effortlessly fetch detailed reports and metrics, such as call logs, call duration, and call outcomes. Gain a deeper understanding of call performance, agent productivity, and campaign effectiveness. Whether you need to track call metrics, analyze customer responses, or generate reports for analysis, our OBD Call Report API empowers you with real-time data and actionable insights. Say goodbye to guesswork and welcome the power of data-driven decision-making with our API, ensuring that you optimize your outbound calling strategies and achieve remarkable results.
curl --location 'https://wetroo.com/api/v1/?apirequest=obd_record&per_page=1&limit=10' \
--header 'apikey: c4ca4238a0b923820dcc509a6f75849b' \
--header 'Cookie: PHPSESSID=44790d6cb2d6dceedad8a279e4eeb564'
This API documentation provides instructions for creating leads in a user's Wetroo account via webhook integration.
Wetroo is a mobile-first CRM (client relationship management) platform that helps businesses and salespeople receive and contact their leads within seconds.
It connects to lead sources to give instant alerts of new leads, so users can get in touch with them via WhatsApp, SMS, iMessage, or phone call in just a few taps. Wetroo also offers auto-personalised messages and content, trackable PDF files and pages, automatic follow up reminders, and many more features to help salespeople manage their leads and increase sales conversion.
Wetroo directly integrates with lead sources such as Facebook, TikTok, Google, and website contact forms. You can also connect any other lead sources via the webhooks API below.
This documentation assumes that you have already have a webhook URL generated by Wetroo. The webhook URL is unique to each Wetroo user's account and integration. The webhook resembles the following format:
To create a new lead in Privyr, send a POST request to the webhook URL. The payload format for the request should be as follows:
| Field Name | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Name of the client or lead |
| string | No | ||
| display_name | string | No | Name that the leads see on the content sent to them |
| phone | string | No | Phone number of lead or client |
| other_fields | dict | No | All the other information about lead in label : value format |
If the request is successful, the API will return a 200 response containing the lead’s unique ID:
{
"success": true,
"lead_id": "57f0364a60d54ba18cbe07398313a312"
}
{
"name": "Tony Stark",
"email": "tony@avengers.com",
"phone": "+16262223333",
"display_name": "Tony",
"other_fields": {
"Address": "Avengers head querters",
"income": "A lot"
}
}
curl --location -g '{{ webhook_url }}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Tony Stark",
"email": "tony@avengers.com",
"phone": "+16262223333",
"display_name": "Tony",
"other_fields": {
"Address": "Avengers head querters",
"income": "A lot"
}
}'
This request doesn't return any response body
This request doesn't return any response headers
Use this webhook to add activities to an existing client's timeline. The lead_id is the same as the ID obtained in the API response of the Create Client request.
| Field Name | Type | Required | Description |
|---|---|---|---|
| lead_id | int | Yes | ID of the client to add activities to |
| activities | list | Yes | List of activity objects |
Here's structure of activity object:
| Field Name | Type | Required | Description |
|---|---|---|---|
| title | string | Yes | Title of the activity |
| activity_date | int | Yes | Timestamp of activity. Can be in the past or future |
| activity_type | string | Yes | Type of activity. Must be one of the following options: MEETING, NOTE, MESSAGE, PHONECALL |
| notes | string | No | Details of the activity |
| X-O-TOKEN | PRIVYR_AUTH_TOKEN |
|---|
{
"lead_id": 12345,
"activities": [
{
"title": "Meeting in Starbucks",
"activity_date": 12415212,
"activity_type": "MEETING",
"notes": "First meeting. Favorite drink is a Flat White"
}
]
}
curl --location -g '{{ webhook_url }}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Tony Stark",
"email": "tony@avengers.com",
"phone": "+16262223333",
"display_name": "Tony",
"other_fields": {
"Address": "Avengers head querters",
"income": "A lot"
}
}'
This request doesn't return any response body
This request doesn't return any response headers