Page cover

Get Webhook URLs

Endpoint

GET {{}}/v1/accounts/webhooks

Description

This endpoint is used to get configured webhook URLS for the organisation. These webhook URLs are triggered for actions such as transaction confirmations and balance updates.

Response

On success, the API will return a JSON object containing the details of the webhook request.

{
    "status": true,
    "message": "Fetched Webhooks",
    "data": [
        {
            "id": "9e28d2fb-eba2-41de-89a0-c02802d49594",
            "type": "EVENT",
            "url": "https://v1.events.c80.io",
            "createdAt": "2024-04-26T09:25:36.541Z",
            "companyId": "5d83cd75-73b5-432f-b122-e41a2401af2f"
        },
        {
            "id": "918a2b4e-d3b9-49ac-bbe3-c27de6adc788",
            "type": "CALLBACK",
            "url": "https://v1.callback.c80.io",
            "createdAt": "2024-04-26T09:25:36.541Z",
            "companyId": "5d83cd75-73b5-432f-b122-e41a2401af2f"
        }
    ],
    "code": 200
}

Last updated