Send Text Message

Send a plain text session message to a customer. Note: This only works if the customer has messaged you in the last 24 hours.

POST/v1/messages/send-text

Request Body

Parameters

ParameterTypeRequiredDescription
phoneNumberstringYesRecipient phone number in E.164 format.
textstringYesThe text content of the message (max 4096 characters).

Implementation Examples

const payload = {
  phoneNumber: "+919876543210",
  text: "Hello! How can we help you today?"
};

await fetch('https://api.wadoot.com/v1/messages/send-text', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'X-API-KEY': 'YOUR_API_KEY_HERE'
  },
  body: JSON.stringify(payload)
});