Skip to main content
POST
/
profile
/
webhook
/
{userId}
Insert webhook
curl --request POST \
  --url https://api.cleartalk.ai/profile/webhook/{userId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "webhook_url": "https://your-webhook-url.com"
}
'

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

userId
number
required

Body

application/json
webhook_url
string
required

Webhook URL to be registered

Example:

"https://your-webhook-url.com"

Response

Webhook updated successfully