agentcat-api 0.0.3

Generated Rust client for the AgentCat API, consumed by agentcat-sdk.
Documentation
# \NotificationsApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**unsubscribe_notification**]NotificationsApi.md#unsubscribe_notification | **POST** /v1/public/notifications/unsubscribe | Disable an email notification type for the token's user
[**verify_email_channel**]NotificationsApi.md#verify_email_channel | **POST** /v1/public/notifications/channels/verify | Activate an email channel from its verification link



## unsubscribe_notification

> String unsubscribe_notification(token, unsubscribe_request_request)
Disable an email notification type for the token's user

Anonymous endpoint reached from email unsubscribe links and the List-Unsubscribe header POST. The token encodes the user and the notification type to disable. Response bodies are plain text.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**token** | Option<**String**> | Signed unsubscribe token. May also be passed in the request body. |  |
**unsubscribe_request_request** | Option<[**UnsubscribeRequestRequest**]UnsubscribeRequestRequest.md> |  |  |

### Return type

**String**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
- **Accept**: text/plain, 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)


## verify_email_channel

> models::EmailChannelVerifyResponse verify_email_channel(token, email_channel_verify_request)
Activate an email channel from its verification link

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**token** | Option<**String**> |  |  |
**email_channel_verify_request** | Option<[**EmailChannelVerifyRequest**]EmailChannelVerifyRequest.md> |  |  |

### Return type

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

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
- **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)