Webhooks

Quản lý Webhook

Danh sách webhook

GET [URL/api/webhooks/list

Danh sách webhook

Headers

{
    "status_code": 9999,
    "instance_id": "stg",
    "payload": [
        {
            "url": "https://demo.omicall.com/omicall/updatecall",
            "type": "call",
            "status": "actived"
        }
    ],
    "key_enabled": false
}

Đăng ký Webhook

POST [URL]/api/webhooks/register

Ghi danh Webhook

Headers

Request Body

{
    "status_code": 9999,
    "instance_id": "stg",
    "payload": [
        {
            "url": "https://demo.omicall.com/omicall/updatecall",
            "type": "call",
            "status": "actived"
        }
    ],
    "key_enabled": false
}

Hủy Webhook

POST [URL]/api/webhooks/destroy?hook_type=

Hủy đăng ký Webhook

Query Parameters

Headers

Last updated