Post WhatsApp status (stories)
curl --request POST \
--url https://api.l2msg.com/whatsapp/message/sendStatus/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"type": "text",
"content": "<string>",
"caption": "<string>",
"backgroundColor": "<string>",
"font": 123,
"allContacts": true,
"statusJidList": [
"{{remoteJID}}"
]
}'
{
"key": {
"remoteJid": "status@broadcast",
"fromMe": true,
"id": "BAE5FAB9E65A3DA8"
},
"message": {
"extendedTextMessage": {
"text": "example",
"backgroundArgb": 4294910617,
"font": "FB_SCRIPT"
}
},
"messageTimestamp": "1717691767",
"status": "PENDING",
"participant": "553198296801:17@s.whatsapp.net"
}
curl --request POST \
--url https://api.l2msg.com/whatsapp/message/sendStatus/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"type": "text",
"content": "<string>",
"caption": "<string>",
"backgroundColor": "<string>",
"font": 123,
"allContacts": true,
"statusJidList": [
"{{remoteJID}}"
]
}'
{
"key": {
"remoteJid": "status@broadcast",
"fromMe": true,
"id": "BAE5FAB9E65A3DA8"
},
"message": {
"extendedTextMessage": {
"text": "example",
"backgroundArgb": 4294910617,
"font": "FB_SCRIPT"
}
},
"messageTimestamp": "1717691767",
"status": "PENDING",
"participant": "553198296801:17@s.whatsapp.net"
}
Post WhatsApp status (stories)
curl --request POST \
--url https://api.l2msg.com/whatsapp/message/sendStatus/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"type": "text",
"content": "<string>",
"caption": "<string>",
"backgroundColor": "<string>",
"font": 123,
"allContacts": true,
"statusJidList": [
"{{remoteJID}}"
]
}'
{
"key": {
"remoteJid": "status@broadcast",
"fromMe": true,
"id": "BAE5FAB9E65A3DA8"
},
"message": {
"extendedTextMessage": {
"text": "example",
"backgroundArgb": 4294910617,
"font": "FB_SCRIPT"
}
},
"messageTimestamp": "1717691767",
"status": "PENDING",
"participant": "553198296801:17@s.whatsapp.net"
}
curl --request POST \
--url https://api.l2msg.com/whatsapp/message/sendStatus/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"type": "text",
"content": "<string>",
"caption": "<string>",
"backgroundColor": "<string>",
"font": 123,
"allContacts": true,
"statusJidList": [
"{{remoteJID}}"
]
}'
{
"key": {
"remoteJid": "status@broadcast",
"fromMe": true,
"id": "BAE5FAB9E65A3DA8"
},
"message": {
"extendedTextMessage": {
"text": "example",
"backgroundArgb": 4294910617,
"font": "FB_SCRIPT"
}
},
"messageTimestamp": "1717691767",
"status": "PENDING",
"participant": "553198296801:17@s.whatsapp.net"
}