List webhooks

GET

GET https://platform-api.lia.com.br/external_api/v1/webhooks

Example request

curl --location 'https://platform-api-sandbox.lia.com.br/external_api/v1/webhooks' \
--header 'Authorization: Bearer token'

Example response

[
    {
        "id": "25daf5a4-f81f-4617-9e1d-92afaf54496e",
        "url": "https://webhook.site/cd02b018-fe29-4687-9636-459e8b41a77f",
        "entity": "order",
        "events": [
            "canceled",
            "finished"
        ],
        "created_at": "2023-11-16T15:26:16.516-03:00",
        "updated_at": "2023-11-16T15:26:16.516-03:00",
        "name": "Black Friday",
        "verb": "post"
    },
    {
        "id": "3618c7e0-13a2-46f2-ad62-3227e488509b",
        "url": "https://webhook.site/cd02b018-fe29-4687-9636-459e8b41a77f",
        "entity": "order",
        "events": [
            "canceled",
            "finished"
        ],
        "created_at": "2023-11-16T15:58:50.254-03:00",
        "updated_at": "2023-11-16T15:58:50.254-03:00",
        "name": "Black Friday",
        "verb": "post"
    },
    {
        "id": "579ebb03-3b0e-4e41-aff5-1903b18114c5",
        "url": "https://webhook.site/cd02b018-fe29-4687-9636-459e8b41a77f",
        "entity": "bill",
        "events": [
            "paid"
        ],
        "created_at": "2023-10-23T11:35:11.288-03:00",
        "updated_at": "2023-11-16T15:11:28.276-03:00",
        "name": "Bill",
        "verb": "post"
    },
    {
        "id": "979c7cd2-2ce9-45e9-bdae-a51fc2783971",
        "url": "https://webhook.site/cd02b018-fe29-4687-9636-459e8b41a77f",
        "entity": "order",
        "events": [
            "canceled",
            "finished"
        ],
        "created_at": "2023-10-23T11:35:04.349-03:00",
        "updated_at": "2023-11-16T15:11:28.368-03:00",
        "name": "Order",
        "verb": "post"
    }
]