PingDocs

Communication API

v2.1.0
AI-Powered Communication Platform

Reach Everyone,
Everywhere

Send thousands of personalized SMS, WhatsApp messages, and emails with AI-powered optimization and real-time analytics. Connect with your audience across every channel.

SMS
WhatsApp
Email
AI Optimization

Overview

Ping is a cutting-edge multi-channel communication platform that empowers businesses to send personalized messages across SMS, WhatsApp, and email channels with unprecedented scale and precision.

Lightning Fast

Send thousands of messages per minute with 99.9% uptime and sub-second delivery.

Smart Targeting

AI-powered personalization adapts to each recipient's behavior and preferences.

Real-time Analytics

Comprehensive insights and metrics to optimize your campaigns in real-time.

Quick Start

1

Get Your API Key

Sign up for an account and get your API key from the dashboard in seconds.

GET REQUEST
Success
curl -X GET "https://api.ping.co.zw/v2/account" \
  -H "Authorization: Bearer YOUR_API_KEY"
2

Send Your First Message

POST REQUEST
SMS
curl -X POST "https://api.ping.co.zw/v2/sms/send" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "+1234567890",
    "message": "Hello {{name}}, welcome to our service!",
    "personalization": {
      "name": "John"
    },
    "ai_optimize": true
  }'

Authentication

Secure your API requests with bearer token authentication. All requests require your unique API key.

Authorization Header

Required
Authorization: Bearer YOUR_API_KEY

Security Best Practices

  • Store API keys in environment variables
  • Never expose keys in client-side code
  • Rotate keys regularly for enhanced security

AI-Powered Optimization

Our advanced AI engine continuously learns and optimizes your campaigns for maximum engagement and conversion rates.

Send Time Optimization

AI determines the optimal time to send messages to each recipient based on their engagement patterns.

{
  "optimize_send_time": true,
  "timezone_aware": true,
  "learning_mode": "adaptive"
}

Content Optimization

Automatically adjust message content, tone, and structure for better engagement rates.

{
  "ai_optimize_content": true,
  "tone": "friendly",
  "target_audience": "millennials"
}

Analytics & Reporting

Comprehensive real-time analytics provide deep insights into campaign performance and audience engagement.

Delivery Rate

98.7%
+2.1% from last month

Open Rate

24.3%
+5.2% from last month

Click Rate

8.1%
+1.4% from last month

Campaign Analytics API

curl -X GET "https://api.ping.co.zw/v2/analytics/campaign/CAMPAIGN_ID" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response:
{
  "campaign_id": "camp_123",
  "total_sent": 10000,
  "delivered": 9870,
  "opened": 2430,
  "clicked": 810,
  "delivery_rate": 98.7,
  "open_rate": 24.3,
  "click_rate": 8.1,
  "ai_insights": {
    "best_send_time": "10:30 AM",
    "top_performing_content": "personalized_greeting",
    "optimization_score": 94.2
  }
}

Code Examples

Bulk SMS Campaign

curl -X POST https://api.ping.co.zw/api/sms/bulk \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "campaign_name": "Summer Sale 2024",
    "message": "Hi {{name}}! Get {{discount}}% off. Code: {{code}}",
    "recipients": [
      {"phone": "+263771234567", "name": "John", "discount": "20", "code": "SUMMER20"},
      {"phone": "+263771234568", "name": "Jane", "discount": "25", "code": "SUMMER25"}
    ]
  }'

Support & Resources

API Status

All systems operational

99.9% uptime with real-time monitoring across all endpoints.

Rate Limits

SMS/WhatsApp
1,000/min
Email
5,000/min
Analytics
100/min

Need Help?