Skip to main content
PATCH
/
api
/
v1
/
webhooks
/
endpoints
/
{endpointId}
Update webhook endpoint with events
curl --request PATCH \
  --url https://dev-chat-engine.actualize.ae/api/v1/webhooks/endpoints/{endpointId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-application-id: <x-application-id>' \
  --data '
{
  "url": "http://example.com",
  "eventNames": [
    "<string>"
  ],
  "appId": "app_2p6o53fSwMzTJNvOmivgXBr26wS",
  "description": "Purpose of webhook",
  "rateLimit": 123,
  "metadata": {},
  "secret": "<string>"
}
'

Headers

x-api-key
string
required
x-application-id
string
required

Path Parameters

endpointId
string
required

Body

application/json
url
string

The URL to which the webhook will send data

Example:

"http://example.com"

eventNames
string[]

The event type for the webhook

appId
string

App id

Example:

"app_2p6o53fSwMzTJNvOmivgXBr26wS"

description
string

Endpoint description

Example:

"Purpose of webhook"

rateLimit
number

Rate limit for the endpoint

metadata
object

Metadata for the endpoint

secret
string

Secret for the endpoint

Response

200

The endpoint has been successfully updated.