← Export API
ExportConfigs
Singular: ExportConfig — Base URL: https://export-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": "65e0b0ba121b7d48fe1586f3",
"createdBy": "6045f4d25704710012485569",
"recipients": [],
"exports": [],
"fields": [],
"overrides": [],
"createdAt": "2024-02-29T16:28:42.221Z",
"updatedAt": "2024-02-29T16:28:42.221Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://export-api.ayoune.app/exportconfigs/65e0b0ba121b7d48fe1586f3",
"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": "Queries",
"title": "MODEL_QUERY",
"href": "https://api.ayoune.app/config/queries",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "config.queries"
}
],
"debugId": "6a62dffdc18c2749f553f86f",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_EXPORTCONFIG",
"href": "https://api.ayoune.app/export/exportconfigs/65e0b0ba121b7d48fe1586f3/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_EXPORTCONFIG",
"href": "https://api.ayoune.app/export/exportconfigs/65e0b0ba121b7d48fe1586f3/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.0.2",
"core": "2026.234.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2458",
"reset": "1784868359",
"resetDate": "Fri Jul 24 2026"
},
"responseTime": 77.978109,
"code": 200,
"status": "success",
"error": false
}
}
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /exportconfigs |
List with filters/pagination | export.exportconfigs.view |
| GET | /exportconfigs/:id |
Single record | export.exportconfigs.view |
| POST | /exportconfigs |
Create new record | export.exportconfigs.new |
| PUT | /exportconfigs |
Update record | export.exportconfigs.edit |
| DELETE | /exportconfigs/:id |
Delete record | export.exportconfigs.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.export.exportConfigs.find().limit(10).exec();
// Single record
const one = await ay.export.exportConfigs.findById('OBJECT_ID').exec();
// Create
const created = await ay.export.exportConfigs.create({ name: 'Foo' });