Skip to main content
GET
/
webhooks
/
{webhookId}
Get Webhook record
curl --request GET \
  --url https://api.mijnklantportaal.nl/v1/webhooks/{webhookId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "wbh_abc12345def678",
  "type": "customer-created",
  "url": "https://mijnklantportaal.nl/webhook-incoming",
  "secret": "OUJX2prdBbJxR77BZlGz",
  "createdAt": "2024-04-29T21:00:00+02:00"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

webhookId
string
required

ID of the Webhook record

Response

Getting the requested Webhook record

Webhook record

id
string

ID of the Webhook record, always starting with wbh_.

Example:

"wbh_abc12345def678"

type
string

Type of event what will trigger this webhook.

Example:

"customer-created"

url
string

The URL which gets triggered

Example:

"https://mijnklantportaal.nl/webhook-incoming"

secret
string

A random string which will be added to the X-Webhook-Signature header of the webhook call. With this secret, you can validate if the request is coming from MijnKlantportaal.

Example:

"OUJX2prdBbJxR77BZlGz"

createdAt
string

Date and time when the payment was started. Written in ATOM format.

Example:

"2024-04-29T21:00:00+02:00"

I