aYOUne
← Marketing API

KeywordNegativeLists

Singular: KeywordNegativeList — Base URL: https://marketing-api.ayoune.app — Access: CRUD

play_circle Try it now beta

Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.

Endpoints

MethodPathDescriptionRight
GET /keywordnegativelists List with filters/pagination marketing.keywordnegativelists.view
GET /keywordnegativelists/:id Single record marketing.keywordnegativelists.view
POST /keywordnegativelists Create new record marketing.keywordnegativelists.new
PUT /keywordnegativelists Update record marketing.keywordnegativelists.edit
DELETE /keywordnegativelists/:id Delete record marketing.keywordnegativelists.delete

SDK

import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');

// List all
const list = await ay.marketing.keywordNegativeLists.find().limit(10).exec();

// Single record
const one = await ay.marketing.keywordNegativeLists.findById('OBJECT_ID').exec();

// Create
const created = await ay.marketing.keywordNegativeLists.create({ name: 'Foo' });

See also