Skip to main content

List All Webhooks

Endpoint​

GET https://api.verifik.co/v2/webhooks

With this service, you can bring all Webhooks that you have created.

headers​

NameValue
Content-Typeapplication/json
AuthorizationBearer <token>

query parameters​

page​

Type: number
Required: No

You can define the page number if you have too many records.

perPage​

Type: number
Required: No

How many records you need per page.

like_name​

Type: string
Required: No

You can query a 'like' condition.

where_url​

Type: string
Required: No

You can do an exact comparison inside a field.

Request Example​

import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.verifik.co/v2/webhooks',
params: {
page: 1,
perPage: 20,
like_name: 'Postman'
},
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer <your_token>'
}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}

Response Example​

{
"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
},
{
"_id": "66de30d20be3dcde0bf1defb",
"client": "613375a1eab2fe08527f81e2",
"projectFlow": [],
"isActive": true,
"name": "Postman sample",
"url": "https://sandbox.verifik.co/v2/webhooks/logs",
"notification": {
"success": false,
"fail": true,
"_id": "66de30d20be3dcde0bf1defa"
},
"updatedAt": "2024-09-08T23:18:42.142Z",
"createdAt": "2024-09-08T23:18:42.142Z",
"__v": 0
}
]
}