POST Send Message API

Use this API to send a WhatsApp message.API to send the WhatsApp template message

API End Points

https://api-v7.express-chat.com/whatsapp-automation/wa/templates?apiKey=*API KEY*

Request Headers

Header
Details

apiKey

API KEY

Content-Type

application/json

Request Body

{
    "userName": "Test",
    "wa_id": "910987654321",
    "type": "text",
    "message": {
        "text": "hi"
    },
    "tags": [ "test" ]
}

Parameters

Parameter
Type
Description

userName

string

The name of the user to whom the message is being sent.

wa_id

string

The WhatsApp number of the user to whom the message is being sent. The number must contain the country code without the plus sign.

type

string

The type of message being sent (e.g., text, image).

message.text

string

message that needs to be sent

message.label

string

The caption you want to send along with the image (optional) Only if type is image

message.source

string

The image link (optional) Only if type is image

tag

array

Tags are the labels that you can assign to conversations or chats to help organize and manage effectively.

l

l

l

l

l

l

Error Codes

Refer to the official documentation for more information on error codes.

Last updated

Was this helpful?