← communication API
CallQueues
Singular: CallQueue — Base URL: https://communication-api.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)
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": "6aa3734bc1da44adf17a6ce1",
"name": "ELECTORAL_BEIGE_AYLA SECURA",
"strategy": "round-robin",
"createdBy": "6045f4d25704710012485569",
"shares": [],
"createdAt": "2026-09-11T03:19:39.914Z",
"updatedAt": "2026-09-11T03:19:39.914Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://communication-api.ayoune.app/callqueues/6aa3734bc1da44adf17a6ce1",
"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": "6aa3734dc1da44adf17a6d66",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_CALLQUEUE",
"href": "https://api.ayoune.app/communication/callqueues/6aa3734bc1da44adf17a6ce1/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_CALLQUEUE",
"href": "https://api.ayoune.app/communication/callqueues/6aa3734bc1da44adf17a6ce1",
"method": "delete",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.18.0",
"core": "2026.333.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2384",
"reset": "1789100349",
"resetDate": "Fri Sep 11 2026"
},
"responseTime": 201.303548,
"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' });