Send API Whats App Text
This API enables you to send a plain text message to a whats app number
sendText
POST
https://backend.payhero.co.ke/api/v2/whatspp/sendText
Sends a text message to a number that you have provided
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Body (JSON)
Name | Type | Description |
---|---|---|
message | string | The text message to send |
phone_number | string | Phone number of the recipient e,g 0787877878 |
session | string | Your API username, that you used to register the session. |
Response
Sample API Call Code
Last updated