PATCH
/
v1
/
settings
/
developer
/
webhooks
/
endpoints
/
{endpointID}
Update public webhook endpoint
curl --request PATCH \
  --url https://api.wazapin.com/v1/settings/developer/webhooks/endpoints/{endpointID} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "description": "<string>",
  "enabled": true,
  "event_types": [
    "<string>"
  ]
}
'
{
  "data": {
    "enabled": true,
    "event_types": [
      "<string>"
    ],
    "id": "<string>",
    "url": "<string>",
    "created_at": "<string>",
    "description": "<string>",
    "masked_signing_secret": "<string>",
    "updated_at": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Session token or API key

Path Parameters

endpointID
string
required

Endpoint ID

Body

application/json
url
string
required
description
string
enabled
boolean
event_types
string[] | null

Response

OK

data
object
required