enbbox 1.0.1

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

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**create_connection**]ChannelConnectionsApi.md#create_connection | **POST** /v1/channel-connections/ | POST /v1/channel-connections
[**delete_connection**]ChannelConnectionsApi.md#delete_connection | **DELETE** /v1/channel-connections/{id}/ | DELETE /v1/channel-connections/:identifier
[**get_connection**]ChannelConnectionsApi.md#get_connection | **GET** /v1/channel-connections/{id}/ | GET /v1/channel-connections/:identifier
[**list_connections**]ChannelConnectionsApi.md#list_connections | **GET** /v1/channel-connections/ | GET /v1/channel-connections
[**update_connection**]ChannelConnectionsApi.md#update_connection | **PATCH** /v1/channel-connections/{id}/ | PATCH /v1/channel-connections/:identifier



## create_connection

> models::ChannelConnectionRecord create_connection(create_channel_connection)
POST /v1/channel-connections

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**create_channel_connection** | [**CreateChannelConnection**]CreateChannelConnection.md |  | [required] |

### Return type

[**models::ChannelConnectionRecord**](ChannelConnectionRecord.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)


## delete_connection

> delete_connection(id)
DELETE /v1/channel-connections/:identifier

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **String** | Channel connection 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)


## get_connection

> models::ChannelConnectionRecord get_connection(id)
GET /v1/channel-connections/:identifier

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **String** | Channel connection ID | [required] |

### Return type

[**models::ChannelConnectionRecord**](ChannelConnectionRecord.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)


## list_connections

> models::PaginatedChannelConnectionRecord list_connections(limit, offset, q, filter_by)
GET /v1/channel-connections

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**limit** | Option<**u32**> | Maximum number of items to return (1–100, default: 10). |  |
**offset** | Option<**u32**> | Number of items to skip before returning results (default: 0). |  |
**q** | Option<**String**> | Optional full-text search query. When present, listing is powered by Typesense full-text search. |  |
**filter_by** | Option<**String**> | Optional Typesense filter expression for narrowing results. Example: `identifier:=acme-corp` or `name:=General`. |  |

### Return type

[**models::PaginatedChannelConnectionRecord**](Paginated_ChannelConnectionRecord.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)


## update_connection

> models::ChannelConnectionRecord update_connection(id, update_channel_connection)
PATCH /v1/channel-connections/:identifier

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **String** | Channel connection ID | [required] |
**update_channel_connection** | [**UpdateChannelConnection**]UpdateChannelConnection.md |  | [required] |

### Return type

[**models::ChannelConnectionRecord**](ChannelConnectionRecord.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)