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

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

Response

201 - application/json
callback
object
required