Crear un Webhook

Create a Webhook

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

Esta API te permite crear un nuevo webhook dentro de tu cuenta. Puedes asociar un webhook con Project Flows en este paso o cuando lo desees. update the webhook.

Implementación

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

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

url

The url where we will send the information via POST.

name

The name of your webhook to identify it easily.

isActive

This boolean will enable/disable it whenever you require it.

description

Description to know what information you will be sending there.

link

Array of projectFlows that you want to link this webhook to.

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