SMS API
Up to 98% SMS Open Rates
Send single or bulk messages in any language through an easy-to-use API. Customize it to your needs and reach mobile networks worldwide.
Discover More
WHATSAPP BUSINESS API
Global Reach with 3B+ Users
Connect with your customers on WhatsApp, the world’s most popular messaging app. Drive engagement, boost sales, and build stronger customer relationships through real conversations.
Discover More
WHATSAPP CHATBOT
24/7 Customer Engagement
Build smart WhatsApp chatbots to handle inquiries, deliver instant responses, and provide 24/7 support. Customize and deploy quickly for better customer satisfaction.
Discover More
WHATSAPP INBOX
Manage WhatsApp Conversations
Manage all your WhatsApp chats in one place. Reply instantly, view chat history, and use search and filters for smooth communication.
Discover MoreEasy To Use API
Start Integrating Today
Get started in three simple steps: sign up and verify your email, get your API key and SDK, and send your first message using your free credits. We also help you stay compliant with local messaging regulations, including Sender ID registration where required,
from direct7 import Client
client = Client(api_token="Your API token")
client.sms.send_messages(
{"recipients": ["+9715XXXXXXXX"],"content": "Greetings from D7 API", "unicode": False},
originator="Sender",
report_url="https://the_url_to_receive_delivery_report.com",
tag="message_reference"
)
require_once __DIR__ . '/vendor/autoload.php';
use direct7\Direct7\Client;
$client = new Client(api_token="Your API token") ;
$schedule_time = null ;
$response = $direct7->sms->sendMessage(
'Sender',
'https://example.com/callback',
$schedule_time,
[
'recipients' => ["+9715XXXXXXXX"],
'content' => 'Greetings from D7 API',
'unicode' => false,
]
);
var_dump($response);
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n \"messages\": [\n {\n \"channel\": \"sms\",\n \"recipients\": [\"{{recipient1}}\",\"{{recipient2}}\"],\n \"content\": \"Greetings from D7 API\",\n \"msg_type\": \"text\",\n \"data_coding\": \"text\"\n }\n ],\n \"message_globals\": {\n \"originator\": \"SignOTP\",\n \"report_url\": \"https://the_url_to_receive_delivery_report.com\"\n }\n}");
Request request = new Request.Builder()
.url("https://api.d7networks.com/messages/v1/send")
.method("POST", body)
.addHeader("Content-Type", "application/json")
.addHeader("Accept", "application/json")
.addHeader("Authorization", "Bearer {{api_access_token}}")
.build();
Response response = client.newCall(request).execute();
const Client = require('direct7')
const client = new Client(apiToken="Your API token")
const schedule_time = null ;
const response = await client.sms.sendMessage(
'SignOtp',
'https://the_url_to_recieve_delivery_report.com',
schedule_time,
{
recipients: ["+recipient1", "recipient2"],
content: "Greetings from D7 API",
unicode: false
}
);
console.log(response);
curl --location --request POST 'https://api.d7networks.com/messages/v1/send' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{api_access_token}}' \
--data-raw '{
"messages": [
{
"channel": "sms",
"recipients": ["{{recipient1}}","{{recipient2}}"],
"content": "Greetings from D7 API",
"msg_type": "text",
"data_coding": "text"
}
],
"message_globals": {
"originator": "SignOTP",
"report_url": "https://the_url_to_recieve_delivery_report.com"
}
}'
Integrations
Access D7 API on Leading Platforms
Integrate your existing business apps and automate communication workflows.
GLOBAL SCALE
Grow Your Network Globally
Direct7 Networks is a one-stop access point for connecting to customers worldwide. It’s even part of the reason why we’re called Direct7 - get direct connectivity to 7 continents!
Contact Us1.2B
API Request Per Year
99.9%
Historical Uptime
190+
Countries Connectivity
10K+
Happy Customers
Blog