POST
/
websocket
/
set
/
{instance}
curl --request POST \
  --url https://api.l2msg.com/whatsapp/websocket/set/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "websocket": {
    "enabled": true,
    "events": [
      "APPLICATION_STARTUP"
    ]
  }
}'

Authorizations

apikey
string
header
required

Your authorization key header

Path Parameters

instance
string
required

Name of the instance

Body

application/json
websocket
object
required