← CRM API
CheckLists
Singular: CheckList — 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.
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /checklists |
List with filters/pagination | crm.checklists.view |
| GET | /checklists/:id |
Single record | crm.checklists.view |
| POST | /checklists |
Create new record | crm.checklists.new |
| PUT | /checklists |
Update record | crm.checklists.edit |
| DELETE | /checklists/:id |
Delete record | crm.checklists.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.crm.checkLists.find().limit(10).exec();
// Single record
const one = await ay.crm.checkLists.findById('OBJECT_ID').exec();
// Create
const created = await ay.crm.checkLists.create({ name: 'Foo' });