← API Reference
communication API
Base URL: https://communication-api.ayoune.app — 14 entities
Example
cURL
curl -H "Authorization: Bearer pat_your_token" \
https://communication-api.ayoune.app/callagentassignments?limit=10
TypeScript SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
const result = await ay.communication.callAgentAssignments.find().limit(10).exec();
console.log(result.payload());
Entities
| Entity | REST Path | SDK | Access | Right | |
|---|---|---|---|---|---|
| CallAgentAssignments | /callagentassignments |
ay.communication.callAgentAssignments |
CRUD | voice.callagentassignments |
|
| CallAgents | /callagents |
ay.communication.callAgents |
CRUD | voice.callagents |
|
| CallEvents | /callevents |
ay.communication.callEvents |
read-only | voice.callevents |
|
| CallQueues | /callqueues |
ay.communication.callQueues |
CRUD | voice.callqueues |
|
| Calls | /calls |
ay.communication.calls |
read-only | voice.calls |
|
| CallScorecards | /callscorecards |
ay.communication.callScorecards |
read-only | voice.qa.scorecards |
|
| CallTranscripts | /calltranscripts |
ay.communication.callTranscripts |
read-only | voice.calltranscripts |
|
| Devices | /devices |
ay.communication.devices |
CRUD | communication.devices |
|
| IVRFlows | /ivrflows |
ay.communication.iVRFlows |
CRUD | voice.ivrflows |
|
| OptInRecords | /optinrecords |
ay.communication.optInRecords |
CRUD | voice.optinrecords |
|
| PhoneNumbers | /phonenumbers |
ay.communication.phoneNumbers |
CRUD | voice.phonenumbers |
|
| UserPresences | /userpresences |
ay.communication.userPresences |
CRUD | communication.userpresences |
|
| VoiceBundleRequests | /voicebundlerequests |
ay.communication.voiceBundleRequests |
CRUD | voice.bundlerequests |
|
| VoicePortRequests | /voiceportrequests |
ay.communication.voicePortRequests |
CRUD | voice.portrequests |