PUT
/
v2
/
webhooks
/
{webhook_nanoid}
Update Webhook
curl --request PUT \
  --url https://b2b-api.dev-riseworks.io/v2/webhooks/{webhook_nanoid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "secret": "<string>",
  "is_active": true
}'
{
  "success": true,
  "data": {
    "webhook_nanoid": "<string>",
    "url": "<string>",
    "events": [
      "<string>"
    ],
    "is_active": true
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

webhook_nanoid
string
required

Unique identifier of the Webhook Endpoint.

Required string length: 15

Body

application/json

Response

200
application/json

Default Response

The response is of type object.