POST
/
clients
/
updateValidationWebhook
curl --request POST \
  --url https://api-test.koywe.com/rest/clients/updateValidationWebhook \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "https://webhook.site/d00d833c-ea45-4df2-91d2",
  "secret": "test1234",
  "field": "email",
  "authMethod": "Hash"
}'
{
  "validationCallback": {
    "_id": "65e8c66d64ab5eeea1c2eda0",
    "url": "https://webhook.site/d00d833c-ea45-4df2-91d2-b583178493bf",
    "secret": "test1234",
    "field": "email",
    "authMethod": "Hash"
  }
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string
required
secret
string
required
field
string
required
authMethod
string
required

Response

201 - application/json
validationCallback
object