← CRM API
DataCollectionEntries
Singular: DataCollectionEntry — Base URL: https://crm-api.ayoune.app — Access: CRUD
Try it now
beta
Response (live)
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": "6a618eb4f23360035fa1cfd9",
"createdBy": "6045f4d25704710012485569",
"values": [],
"createdAt": "2026-07-23T03:47:00.545Z",
"updatedAt": "2026-07-23T03:47:00.545Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://crm-api.ayoune.app/datacollectionentries/6a618eb4f23360035fa1cfd9",
"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"
}
],
"debugId": "6a62df93d98fe96440cc99da",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_DATACOLLECTIONENTRY",
"href": "https://api.ayoune.app/crm/datacollectionentries/6a618eb4f23360035fa1cfd9/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_DATACOLLECTIONENTRY",
"href": "https://api.ayoune.app/crm/datacollectionentries/6a618eb4f23360035fa1cfd9/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.46.1",
"core": "2026.258.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2184",
"reset": "1784868196",
"resetDate": "Fri Jul 24 2026"
},
"responseTime": 17.00578,
"code": 200,
"status": "success",
"error": false
}
}
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /datacollectionentries |
List with filters/pagination | crm.datacollectionentries.view |
| GET | /datacollectionentries/:id |
Single record | crm.datacollectionentries.view |
| POST | /datacollectionentries |
Create new record | crm.datacollectionentries.new |
| PUT | /datacollectionentries |
Update record | crm.datacollectionentries.edit |
| DELETE | /datacollectionentries/:id |
Delete record | crm.datacollectionentries.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.crm.dataCollectionEntries.find().limit(10).exec();
// Single record
const one = await ay.crm.dataCollectionEntries.findById('OBJECT_ID').exec();
// Create
const created = await ay.crm.dataCollectionEntries.create({ name: 'Foo' });