← CRM API
Notifications
Singular: Notification — Base-URL: https://crm-api.ayoune.app — Zugriff: CRUD — Maschinenlesbare Beschreibung (JSON · YAML)
Jetzt ausprobieren
beta
Response (live)
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": "6aa228bf624ee4b1a8c9e69c",
"user": "6045f4d25704710012485569",
"adminNotification": false,
"userNotification": true,
"markread": false,
"icon": "info",
"mess": "DevOpsAlerts created by System",
"title": "ALIVE_AMETHYST_ACKBAR",
"category": "DevOpsAlerts",
"sensitivity": "work",
"obj": "6aa228bee992473d7c87e550",
"view": "",
"actions": [
{
"id": "open-entity",
"label": "Öffnen",
"type": "link",
"style": "secondary",
"icon": "open_in_new",
"href": "/go/devops/devopsalerts/6aa228bee992473d7c87e550"
}
],
"tag": "DevOpsAlerts:6aa228bee992473d7c87e550",
"shares": [],
"createdAt": "2026-09-10T03:49:19.101Z",
"updatedAt": "2026-09-10T03:49:19.101Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://crm-api.ayoune.app/notifications/6aa228bf624ee4b1a8c9e69c",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [],
"debugId": "6aa37969f07dfdf88c40c806",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_NOTIFICATION",
"href": "https://api.ayoune.app/crm/notifications/6aa228bf624ee4b1a8c9e69c/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_NOTIFICATION",
"href": "https://api.ayoune.app/crm/notifications/6aa228bf624ee4b1a8c9e69c",
"method": "delete",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.78.0",
"core": "2026.335.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2287",
"reset": "1789101872",
"resetDate": "Fri Sep 11 2026"
},
"responseTime": 34.76859,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| 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' });