- TODO LIST
- Version
- Authentication
- Access Token (Oauth - Username/Password)
- API Key (Machine 2 Machine)
- JWT (JSON Web Token)
- Event Subscriptions
- Resellers
- Domains
- Phone Numbers
- Users
- Devices
- Phones/Macs
- Sites
- Call Center
- Callqueues
- Agents
- Agent Actions
- QueuedCalls
- Statistics
- Answer Rules
- Call Blocking
- Auto Attendant
- Media
- Voicemail
- Greetings
- Read Greetings for User
- Read Specific Greeting for User
- Delete Specific Greeting for User
- Create a new Greeting from TTS
- Update Greeting with TTS script
- Create a new Greeting from Upload (JSON + Base64 File)
- Update Greeting from Upload (JSON + Base64 File)
- Create a new Greeting from Upload (Multipart/Mixed Post)
- Update Greeting from Upload (Multipart/Mixed Post)
- Music on Hold
- Domain
- Read MOH for Domain
- Create a new MOH for Domain from TTS
- Update MOH for Domain from TTS
- Create a new MOH for Domain from Upload (JSON + Base64 File)
- Update MOH for Domain from Upload (JSON + Base64 File)
- Create a new MOH for Domain from Upload (Multipart/Mixed Post)
- Update MOH for Domain from Upload (Multipart/Mixed Post)
- Delete MOH for Domain
- User
- Read MOH for User
- Create a new MOH for Domain from TTS
- Create a new MOH for User from Upload (JSON + Base64 File)
- Update MOH for User from Upload (JSON + Base64 File)
- Update MOH for Domain from TTS
- Create a new MOH for User from Upload (Multipart/Mixed Post)
- Update a MOH for User from Upload (Multipart/Mixed Post)
- Delete MOH for User
- Domain
- Hold Messages
- Text to Speech
- CDR (Call History)
- Transcriptions & Sentiment
- Call Traces & Cradle to Grave
- Calls (live/active calls)
- Contacts
- Addresses
- Get Addresses for Domain
- Validate Address
- Create Address for Domain
- Update Address for Domain
- Update Address for User
- Update Address Endpoint
- Create Address for User
- Delete Address For User
- Delete Address Endpoint
- Delete Address For Domain
- Create Address Endpoint
- Get Address Endpoints for a Domain
- Get Addresses Count for Domain
- Get Addresses for User
- Get Address Using Address ID
- Voicemail Reminders
- Dialrule
- Messages
- Get Messagesessions for Domain
- Start a new Message Session
- Get Messagesessions for User
- Get Messages for Messagesession
- Send a message (Chat)
- Send a message (Group Chat)
- Send a message (Media Chat)
- Send a message (SMS)
- Send a message (Group SMS)
- Send a message (MMS)
- Update Messagesession (Participants)
- Update Messagesession (Session Name)
- Update Messagesession (Leave)
- Delete Messagesession
- SMS Numbers
- Recordings
- Email
- Connections
- Routes
- Meetings
- Event Logs
- Iotum
- Read Iotum Video Domain Resellers
- Read Iotum Video Host
- Read All Iotum Video Hosts in a Domain
- Read Iotum Video Host Conferences
- Read Iotum Video Host Contacts
- Read Iotum Video Company
- Read Iotum Video Company Products
- Read Iotum Video Available Products
- Create a Host
- Create Host Contacts
- Create Iotum Video Subscription
- Update Domain's Iotum Company
- Update Domain's Iotum Subscriptions
- Update User's Iotum Host
- Delete Iotum Video Subscription
- Delete a Host
- Create Iotum Video Company
- Create a Ad-hoc Conference
- Delete a Video Company
- Create a Meeting with Id
- Create a Meeting
- Read Meeting
- Count Domains Meetings
- Count Meeting
- Register Meeting
- Update a Meeting
- Delete a Meeting
- Request a Meeting ID
- Read Meetings for User
- Backup & Restore
- Configs
- Images
- Templates
- Timeframes
- Domain (Shared)
- User
- Holiday Information
- Firebase
- SSL Certificates
Read Agents in Domain
GET
/domains/{domain}/agents
Last modified:2023-12-21 20:51:58
OperationId:ReadAgentsDomain
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
domain
stringÂ
required
Example:
{{domain}}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://awqacore01.crexendocloud.com/ns-api/v2/domains/{{domain}}/agents'
Responses
🟢200OK
application/json
Body
array of:
callqueue-agent-id
stringÂ
required
Examples:
1000@domainsip:1001@domain.com
callqueue
stringÂ
optional
Example:
3000
domain
stringÂ
optional
<= 64 characters
Examples:
example.commyDomaintest.12123
Match pattern:
^[A-Za-z0-9._-]+|\*
callqueue-agent-availability-type
enum<string>Â
optional
Allowed values:
automaticmanualdisabledoffnet-automatic
callqueue-agent-wrap-up-allowance-seconds
integerÂ
optional
Default:
0
auto-answer-enabled
enum<string>Â
optional
Allowed values:
yesno
Default:
no
callqueue-agent-dispatch-order-ordinal
integerÂ
optional
callqueue-agent-dispatch-queue-priority-ordinal
integerÂ
optional
limits-max-active-calls-total
integerÂ
optional
callqueue-agent-answer-confirmation-enabled
enum<string>Â
optional
Allowed values:
yesno
Default:
no
callqueue-agent-has-registered-devices
enum<string>Â
read-onlyoptional
Allowed values:
yesnopush-enabledoffnet
callqueue-agent-availability-for-dispatch
stringÂ
optional
active-calls-total-current
integerÂ
read-onlyoptional
last-modified-datetime
string <date-time>
read-onlyoptional
callqueue-agent-max-concurrent-sms-conversations
integerÂ
optional
last-callqueue-dispatch-datetime
string <date-time> | nullÂ
read-onlyoptional
callqueue-agent-entry-type
enum<string>Â
read-onlyoptional
Allowed values:
deviceuseroffnet
login-username
stringÂ
read-onlyoptional
name-full-name
stringÂ
read-onlyoptional
agent-name-first-name
stringÂ
read-onlyoptional
agent-name-last-name
stringÂ
read-onlyoptional
agent-department
stringÂ
read-onlyoptional
agent-site
stringÂ
read-onlyoptional
agent-user-scope
stringÂ
read-onlyoptional
agent-status-message
string  | nullÂ
read-onlyoptional
Example
[
{
"callqueue-agent-id": "1000@domain",
"callqueue": "3000",
"domain": "example.com",
"callqueue-agent-availability-type": "automatic",
"callqueue-agent-wrap-up-allowance-seconds": 0,
"auto-answer-enabled": "no",
"callqueue-agent-dispatch-order-ordinal": 0,
"callqueue-agent-dispatch-queue-priority-ordinal": 0,
"limits-max-active-calls-total": 0,
"callqueue-agent-answer-confirmation-enabled": "no",
"callqueue-agent-has-registered-devices": "yes",
"callqueue-agent-availability-for-dispatch": "string",
"active-calls-total-current": 0,
"last-modified-datetime": "2019-08-24T14:15:22Z",
"callqueue-agent-max-concurrent-sms-conversations": 0,
"last-callqueue-dispatch-datetime": "2019-08-24T14:15:22Z",
"callqueue-agent-entry-type": "device",
"login-username": "string",
"name-full-name": "string",
"agent-name-first-name": "string",
"agent-name-last-name": "string",
"agent-department": "string",
"agent-site": "string",
"agent-user-scope": "string",
"agent-status-message": "string"
}
]
🟠404Record not found
🟠400Bad Request
🟠401Authentication Required
Modified at 2023-12-21 20:51:58