enbbox 1.0.1

Notification infrastructure API — open-source alternative to Novu/Courier
Documentation
# \WebhooksApi

All URIs are relative to *https://api.enbbox.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**delete_webhook**]WebhooksApi.md#delete_webhook | **DELETE** /v1/webhooks/{id}/ | DELETE /v1/webhooks/:id
[**inbound_delivery_webhook**]WebhooksApi.md#inbound_delivery_webhook | **POST** /v1/inbound-webhooks/delivery-providers/{project_id}/{integration_id}/ | POST /v1/inbound-webhooks/delivery-providers/:project_id/:integration_id
[**list_webhooks**]WebhooksApi.md#list_webhooks | **GET** /v1/webhooks/ | GET /v1/webhooks
[**register_webhook**]WebhooksApi.md#register_webhook | **POST** /v1/webhooks/ | POST /v1/webhooks



## delete_webhook

> delete_webhook(id)
DELETE /v1/webhooks/:id

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Webhook ID | [required] |

### Return type

 (empty response body)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## inbound_delivery_webhook

> models::DeliveryAck inbound_delivery_webhook(project_id, integration_id, delivery_status_webhook)
POST /v1/inbound-webhooks/delivery-providers/:project_id/:integration_id

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**project_id** | **uuid::Uuid** |  | [required] |
**integration_id** | **uuid::Uuid** |  | [required] |
**delivery_status_webhook** | [**DeliveryStatusWebhook**]DeliveryStatusWebhook.md |  | [required] |

### Return type

[**models::DeliveryAck**](DeliveryAck.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_webhooks

> Vec<models::WebhookRecord> list_webhooks()
GET /v1/webhooks

### Parameters

This endpoint does not need any parameter.

### Return type

[**Vec<models::WebhookRecord>**](WebhookRecord.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## register_webhook

> models::WebhookRecord register_webhook(create_webhook)
POST /v1/webhooks

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**create_webhook** | [**CreateWebhook**]CreateWebhook.md |  | [required] |

### Return type

[**models::WebhookRecord**](WebhookRecord.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)