aYOUne
← communication API

VoicePortRequests

Singular: VoicePortRequest — 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 /voiceportrequests List with filters/pagination voice.portrequests.view
GET /voiceportrequests/:id Single record voice.portrequests.view
POST /voiceportrequests Create new record voice.portrequests.new
PUT /voiceportrequests Update record voice.portrequests.edit
DELETE /voiceportrequests/:id Delete record voice.portrequests.delete

SDK

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

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

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

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

See also