POST
/
clients
/
updateValidationWebhook
curl --request POST \
  --url https://api-sandbox.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
header
required

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

Body

application/json
url
string
required
Example:

"https://webhook.site/d00d833c-ea45-4df2-91d2"

secret
string
required
Example:

"test1234"

field
string
required
Example:

"email"

authMethod
string
required
Example:

"Hash"

Response

201
application/json
successful operation
validationCallback
object