Update a Webhook

PUT - https://api.verifik.co/v2/webhooks/{id}

Method for updating an existing webhook. To make the service work, the _id parameter is required, which is generated when a webhook is created correctly.

Headers

Body

Body

In the body of this service, you can send all the fields generated when creating a webhook. The only thing to consider is that the fields we want to modify are the ones that must be included in the body.

{
    "url": "https://sandbox.verifik.co/v2/webhooks/logs"
}

Response

{
    "data": {
        "_id": "66de320d6a5c6ef0e02d4223",
        "client": "613375a1eab2fe08527f81e2",
        "projectFlow": [],
        "isActive": true,
        "name": "Postman sample",
        "url": "https://sandbox.verifik.co/v2/webhooks/logs",
        "notification": {
            "success": false,
            "fail": true,
            "_id": "66de320d6a5c6ef0e02d4222"
        },
        "updatedAt": "2024-09-08T23:23:57.678Z",
        "createdAt": "2024-09-08T23:23:57.678Z",
        "__v": 0
    }
}

Last updated