Notification channels
Notification channel list
GET
https://app.hightouch.ai/api/notifications/channels/
Query Parameters
Name | Type | Description |
---|---|---|
shop_id | integer | Store ID |
is_active | boolean | Show only active/inactive |
tags | array | Filter by notification channel tags |
limit | integer | Number of records (max. 100) |
offset | integer | Shift in records |
search | string | Search bar by email/ Telegram ID/ Channel ID |
Add notification channel
POST
https://app.hightouch.ai/api/notifications/channels/
There are two types of notification channels:
{"id": 1}
- Send to email
{"id": 2}
- Send to the Telegram
When selecting each type, be sure to specify the field email
or tg_user_id
accordingly.
You can find out your Telegram ID by texting this bot.
Request Body
Name | Type | Description |
---|---|---|
shop_id | integer | Store ID |
is_active | boolean | Is the channel active |
tags | array | A list of tags to mark the channel with |
type | object | Type, for example: |
string | Email for notification | |
tg_user_id | integer | Telegram user ID |
Change notification channel
PATCH
https://app.hightouch.ai/api/notifications/channels/:id/
Path Parameters
Name | Type | Description |
---|---|---|
id | integer | Notification channel ID |
Request Body
Name | Type | Description |
---|---|---|
shop_id | integer | Store ID |
is_active | boolean | Active? |
tags | array | Tag list |
type | object | Type of the channel |
string | ||
tg_user_id | integer | Telegram user ID |
Delete notification channel
DELETE
https://app.hightouch.ai/api/notifications/channels/:id/
Path Parameters
Name | Type | Description |
---|---|---|
id | integer | Notification channel ID |
Last updated