← CRM API
FormSubmissions
Singular: FormSubmission — Base-URL: https://crm-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": {
"ipLocation": {
"subdivisions": []
},
"formName": "",
"ip": "",
"ipHash": "",
"device": "",
"country": "",
"region": "",
"city": "",
"ll": [],
"timezone": "",
"url": "",
"adType": "",
"ad": "",
"isAd": false,
"fingerprint": "",
"fingerprintView": "",
"referrer": "",
"ayoune_actions": [],
"ayoune_params": [],
"ayoune_aff_type": "consumer",
"_id": "65ce21ffab00a8441050ca7c",
"status": "Neu",
"createdBy": "6045f4d25704710012485569",
"createdAt": "2024-02-15T14:38:55.649Z",
"updatedAt": "2024-02-15T14:38:55.649Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://crm-api.ayoune.app/formsubmissions/65ce21ffab00a8441050ca7c",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [
{
"rel": "Consumers",
"title": "MODEL_CONSUMER",
"href": "https://api.ayoune.app/crm/consumers",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "crm.consumers"
},
{
"rel": "Forms",
"title": "MODEL_FORM",
"href": "https://api.ayoune.app/config/forms",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "config.forms"
}
],
"debugId": "6a62df76d98fe96440cc8eff",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_FORMSUBMISSION",
"href": "https://api.ayoune.app/crm/formsubmissions/65ce21ffab00a8441050ca7c/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_FORMSUBMISSION",
"href": "https://api.ayoune.app/crm/formsubmissions/65ce21ffab00a8441050ca7c/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.46.1",
"core": "2026.258.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2345",
"reset": "1784868196",
"resetDate": "Fri Jul 24 2026"
},
"responseTime": 51.514999,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| GET | /formsubmissions |
Liste mit Filtern/Paginierung | crm.formsubmissions.view |
| GET | /formsubmissions/:id |
Einzelner Datensatz via ID | crm.formsubmissions.view |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// Alle abrufen
const list = await ay.crm.formSubmissions.find().limit(10).exec();
// Einzelnen Datensatz
const one = await ay.crm.formSubmissions.findById('OBJECT_ID').exec();