Notificación de los operadores

GET https://0o0.online/api/notification-handlers/
curl --request GET \
--url 'https://0o0.online/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
Parámetros Detalles Descripción
search Opcional Cuerpo La línea de búsqueda.
search_by Opcional Cuerpo ¿Qué campo está buscando? los valores permitidos son: name.
is_enabled Opcional Boolean
type Opcional Cuerpo ¿Qué campo está buscando? los valores permitidos son: email, webhook, slack, discord, telegram, microsoft_teams, x, google_chat, ntfy, push_subscriber_id.
datetime_field Opcional Cuerpo Los valores permitidos: datetime, last_datetime
datetime_start Opcional Cuerpo filtrar los resultados que comienzan a partir de esta fecha. Y-m-d H:i:s El formato.
datetime_end Opcional Cuerpo Filtra los resultados hasta esta fecha. Y-m-d H:i:s El formato.
order_by Opcional Cuerpo ¿Qué campo para ordenar los resultados por. Los valores permitidos son: notification_handler_id, datetime, last_datetime, name.
order_type Opcional Cuerpo Los valores permitidos son los siguientes: ASC para el ascenso de la orden, y DESC para la descendencia de los pedidos.
search Opcional Cuerpo La línea de búsqueda.
search_by Opcional Cuerpo ¿Qué campo está buscando? los valores permitidos son: name.
is_enabled Opcional Boolean
type Opcional Cuerpo ¿Qué campo está buscando? los valores permitidos son: email, webhook, slack, discord, telegram, microsoft_teams, x, google_chat, ntfy, push_subscriber_id.
datetime_field Opcional Cuerpo Los valores permitidos: datetime, last_datetime
datetime_start Opcional Cuerpo filtrar los resultados que comienzan a partir de esta fecha. Y-m-d H:i:s El formato.
datetime_end Opcional Cuerpo Filtra los resultados hasta esta fecha. Y-m-d H:i:s El formato.
order_by Opcional Cuerpo ¿Qué campo para ordenar los resultados por. Los valores permitidos son: notification_handler_id, datetime, last_datetime, name.
order_type Opcional Cuerpo Los valores permitidos son los siguientes: ASC para el ascenso de la orden, y DESC para la descendencia de los pedidos.
page Opcional Entierros El número de página que deseas resultados de. defectos a 1.
results_per_page Opcional Entierros ¿Cuántos resultados quieres por página? los valores permitidos son: 10, 25, 50, 100, 250, 500, 1000. Los defectos de 25.
{
    "data": [
        {
            "id": 1,
            "type": "email",
            "name": "Work email",
            "settings": {
                "email": "[email protected]"
            },
            "is_enabled": true,
            "last_datetime": null,
            "datetime": "2026-12-02 19:05:02",
        }
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://0o0.online/api/notification-handlers?page=1",
        "last": "https://0o0.online/api/notification-handlers?page=1",
        "next": null,
        "prev": null,
        "self": "https://0o0.online/api/notification-handlers?page=1"
    }
}
GET https://0o0.online/api/notification-handlers/{notification_handler_id}
curl --request GET \
--url 'https://0o0.online/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "type": "email",
        "name": "Work email",
        "settings": {
            "email": "[email protected]"
        },
        "is_enabled": true,
        "last_datetime": null,
        "datetime": "2026-12-02 19:05:02",
    }
}
POST https://0o0.online/api/notification-handlers
Parámetros Detalles Descripción
name Obligatorio Cuerpo -
type Obligatorio Cuerpo Los valores permitidos: email, webhook, slack, discord, telegram, microsoft_teams, x, google_chat, ntfy, push_subscriber_id
email Opcional Cuerpo Disponible cuando: type = email Correo electrónico
webhook Opcional Cuerpo Disponible cuando: type = webhook El Webhook URL
slack Opcional Cuerpo Disponible cuando: type = slack El Slack Webhook URL
discord Opcional Cuerpo Disponible cuando: type = discord Discord Webhook URL
telegram Opcional Cuerpo Disponible cuando: type = telegram Telegram API Token
telegram_chat_id Opcional Cuerpo Disponible cuando: type = telegram Telegram El chat ID
microsoft_teams Opcional Cuerpo Disponible cuando: type = microsoft_teams Microsoft Equipos webhook URL
google_chat Opcional Cuerpo Disponible cuando: type = google_chat Google El chat webhook URL
ntfy Opcional Cuerpo Disponible cuando: type = ntfy Temas de NTF URL
x_consumer_key Opcional Cuerpo Disponible cuando: type = x Telegram API Token
x_consumer_secret Opcional Cuerpo Disponible cuando: type = x Telegram API Token
x_access_token Opcional Cuerpo Disponible cuando: type = x Telegram API Token
x_access_token_secret Opcional Cuerpo Disponible cuando: type = x Telegram API Token
push_subscriber_id Opcional Cuerpo Disponible cuando: type = push_subscriber_id Subscripción Push
curl --request POST \
--url 'https://0o0.online/api/notification-handlers' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'type=email' \
--form 'email=[email protected]' \
{
    "data": {
        "id": 1
    }
}
POST https://0o0.online/api/notification-handlers/{notification_handler_id}
Parámetros Detalles Descripción
name Opcional Cuerpo -
type Opcional Cuerpo Los valores permitidos: email, webhook, slack, discord, telegram, microsoft_teams, x, google_chat, ntfy, push_subscriber_id
email Opcional Cuerpo Disponible cuando: type = email Correo electrónico
webhook Opcional Cuerpo Disponible cuando: type = webhook El Webhook URL
slack Opcional Cuerpo Disponible cuando: type = slack El Slack Webhook URL
discord Opcional Cuerpo Disponible cuando: type = discord Discord Webhook URL
telegram Opcional Cuerpo Disponible cuando: type = telegram Telegram API Token
telegram_chat_id Opcional Cuerpo Disponible cuando: type = telegram Telegram El chat ID
microsoft_teams Opcional Cuerpo Disponible cuando: type = microsoft_teams Microsoft Equipos webhook URL
google_chat Opcional Cuerpo Disponible cuando: type = google_chat Google El chat webhook URL
ntfy Opcional Cuerpo Disponible cuando: type = ntfy Temas de NTF URL
x_consumer_key Opcional Cuerpo Disponible cuando: type = x Telegram API Token
x_consumer_secret Opcional Cuerpo Disponible cuando: type = x Telegram API Token
x_access_token Opcional Cuerpo Disponible cuando: type = x Telegram API Token
x_access_token_secret Opcional Cuerpo Disponible cuando: type = x Telegram API Token
push_subscriber_id Opcional Cuerpo Disponible cuando: type = push_subscriber_id Subscripción Push
is_enabled Opcional Boolean -
curl --request POST \
--url 'https://0o0.online/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' \
{
    "data": {
        "id": 1
    }
}
DELETE https://0o0.online/api/notification-handlers/{notification_handler_id}
curl --request DELETE \
--url 'https://0o0.online/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \