aYOUne
← CRM API

Notifications

Singular: Notification — Base URL: https://crm-api.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)

play_circle Try it now beta

Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.

Example response (recorded) sample

A real, previously recorded GET /:id response of this endpoint — not the live call above. Sensitive fields are masked.

{
  "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
  }
}

Endpoints

MethodPathDescriptionRight
GET /notifications List with filters/pagination crm.notifications.view
GET /notifications/:id Single record crm.notifications.view
POST /notifications Create new record crm.notifications.new
PUT /notifications Update record crm.notifications.edit
DELETE /notifications/:id Delete record crm.notifications.delete

SDK

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

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

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

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

See also