You can efficiently manage and safeguard the communication between Namirial Onboarding and your systems, guaranteeing that all webhook notifications are delivered reliably and securely. Below is an example payload for a webhook notification presented in JSON format.

Example webhook payload in JSON

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "type": "STATUS_UPDATE",
  "createdAt": "2024-10-29T17:42:16Z",
  "request": {
    "requestId": "123e4567-e89b-12d3-a456-426614174001",
    "requestTypeId": "123e4567-e89b-12d3-a456-426614174002",
    "status": "COMPLETED"
  }
}

The provided JSON payload represents a notification object that is used to inform about updates related to an onboarding request. Here is a detailed breakdown of each component:

Webhook settings

Each request type can be linked to a specific webhook configuration, ensuring that notifications for that workflow are directed to the designated endpoint, which necessitates particular authentication.

The webhook settings include the following parameters.

Destination URL Configuration

This API call allows you to set the destination URL where the webhook notifications will be sent.

Authentication Methods

By using these API calls, you can effectively manage and secure the communication between Namirial Onboarding and your systems, ensuring that all webhook notifications are delivered reliably and securely.


Create request type webhooks setting

This API call allows you to create a webhook configuration for a specific request type. The webhook configuration includes the destination URL and the authentication method required for the webhook notifications.

Endpoint

Headers

Ensure you include the following headers in your request:

Parameters

Example Request Body

{
  "url": "https://your.domain/webhook",
  "authentication": {
    "headers": {
      "Authorization": "Bearer your-token",
      "API-Key": "your-api-key",
      "additionalProp3": "string"
    },
    "client_key": "-----BEGIN RSA PRIVATE KEY-----\nMIIH/TCCBeWgAwIBAgIQaBYE3/M08XHYCnNVmcFBcjANBgkqhkiG9w0BAQsFADBy\n...",
    "client_cert": "-----BEGIN CERTIFICATE-----\nMIIH/TCCBeWgAwIBAgIQaBYE3/M08XHYCnNVmcFBcjANBgkqhkiG9w0BAQsFADBy\n..."
  }
}

Responses

Get Request Type Webhooks Configurations

This API call allows you to retrieve the webhook configurations associated with a specific request type. These configurations include details such as the destination URL and the creation timestamp.

Endpoint

Headers

Ensure you include the following headers in your request:

Parameters

Responses

Delete Webhook Setting

This API call allows you to delete a specific webhook configuration associated with a request type.

Endpoint

Headers

Ensure you include the following headers in your request:

Parameters

Responses