> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neoagent.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Xelion API

> Work Xelion phone tickets for a client: read users, lines, queues, forwarding and call history, and change forwarding, queues and users

The common use is a telephony ticket: the agent reads the user's line in the client's Xelion tenant, who rings on it, its phones, forwarding, fallback and night mode, and the line's call history, then writes the cause on the ticket or makes the change. It also creates and disables users for onboarding and offboarding, and lists missed calls and voicemails for a line.

> [!NOTE]
>
> Automatically enabled when you configure Xelion permissions in your agent workflow.

## What It Does

* Read users and their extensions, phone lines and call queues, who rings on each, forwarding, fallback, voicemail and night mode
* Read call history, missed calls and voicemails for a line, and calls running now
* Add or remove a user from a call queue, and change forwarding, follow-me, fallback, ring time and voicemail
* Create a user with a phone line and an extension, send the welcome email or a password reset, change a display name or caller ID, and disable or remove a user
* Read and reboot phones, read trunks and their numbers, licences and the audit trail

## Permission Groups

| Group | Covers |
| - | - |
| Users & Contacts | Users and their roles, persons and organisations, presence and locations; create, rename, disable or remove a user, welcome emails and password resets |
| Phone Lines, Queues & Forwarding | Phone lines and call queues, their users, phones and extensions, fallback, ring time, voicemail, night mode, switch times, speed dials and statuses |
| Phones & Provisioning | Desk phones, softphones and mobile apps, forwarding and twinning, phone templates, provisioning, reboot and resync, DECT systems |
| Calls, Voicemail & Reports | Call history, missed calls and voicemails, running calls and wallboards, after-call types, saved queries and automated reports; place or hang up a call |
| Chat, SMS & WhatsApp | Chat sessions and messages, SMS, WhatsApp templates and gateways, message routings and the website chat gateway |
| Trunks & Call Rules | SIP trunks and their numbers, traffic classes, country settings and peers |
| System & Tenant Settings | The tenant's settings, licences, backups, logs and audit trail, music on hold, audio files, triggers, Microsoft 365 sync and tenants |
| Neo's Own Xelion User | The user Neo signs in with: its own status, devices, favourites, appointments and video rooms |

## Access Profiles

| Profile | What runs on its own | What asks a technician |
| - | - | - |
| **Read Only** | Every read | No write is allowed |
| **Helpdesk** | Reads | Every change to users, lines, queues, forwarding, phones and calls. Every other group stays read only |
| **IT Admin** | Every read; the narrowing and routine changes to users, lines and phones; call history changes | Creating a user, line or phone and every other update to one (a delete runs on its own); chat, SMS and WhatsApp, trunks and call rules, and the tenant's settings |
| **Full Automation** | Every read and write, but messaging, trunks and settings | Only the writes that always ask (below), which include every change to messaging, trunks and settings |

## Safety Controls

| Control | Behavior |
| - | - |
| **Always ask** | These always need a technician's approval, whatever the profile: creating a user, a line or a phone, and every update to one except disabling it, removing or pausing a queue member, turning forwarding, twinning, recording, transcription or night mode off, ring time, voicemail on or off, names, queue tuning and a phone's do not disturb (deleting a user, a line or a phone follows the agent's settings, so Helpdesk asks and IT Admin does not); every write as Neo's own Xelion user; creating a contact or changing its addresses; joining an unknown caller into a contact; creating or changing an automated report; changing a call log beyond its marks, after-call type and heard flag; creating or changing switch times and their overrides, line and presence groups, speed dials, statuses, restricted address books and a user's visible lines; every change in Chat, SMS & WhatsApp, in Trunks & Call Rules and in System & Tenant Settings, which hold the tenant-wide hosts and addresses (trunks, the mail gateway, backup locations, provisioning and licence servers, gateways); phone provisioning and phone templates; adding a user or a phone to a line or queue, a line or phone to a user, or assigning a phone to a user; turning on a line's call recording or recording a running call; changing what callers hear or chat visitors read (announcements, greetings, an auto attendant's audio, chat replies, voicemail email text); sending a line's calls to another line (its fallback, a night-mode or override line, a caller-ID transfer, an auto attendant's actions); giving someone listen-in, call recording, call log or manager access to a line, or lines to manage, or changing a record's security; a line's own traffic classes or allowed numbers; a phone's push destination or notifications; saving a query (Neo refuses one that reads a credential); a transcription of a recording, a generated spoken message, and turning on a line's automatic transcription or voicemail SMS, which spend the tenant's credits; setting a user's phone host or provisioning addresses, or a phone's provisioning redirection or custom SIP options; sending an SMS, a WhatsApp template, a chat message (or its forward or reply) or a message routing's message, and placing a call; a welcome email, a password-reset email and a test email; turning on call forwarding or redirection, setting an external phone's number, and turning on voicemail delivery by call or email; a report schedule, a trigger and an integrated webpage; a phone's factory reset and a new password for a phone or its admin account; removing a trunk; making a user an administrator; turning a disabled user or phone account back on; anonymizing call data and removing or shrinking call attachments; a backup restore; a server update; the sign-in settings (authentication and LDAP); installing or ordering a licence; a tenant's release, stop, import or preload; a welcome email to every user; setting Neo's own Microsoft 365 key; a write that sends a password, PIN or token |
| **Hidden credentials** | Passwords, PINs, secrets, tokens, keys and activation codes read `[removed by Neo]` in every answer. Neo refuses a write that sends the marker, a credential in a query string, and a whole-record update (PUT) of a contact, a trunk or a tenant, which would clear the hidden values; the agent sends the same change as a PATCH of only the fields it changes |
| **Reads are all or nothing** | Xelion's answers carry related records of every group (a user's lines and phones, chats beside calls), so an agent reads Xelion only when every Xelion group is at least Read Only for it, as in every preset |
| **One tenant per client** | A call reaches the Xelion tenant of the client it names, which on a ticket is the ticket's company |
| **Never sent** | Neo signs in and out itself, never changes its own user's password or passkey, does not open a websocket, does not upload raw files (audio, updates, attachments), does not download raw audio, and does not read a phone's provisioning address |
| **Your server** | Neo sends the password only over HTTPS to the server address you saved, which must be a public address, and never follows a redirect |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.