Skip to main content
Use this endpoint to fetch the details of your registered webhook configuration. The response includes the destination URL, any IP whitelist restrictions, and the delivery history associated with your webhook — useful for confirming your current setup or checking whether events are being dispatched correctly.

Endpoint

POST /api/v1/customer/web/get_webhook_configuration

Authentication

All requests must include a valid Dashboard Bearer token in the Authorization header.
HeaderTypeRequiredDescription
AuthorizationstringYesBearer <token> — obtain from Login
Content-TypestringYesapplication/json

Request Body

This endpoint requires no request body. Your webhook configuration is retrieved based on your authenticated account.

Response

A successful response returns your webhook configuration and its associated delivery logs.
FieldTypeDescription
idstring (uuid)Unique identifier for the webhook configuration
urlstringThe destination URL registered for your webhook
ip_whitelistarray of stringsIP addresses permitted to trigger this webhook
logsarrayRecent webhook delivery log entries
created_atstring (ISO 8601)Timestamp when the webhook was first created
updated_atstring (ISO 8601)Timestamp of the most recent update

Success

{
  "status": true,
  "response_code": "00",
  "message": "Success",
  "data": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "url": "https://yourapp.com/webhooks/shogun",
    "ip_whitelist": ["197.210.55.12"],
    "logs": [],
    "created_at": "2026-04-28T10:00:00Z",
    "updated_at": "2026-04-28T10:00:00Z"
  }
}

Example

curl --request POST \
  --url https://baasapi.payrepmfb.com/api/v1/customer/web/get_webhook_configuration \
  --header 'Authorization: Bearer <your_dashboard_token>' \
  --header 'Content-Type: application/json'