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

"test1234"

Response

201
application/json
successful operation
callback
object
required