← communication API
CallQueues
Singular: CallQueue — Base URL: https://communication-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.
Example response (recorded) sample
A real, previously recorded GET /:id response of this endpoint — not the live call above. Sensitive fields are masked.
{
"payload": {
"_id": "6a618bcb95e36f53b3fc99b8",
"name": "ANGRY_GREEN_JABBA DESILIJIC TIURE",
"strategy": "round-robin",
"createdBy": "6045f4d25704710012485569",
"createdAt": "2026-07-23T03:34:35.694Z",
"updatedAt": "2026-07-23T03:34:35.694Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://communication-api.ayoune.app/callqueues/6a618bcb95e36f53b3fc99b8",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [
{
"rel": "PhoneNumbers",
"title": "MODEL_PHONENUMBER",
"href": "https://api.ayoune.app/communication/phonenumbers",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "voice.phonenumbers"
}
],
"debugId": "6a62dcae715b92602aca5b6a",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_CALLQUEUE",
"href": "https://api.ayoune.app/communication/callqueues/6a618bcb95e36f53b3fc99b8/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_CALLQUEUE",
"href": "https://api.ayoune.app/communication/callqueues/6a618bcb95e36f53b3fc99b8/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.12.2",
"core": "2026.258.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2370",
"reset": "1784867498",
"resetDate": "Fri Jul 24 2026"
},
"responseTime": 193.657059,
"code": 200,
"status": "success",
"error": false
}
}
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /callqueues |
List with filters/pagination | voice.callqueues.view |
| GET | /callqueues/:id |
Single record | voice.callqueues.view |
| POST | /callqueues |
Create new record | voice.callqueues.new |
| PUT | /callqueues |
Update record | voice.callqueues.edit |
| DELETE | /callqueues/:id |
Delete record | voice.callqueues.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.communication.callQueues.find().limit(10).exec();
// Single record
const one = await ay.communication.callQueues.findById('OBJECT_ID').exec();
// Create
const created = await ay.communication.callQueues.create({ name: 'Foo' });