aYOUne
← communication API

IVRFlows

Singular: IVRFlow — Base URL: https://communication-api.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)

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.

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": "6aa37352c1da44adf17a6eb6",
    "name": "INTERIOR_AMARANTH_KI-ADI-MUNDI",
    "active": false,
    "createdBy": "6045f4d25704710012485569",
    "shares": [],
    "createdAt": "2026-09-11T03:19:46.633Z",
    "updatedAt": "2026-09-11T03:19:46.633Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://communication-api.ayoune.app/ivrflows/6aa37352c1da44adf17a6eb6",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "AutomationWorkflows",
        "title": "MODEL_AUTOMATIONWORKFLOW",
        "href": "https://api.ayoune.app/automation/automationworkflows",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "automation.automationworkflows"
      },
      {
        "rel": "PhoneNumbers",
        "title": "MODEL_PHONENUMBER",
        "href": "https://api.ayoune.app/communication/phonenumbers",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "voice.phonenumbers"
      },
      {
        "rel": "Websites",
        "title": "MODEL_WEBSITE",
        "href": "https://api.ayoune.app/cms/websites",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "cms.websites"
      },
      {
        "rel": "CallAgents",
        "title": "MODEL_CALLAGENT",
        "href": "https://api.ayoune.app/communication/callagents",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "voice.callagents"
      }
    ],
    "debugId": "6aa37354c1da44adf17a6f28",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_IVRFLOW",
        "href": "https://api.ayoune.app/communication/ivrflows/6aa37352c1da44adf17a6eb6/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_IVRFLOW",
        "href": "https://api.ayoune.app/communication/ivrflows/6aa37352c1da44adf17a6eb6",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.18.0",
      "core": "2026.333.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2368",
      "reset": "1789100349",
      "resetDate": "Fri Sep 11 2026"
    },
    "responseTime": 199.107949,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpoints

MethodPathDescriptionRight
GET /ivrflows List with filters/pagination voice.ivrflows.view
GET /ivrflows/:id Single record voice.ivrflows.view
POST /ivrflows Create new record voice.ivrflows.new
PUT /ivrflows Update record voice.ivrflows.edit
DELETE /ivrflows/:id Delete record voice.ivrflows.delete

SDK

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

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

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

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

See also