Chat Controller
Send Presence
Início
Instances
Settings
Send Message
Chat Controller
Profile Settings
Group Controller
- POSTCreate Group
- POSTUpdate Group Picture
- POSTUpdate Group Subject
- POSTUpdate Group Description
- GETFetch Invite Code
- POSTRevoke Invite Code
- POSTSend Group Invite
- GETFind Group by Invite Code
- GETFind Group by JID
- GETFetch All Groups
- GETFind Group Members
- POSTUpdate Group Members
- POSTUpdate Group Setting
- POSTToggle Ephemeral
- DELLeave Group
Websocket
Chat Controller
Send Presence
Send Presence (typing…)
POST
/
chat
/
sendPresence
/
{instance}
curl --request POST \
--url https://api.l2msg.com/whatsapp/chat/sendPresence/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"number": "<string>",
"options": {
"delay": 123,
"presence": "composing",
"number": "<string>"
}
}'
Authorizations
Your authorization key header
Path Parameters
Name of the instance
Body
application/json
Receiver phone number with country code
curl --request POST \
--url https://api.l2msg.com/whatsapp/chat/sendPresence/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"number": "<string>",
"options": {
"delay": 123,
"presence": "composing",
"number": "<string>"
}
}'