aYOUne
← communication API

VoiceBundleRequests

Singular: VoiceBundleRequest — Base URL: https://communication-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 /voicebundlerequests List with filters/pagination voice.bundlerequests.view
GET /voicebundlerequests/:id Single record voice.bundlerequests.view
POST /voicebundlerequests Create new record voice.bundlerequests.new
PUT /voicebundlerequests Update record voice.bundlerequests.edit
DELETE /voicebundlerequests/:id Delete record voice.bundlerequests.delete

SDK

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

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

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

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

See also