DEV Community

Ramandeep Singh
Ramandeep Singh

Posted on

Complete CM.com 📢WhatsApp API Postman Setup

CM.com [https://cm.com] is an AI-powered engagement platform that empowers businesses to connect with their customers via WhatsApp 💬, SMS 📱, and Email 📧.
With a robust set of APIs, you can easily send and receive messages, manage contacts 👥, and run campaigns 📢.
I've personally used CM.com to seamlessly engage with my customers on WhatsApp, and it's been a game changer!

I have successfully created all the required files for testing CM.com WhatsApp APIs in a comprehensive Postman Collection. Here's a summary of the files Created:

1.CM.com_WhatsApp_API_Collection.json - A comprehensive Postman collection containing:

  • Authentication endpoints (OAuth2 token generation)
  • Business Messaging endpoints (text, template, interactive, media messages)
  • Media Management endpoints (upload, retrieve, delete media)
  • Templates endpoints (CRUD operations for message templates)
  • Webhooks endpoints (configure webhook notifications)
  • Message Status endpoints (track message delivery)

2. CM.com_WhatsApp_API_Environment.json - A complete Postman environment with:

  • Authentication variables (client_id, client_secret, access_token)
  • Phone number variables (WhatsApp Business number, recipient number)
  • Media and template IDs for tracking
  • Test data variables for different message types
  • Configuration variables for pagination and webhooks

3. SETUP_GUIDE.md - A comprehensive setup guide that includes:

  • Import instructions for both files
  • Configuration steps for environment variables
  • Usage workflow for different testing scenarios
  • Troubleshooting guide for common issues
  • Security best practices

Key Features:

  • âś… Complete API Coverage - All major CM.com WhatsApp API endpoints included
  • âś… Environment Variables - Comprehensive variable management for easy testing
  • âś… Ready to Import - Files can be directly imported into Postman
  • âś… Documentation - Detailed setup guide with troubleshooting
  • âś… Security - Sensitive data handled through environment variables
  • âś… Testing Scenarios - Multiple testing workflows covered

Get the comprehensive Postman collection and setup guide for CM.com WhatsApp APIs by clicking the link below:
Gumroad Link

Top comments (0)