Notification handlers
--url 'https://updow.lat/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
| Parameters | Details | Description |
|---|---|---|
| page | Optional Integer | The page number that you want results from. Defaults to 1. |
| results_per_page | Optional Integer | How many results you want per page. Allowed values are: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Defaults to 25. |
--url 'https://updow.lat/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
| Parameters | Details | Description |
|---|---|---|
| name | Required String | - |
| type | Required String | Allowed values: email , webhook , slack , discord , telegram , microsoft_teams |
| Optional String | Available when: type = email Email | |
| webhook | Optional String | Available when: type = webhook Webhook URL |
| slack | Optional String | Available when: type = slack Slack webhook URL |
| discord | Optional String | Available when: type = discord Discord webhook URL |
| telegram | Optional String | Available when: type = telegram Telegram API Token |
| telegram_chat_id | Optional String | Available when: type = telegram Telegram Chat ID |
| x_consumer_key | Optional String | Available when: type = x Telegram API Token |
| x_consumer_secret | Optional String | Available when: type = x Telegram API Token |
| x_access_token | Optional String | Available when: type = x Telegram API Token |
| x_access_token_secret | Optional String | Available when: type = x Telegram API Token |
--url 'https://updow.lat/api/notification-handlers' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'type=email' \
--form 'email=hello@example.com' \
| Parameters | Details | Description |
|---|---|---|
| name | Optional String | - |
| type | Optional String | Allowed values: email , webhook , slack , discord , telegram , microsoft_teams |
| Optional String | Available when: type = email Email | |
| webhook | Optional String | Available when: type = webhook Webhook URL |
| slack | Optional String | Available when: type = slack Slack webhook URL |
| discord | Optional String | Available when: type = discord Discord webhook URL |
| telegram | Optional String | Available when: type = telegram Telegram API Token |
| telegram_chat_id | Optional String | Available when: type = telegram Telegram Chat ID |
| x_consumer_key | Optional String | Available when: type = x Telegram API Token |
| x_consumer_secret | Optional String | Available when: type = x Telegram API Token |
| x_access_token | Optional String | Available when: type = x Telegram API Token |
| x_access_token_secret | Optional String | Available when: type = x Telegram API Token |
| is_enabled | Optional Boolean | - |
--url 'https://updow.lat/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example new name' \
--form 'is_enabled=1' \
--url 'https://updow.lat/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \