Skip to main content
POST
/
websocket
/
set
/
{instance}
Set Websocket
curl --request POST \
  --url https://api.zapthinker.com/websocket/set/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '
{
  "websocket": {
    "enabled": true,
    "events": [
      "APPLICATION_STARTUP"
    ]
  }
}
'
This response has no body data.

Documentation Index

Fetch the complete documentation index at: https://docs.zapthinker.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

apikey
string
header
required

Your authorization key header

Path Parameters

instance
string
required

Name of the instance

Body

application/json
websocket
object
required

Response

200 - undefined