Create a Webhook

Create a Webhook

POST - https://api.verifik.co/v2/webhooks

This API allows you to create a new webhook within your account. You can associate a webhook with project Flows in this step or when you update the webhook.

Implementation

Headers

Body

{
    "url": "https://sandbox.verifik.co/v2/webhooks/logs",
    "name": "Postman sample",
    "isActive": true,
    "description": "This is an example"
    "link": [66df24f4c80823e06a348019"],
}

Response

{
    "data": {
        "client": "613375a1eab2fe08527f81e2",
        "projectFlow": [
            "66df24f4c80823e06a348019"
        ],
        "isActive": true,
        "name": "Postman sample",
        "url": "https://sandbox.verifik.co/v2/webhooks/logs",
        "notification": {
            "success": false,
            "fail": true,
            "_id": "66df272bf82f3bfab17dea9a"
        },
        "_id": "66df272bf82f3bfab17dea9b",
        "updatedAt": "2024-09-09T16:49:47.373Z",
        "createdAt": "2024-09-09T16:49:47.373Z",
        "__v": 0
    }
}

Last updated