Get Webhook

Fetch details of a specific webhook.

/webhooks/:webhook_id

GET https://api.terminal.africa/v1/webhooks/:webhook_id

This endpoint allows you to get a list of retrieve an existing webhook.

Path Parameters

Name
Type
Description

webhook_id*

string

Unique webhook_id for specific webhook.

{
    "status": true,
    "message": "Webhook retrieved successfully",
    "data": {
        "status": true,
        "message": "Webhook information",
        "data": {
            "events": [
                "false"
            ],
            "_id": "62a0b6dc28bf3cef7bb936fd",
            "active": false,
            "event": "address.created",
            "live": false,
            "name": "My Test Webhook",
            "url": "https://webhook.site/f80b40b7-8004-4fd9-82c0-40f6ccb41cd1",
            "user": "USER-12568655307",
            "webhook_id": "WA-85241442320",
            "created_at": "2022-06-08T14:49:00.190Z",
            "updated_at": "2022-08-01T11:30:54.678Z",
            "__v": 0,
            "id": "62a0b6dc28bf3cef7bb936fd"
        }
    }
}

Last updated