← Reporting API
KPIBrandMails
Singular: KPIBrandMail — Base-URL: https://reporting-api.ayoune.app — Zugriff: read-only
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": "66ee13902d69c9d599ab049a",
"date": "2024-09-20T00:00:00.000Z",
"senderBrand": "65e0b064121b7d48fe157eaa",
"bounced": 0,
"clicked": 0,
"clickouts": 0,
"createdAt": "2024-09-21T00:30:08.035Z",
"delivered": 0,
"opened": 0,
"pageviews": 0,
"sent": 0,
"updatedAt": "2024-09-21T22:30:09.281Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://reporting-api.ayoune.app/kpibrandmails/66ee13902d69c9d599ab049a",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [],
"debugId": "6a6198dac5e8aca9cc09397f",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_KPIBRANDMAIL",
"href": "https://api.ayoune.app/reporting/kpibrandmails/66ee13902d69c9d599ab049a/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_KPIBRANDMAIL",
"href": "https://api.ayoune.app/reporting/kpibrandmails/66ee13902d69c9d599ab049a/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.24.0",
"core": "2026.257.1"
},
"rateLimit": {
"limit": "2500",
"remaining": "2443",
"reset": "1784784606",
"resetDate": "Thu Jul 23 2026"
},
"responseTime": 398.725729,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| GET | /kpibrandmails |
Liste mit Filtern/Paginierung | reporting.kpibrandmails.view |
| GET | /kpibrandmails/:id |
Einzelner Datensatz via ID | reporting.kpibrandmails.view |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// Alle abrufen
const list = await ay.reporting.kPIBrandMails.find().limit(10).exec();
// Einzelnen Datensatz
const one = await ay.reporting.kPIBrandMails.findById('OBJECT_ID').exec();