sendMsg | Single
POST
/sendMsg/APIKEYUse this method to send messages to users' WhatsApp numbers.
Message Size Limitation:
When sending outbound messages via our API service, please ensure that the total message size remains below the channel's maximum size limit. API requests containing media or multiple media files exceeding this limit will result in an error.
For WhatsApp messages, the maximum size limit is 100MB.
Request
Parâmetros Bodymultipart/form-data
phonenumber
string
requerido
User Phone Number
Exemplo:
+15551234567
message
string
requerido
Text Message
Exemplo:
This is a test message
schedule
string
opcional
Time to send a message in the future (Timestamp format should be based on UTC)
Set this field if needed. If you don't send this parameter, the message will be sent instantly.
Exemplo:
1724160037
link
string
opcional
Media URL (image, sound, video, ...)
Exemplo:
https://example.com/image.jpg
Request samples
Respostas
sendMsg | Single(200)
HTTP Code: 200
Content Type : JSONapplication/json
Esquema de Dados
success
string
requerido
message
string
requerido
messageId
integer
requerido
ExemplosendMsg | Single
{
"success": "true",
"message": "Added to the message queue",
"messageId": 565
}
Last modified: 3 months ago