PAY HERO DOCS
  • Introduction-Pay Hero Developer APIs
  • Creating Account
  • Authorization
  • GET: Service Wallet Balance
  • GET: Payments Wallet Balance
  • POST: Service Wallet Top Up
  • POST: Initiate MPESA STK Push Request
  • Payment Button
  • Lipwa Link
  • POST: Pay Hero Wallet- Withdraw To Mobile
  • GET: Account Transactions
  • GET: Transaction Status
  • WooCommerce Plugin
    • Plugin Installation
  • Shopify
  • Videos
  • Other Integrations
  • Email API Reference
    • Register SMTP
    • Send Email
    • Mail status
  • WhatsApp API Reference
    • Introduction
    • Getting Started
    • Send API Whats App Text
    • Bulk WhatsApp API Messaging
    • Bulk WhatsApp Using UI/CSV File
Powered by GitBook
On this page

Was this helpful?

  1. WhatsApp API Reference

Bulk WhatsApp Using UI/CSV File

Easily send Bulk WhatsApp messages to multiple recipients without the technical know how of using API code.

PreviousBulk WhatsApp API Messaging

Last updated 3 months ago

Was this helpful?

Pay Hero provides an easy to use interface that enables businesses and individuals to quickly and easily send bulk WhatsApp messages without touching code. All you need is a CSV file containing your recipients, upload it and compose your message to send.

To use this you must have setup your WhatsApp number from the

You will need to have your Pay Hero API credentials namely, the API username and the API password to authenticate your self.

Get started

Visit

Go to the WhatsApp Menu, then click Bulk Messaging. Provide your API username and password. If you do not have create.

After providing your correct credentials you will be redirected to the page shown below

On this UI you will be required to upload a csv file containing your recipient details. Make sure you have the first column named phone_number You can then have other fields that you can use in the message template.

You can send 3 message types:

  • TEXT

  • IMAGE

  • DOCUMENT

For TEXT, you can be able to send plain text messages with emojis and you can add variables from your csv file in the message body, lets say you have a first_name field and balance field in the csv file your message body could be written as:

Dear {first_name} please clear your outstanding balance of KES {balance} to avoid service disruption.

Note how we wrap the column names in curly braces {} do not put spaces before and after the name, Our system will replace the variables with the actual values on your csv file.

For IMAGE and DOCUMENT types you will just be required to provide a file URL of the image of document to be sent. The message template will follow same format as explained above.

That is all, you are ready to send your bulk messages 👏

Get Started Section
https://app.payhero.co.ke
Enter your API credentials
Bulk WhatsApp sending UI