aYOUne
← CRM API

Notifications

Singular: Notification — Base-URL: https://crm-api.ayoune.app — Zugriff: CRUD — Maschinenlesbare Beschreibung (JSON · YAML)

play_circle Jetzt ausprobieren beta

Requests werden über den consumer-app Proxy an *.ayoune.app weitergeleitet. Tokens bleiben im Browser und werden pro Call mitgesendet.

Beispiel-Response (aufgezeichnet) Beispiel

Eine echte, zuvor aufgezeichnete GET /:id-Antwort dieses Endpunkts — nicht der Live-Call oben. Sensible Felder sind maskiert.

{
  "payload": {
    "_id": "6a9255ed98530dad7f9eceb7",
    "user": "6045f4d25704710012485569",
    "adminNotification": false,
    "userNotification": true,
    "markread": false,
    "icon": "info",
    "mess": "DevOpsAlerts created by System",
    "title": "DEFIANT_BLUSH_ADI GALLIA",
    "category": "DevOpsAlerts",
    "sensitivity": "work",
    "obj": "6a9255edd6e3dc7574387623",
    "view": "",
    "actions": [
      {
        "id": "open-entity",
        "label": "Öffnen",
        "type": "link",
        "style": "secondary",
        "icon": "open_in_new",
        "href": "/go/devops/devopsalerts/6a9255edd6e3dc7574387623"
      }
    ],
    "image": "https://cm.ayoune.app/tolinax-demo/hero.jpg",
    "tag": "DevOpsAlerts:6a9255edd6e3dc7574387623",
    "isDraft": true,
    "createdAt": "2026-08-29T03:45:49.437Z",
    "updatedAt": "2026-08-29T03:45:49.437Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://crm-api.ayoune.app/notifications/6a9255ed98530dad7f9eceb7",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [],
    "debugId": "6a95030c7a114c80c5caa729",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_NOTIFICATION",
        "href": "https://api.ayoune.app/crm/notifications/6a9255ed98530dad7f9eceb7/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_NOTIFICATION",
        "href": "https://api.ayoune.app/crm/notifications/6a9255ed98530dad7f9eceb7",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.78.0",
      "core": "2026.325.2"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2268",
      "reset": "1788154068",
      "resetDate": "Mon Aug 31 2026"
    },
    "responseTime": 58.990459,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

MethodePathBeschreibungRight
GET /notifications Liste mit Filtern/Paginierung crm.notifications.view
GET /notifications/:id Einzelner Datensatz crm.notifications.view
POST /notifications Neuen Datensatz erstellen crm.notifications.new
PUT /notifications Datensatz aktualisieren crm.notifications.edit
DELETE /notifications/:id Datensatz löschen crm.notifications.delete

SDK

import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');

// Alle abrufen
const list = await ay.crm.notifications.find().limit(10).exec();

// Einzelnen Datensatz
const one = await ay.crm.notifications.findById('OBJECT_ID').exec();

// Erstellen
const created = await ay.crm.notifications.create({ name: 'Foo' });

Weiterführend