--- title: AWA Agent API description: The AWA \(Advanced Work Assignment\) Agent API provides endpoints to manage agent presence, channel availability, and workload.Returns the current agent presence state and channel availability.Returns an agent's channel capacities, universal capacity, and the current workload to see if the agent can handle a case.Returns an agent's presence states and indicates whether the agent is available or in another presence state.Sets the state of a specified agent’s presence and, if provided, sets the agent’s channel availability for that state.Enables updating an agent's maximum capacity \(workload\) for channel capacities and universal capacity. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/rest-apis/agent-api.html release: australia product: REST APIs classification: rest-apis topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 23 breadcrumb: [REST API reference, API reference, API implementation and reference] --- # AWA Agent API The AWA \(Advanced Work Assignment\) Agent API provides endpoints to manage agent presence, channel availability, and workload. This API requires the Advanced Work Assignment \(com.glide.awa\) plugin and the awa\_integration\_user role. For more information, refer to [Advanced Work Assignment](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/conversational-interfaces/awa-overview.md). **Parent Topic:**[REST API reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/api-rest.md) ## AWA Agent - GET /now/awa/agents/\{user\_id\} Returns the current agent presence state and channel availability. ### URL format Versioned URL: `/api/now/{api_version}/awa/agents/{user_id}` Default URL: `/api/now/awa/agents/{user_id}` **Note:** Available versions are specified in the [REST API Explorer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-api-explorer/use-REST-API-Explorer.md). For scripted REST APIs there is additional version information on the [Scripted REST Service form](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-api-explorer/c_CustomWebServices.md). ### Supported request parameters
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| user\_id | Sys\_id of the work item. The work item must meet the following criteria: - Work item must be assigned to the specified agent. - Work item must be in **Pending Accept** state. Data type: String Table: AWA Work Item \[awa\_work\_item\] |
| Header | Description |
|---|---|
| presence.channels.available | Flag that indicates whether the channel is available. Possible values: - true: Channel is available. - false: Channel isn't available. Data type: Boolean |
| presence.channels.sys\_id | Channel sys\_id. Data type: String Table: Service Channels \[awa\_service\_channel\] |
| presence.sys\_id | Presence state sys\_id. Data type: String Table: Presence States \[awa\_presence\_state\] |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Content-Type | Data format of the request body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected. |
| 401 | Unauthorized. The user credentials are incorrect or have not been passed. |
| 403 | Forbidden.Possible reasons: - The user doesn't have the awa\_integration\_user role. - The value of the glide.awa.enabled property isn't `true`. This property is listed in the System Property \[sys\_property\] table if the Advanced Work Assignment \(com.glide.awa\) plugin is installed. For more information, see [Components installed with Advanced Work Assignment](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/conversational-interfaces/installed-with-awa.md). |
| 404 | Not found. The requested item wasn't found. |
| 500 | Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error. |
| Parameter | Description |
|---|---|
| error | Details describing an error encountered during the request process.Data type: Object ``` "error": { "detail": "String", "message": "String" } ``` |
| error.detail | Details of the error encountered during the request process. Data type: String |
| error.message | Message for the error encountered during the request process. Each error message has a corresponding description in the **detail** property.Possible values: - `Record Not Found`: Information provided in the request body is inaccurate or doesn't exist. - `User Not Authenticated`: User doesn't have the awa\_integration\_user role. Data type: String |
| presence | Information about an agent's current presence state and channel. Data type: Object ``` "presence": { "available": Boolean, "channels": [Array], "name": "String", "sys_id": "String" } ``` |
| presence.available | Flag that indicates whether the agent is available. Possible values: - true: Agent is available. - false: Agent isn't available. Data type: Boolean |
| presence.channels | List of objects that describe the available channels of communication with the agent. Data type: Array of Objects ``` "channels": [ { "available": Boolean, "name": "String", "sys_id": "String" } ] ``` |
| presence.channels.available | Flag that indicates whether the channel is available. Possible values: - true: Channel is available. - false: Channel isn't available. Data type: Boolean |
| presence.channels.name | Channel name, such as Chat or Phone. Data type: String |
| presence.channels.restrict\_update | Flag that indicates whether the user can restrict updates, that is, select the channel for availability.Possible values: - true: The user can select this channel for availability. - false: The user can't select this channel for availability. Data type: Boolean |
| presence.channels.service\_channel\_type | Service channel type, such as chat. Possible values vary depending on plugins installed.Data type: String |
| presence.channels.sys\_id | Channel sys\_id. Data type: String Table: Service Channels \[awa\_service\_channel\] |
| presence.name | Name of the agent's presence state. Possible values: - Available - Unavailable Data type: String |
| presence.restrict\_update | Flag that indicates whether the user can restrict updates. Possible values: - true: User can restrict updates. - false: User can't restrict updates. Data type: Boolean |
| presence.sys\_id | Presence state sys\_id. Data type: String Table: Presence States \[awa\_presence\_state\] |
| status | Status of an unsuccessful request. This property is only included in the response if there is an error.Valid value: `failure` Data type: String |
| sys\_id | Agent sys\_id. Data type: String |
| workItem | **workItem**: Information about the work item that is associated with the event. Data type: String |
| workItem.document | **workItem.document**: List of documents associated with the work item task.Data type: String |
| workItem.document.sys\_id | **workItem.document.sys\_id**: Sys\_id of the document assigned to the work item task.Data type: String |
| workItem.document.table | **workItem.document.table**: Name of the document table assigned to the task.Data type: String |
| workItem.previousWorkItem | **workItem.previousWorkItem**: Sys\_id of the previous work item for the same document ID. For the non-transfer work items this value is empty.Data type: String |
| workItem.serviceChannel | **workItem.serviceChannel**: List of service channels associated with the work item task.Data type: String |
| workItem.serviceChannel.name | **workItem.serviceChannel.name**: Name of the service channel, such as Chat or Phone.Data type: String |
| workItem.serviceChannel.sys\_id | **workItem.serviceChannel.sys\_id**: Sys\_id of the service channel.Data type: String |
| workItem.size | **workItem.size**: Agent's capacity used when this work item is assigned to the agent.Data type: String |
| workItem.sys\_id | **workItem.sys\_id**: Sys\_id of the work item that was accepted or offered.Data type: String |
| workItem.isQueueTransferred | **workItem.isQueueTransferred**: Flag that indicates whether the work item is queue transferred. Set to true if the work item is queue transferred, false if it isn't.Data type: Boolean |
| workitem.isAutoAccepted | **workItem.isAutoAccepted**: Flag that indicates whether the work item was automatically accepted by the system. Set to true if the work item was auto-accepted.Data type: Boolean |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| user\_id | Sys\_id of the agent listed.Data type: String Table: User \[sys\_user\] |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected. |
| 401 | Unauthorized. The user credentials are incorrect or have not been passed. |
| 403 | Forbidden.Possible reasons: - The user doesn't have the awa\_integration\_user role. - The value of the glide.awa.enabled property isn't `true`. This property is listed in the System Property \[sys\_property\] table if the Advanced Work Assignment \(com.glide.awa\) plugin is installed. For more information, see [Components installed with Advanced Work Assignment](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/conversational-interfaces/installed-with-awa.md). |
| 404 | Not found. The requested item wasn't found. |
| 500 | Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error. |
| Name | Description |
|---|---|
| channels | List of objects that describe the available channels of communication with the agent. ``` "channels": [ { "channel_sys_id": "String", "current_workload": Number, "max_capacity": Number } ] ``` Data type: Array |
| channels.channel\_sys\_id | Channel sys\_id. Data type: String Table: Service Channels \[awa\_service\_channel\] |
| channels.current\_workload | Number of work items on a specific service channel currently assigned to the agent.Data type: Number |
| channels.max\_capacity | Maximum workload on a specific service channel that the agent can be actively assigned to at a time. Data type: String |
| error | Details describing an error encountered during the request process.Data type: Object ``` "error": { "detail": "String", "message": "String" } ``` |
| error.detail | Details of the error encountered during the request process. Data type: String |
| error.message | Message for the error encountered during the request process. The description is provided in the **error.detail** property.Data type: String |
| status | Status of an unsuccessful request. This property is only included in the response if there is an error.Valid value: `failure` Data type: String |
| universal\_capacity | Maximum capacity for the agent across all service channels. If an agent's current workload equals the maximum universal capacity, additional work items won't be assigned to the agent. This property only returns if a universal capacity record exists for this agent. Data type: Number |
| universal\_workload | Number of work items across all service channels currently assigned to the specified agent.This property only returns if a universal capacity record exists for the agent. Data type: Number |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| user\_id | Sys\_id of the agent listed.Data type: String Table: User \[sys\_user\] |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected. |
| 401 | Unauthorized. The user credentials are incorrect or have not been passed. |
| 403 | Forbidden.Possible reasons: - The user doesn't have the awa\_integration\_user role. - The value of the glide.awa.enabled property isn't `true`. This property is listed in the System Property \[sys\_property\] table if the Advanced Work Assignment \(com.glide.awa\) plugin is installed. For more information, see [Components installed with Advanced Work Assignment](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/conversational-interfaces/installed-with-awa.md). |
| 404 | Not found. The requested item wasn't found. |
| 500 | Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error. |
| Name | Description |
|---|---|
| error | Details describing an error encountered during the request process.Data type: Object ``` "error": { "detail": "String", "message": "String" } ``` |
| error.detail | Details of the error encountered during the request process. Data type: String |
| error.message | Message for the error encountered during the request process. The description is provided in the **error.detail** property.Data type: String |
| <presence state> | List of the agent's presence state definitions as objects. Each object describes the state and includes the agent's channels.Data type: Array ``` { "available": Boolean, "channels": [Array], "disable_inactivity_check": Boolean, "name": "String", "show_channels": Boolean, "sys_id": "String" } ``` |
| <presence state>.available | Flag that indicates whether the agent is available. Possible values: - true: Agent is available. - false: Agent isn't available. Data type: Boolean |
| <presence state>.channels | List of objects that describe the available channels of communication with the agent. Data type: Array ``` "channels": [ { "available": Boolean, "name": "String", "restrict_update": Boolean, "service_channel_type": "String", "sys_id": "String" } ] ``` |
| <presence state>.channels.available | Flag that indicates whether the channel is available. Possible values: - true: Channel is available. - false: Channel isn't available. Data type: Boolean |
| <presence state>.channels.name | Channel name, such as Chat or Phone. Data type: String |
| <presence state>.channels.sys\_id | Channel sys\_id. Data type: String Table: Service Channels \[awa\_service\_channel\] |
| <presence state>.disable\_inactivity\_check | Flag that indicates whether to check for inactivity of this presence state.Valid values: - true: The presence state inactivity check is disabled. - false: The presence state inactivity check is enabled. Data type: Boolean Default: false For information on how to modify this setting, see [Configure agent presence states](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/conversational-interfaces/awa-configure-agent-presence.md). |
| <presence state>.name | Name of the agent's presence state. The presence states installed by default are `Available`, `Away`, and `Offline`.Data type: String |
| <presence state>.order | Order in which this state is displayed in the agent inbox.Data type: Number |
| <presence state>.show\_channels | Flag that indicates whether the agent has permission to change presence state, for example, from available to away.Valid values: - true: The user has permission to change the presence. - false: The user is restricted from changing the presence. Data type: Boolean |
| <presence state>.sys\_id | Presence state sys\_id. Data type: String Table: Presence States \[awa\_presence\_state\] |
| status | Status of an unsuccessful request. This property is only included in the response if there is an error.Valid value: `failure` Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| user\_id | Sys\_id of the agent.Data type: String Table: User \[sys\_user\] |
| Name | Description |
|---|---|
| presence.channels | List of objects that define which channels are available for the agent.Data type: Array of Objects ``` "channels": [ { "available": Boolean, "sys_id": "String" } ] ``` |
| presence.channels.available | Flag that indicates whether the channel is available. Possible values: - true: Channel is available. - false: Channel isn't available. **Note:** This setting must be specified to include channels in the response body. Data type: Boolean Default: false |
| presence.channels.sys\_id | Channel sys\_id. Data type: String Table: Service Channels \[awa\_service\_channel\] |
| presence.sys\_id | Presence state sys\_id. Data type: String Table: Presence States \[awa\_presence\_state\] |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Content-Type | Data format of the request body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected. |
| 401 | Unauthorized. The user credentials are incorrect or have not been passed. |
| 403 | Forbidden.Possible reasons: - The user doesn't have the awa\_integration\_user role. - The value of the glide.awa.enabled property isn't `true`. This property is listed in the System Property \[sys\_property\] table if the Advanced Work Assignment \(com.glide.awa\) plugin is installed. For more information, see [Components installed with Advanced Work Assignment](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/conversational-interfaces/installed-with-awa.md). |
| 404 | Not found. The requested item wasn't found. |
| 500 | Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error. |
| Parameter | Description |
|---|---|
| error | Details describing an error encountered during the request process.Data type: Object ``` "error": { "detail": "String", "message": "String" } ``` |
| error.detail | Details of the error encountered during the request process. Data type: String |
| error.message | Message for the error encountered during the request process. Each error message has a corresponding description in the **detail** property.Possible values: - `Record Not Found`: Information provided in the request body is inaccurate or doesn't exist. - `User Not Authenticated`: User doesn't have the awa\_integration\_user role. Data type: String |
| presence | Information about an agent's current presence state and channel. Data type: Object ``` "presence": { "available": Boolean, "channels": [Array], "name": "String", "sys_id": "String" } ``` |
| presence.available | Flag that indicates whether the agent is available. Possible values: - true: Agent is available. - false: Agent isn't available. Data type: Boolean |
| presence.channels | List of objects that describe the available channels of communication with the agent. Data type: Array of Objects ``` "channels": [ { "available": Boolean, "name": "String", "sys_id": "String" } ] ``` |
| presence.channels.available | Flag that indicates whether the channel is available. Possible values: - true: Channel is available. - false: Channel isn't available. Data type: Boolean |
| presence.channels.name | Channel name, such as Chat or Phone. Data type: String |
| presence.channels.restrict\_update | Flag that indicates whether the user can restrict updates, that is, select the channel for availability.Possible values: - true: The user can select this channel for availability. - false: The user can't select this channel for availability. Data type: Boolean |
| presence.channels.service\_channel\_type | Service channel type, such as chat. Possible values vary depending on plugins installed.Data type: String |
| presence.channels.sys\_id | Channel sys\_id. Data type: String Table: Service Channels \[awa\_service\_channel\] |
| presence.name | Name of the agent's presence state. Possible values: - Available - Unavailable Data type: String |
| presence.restrict\_update | Flag that indicates whether the user can restrict updates. Possible values: - true: User can restrict updates. - false: User can't restrict updates. Data type: Boolean |
| presence.sys\_id | Presence state sys\_id. Data type: String Table: Presence States \[awa\_presence\_state\] |
| status | Status of an unsuccessful request. This property is only included in the response if there is an error.Valid value: `failure` Data type: String |
| sys\_id | Agent sys\_id. Data type: String |
| workItem | **workItem**: Information about the work item that is associated with the event. Data type: String |
| workItem.document | **workItem.document**: List of documents associated with the work item task.Data type: String |
| workItem.document.sys\_id | **workItem.document.sys\_id**: Sys\_id of the document assigned to the work item task.Data type: String |
| workItem.document.table | **workItem.document.table**: Name of the document table assigned to the task.Data type: String |
| workItem.previousWorkItem | **workItem.previousWorkItem**: Sys\_id of the previous work item for the same document ID. For the non-transfer work items this value is empty.Data type: String |
| workItem.serviceChannel | **workItem.serviceChannel**: List of service channels associated with the work item task.Data type: String |
| workItem.serviceChannel.name | **workItem.serviceChannel.name**: Name of the service channel, such as Chat or Phone.Data type: String |
| workItem.serviceChannel.sys\_id | **workItem.serviceChannel.sys\_id**: Sys\_id of the service channel.Data type: String |
| workItem.size | **workItem.size**: Agent's capacity used when this work item is assigned to the agent.Data type: String |
| workItem.sys\_id | **workItem.sys\_id**: Sys\_id of the work item that was accepted or offered.Data type: String |
| workItem.isQueueTransferred | **workItem.isQueueTransferred**: Flag that indicates whether the work item is queue transferred. Set to true if the work item is queue transferred, false if it isn't.Data type: Boolean |
| workitem.isAutoAccepted | **workItem.isAutoAccepted**: Flag that indicates whether the work item was automatically accepted by the system. Set to true if the work item was auto-accepted.Data type: Boolean |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| user\_id | Sys\_id of the agent listed.Data type: String Table: User \[sys\_user\] |
| Name | Description |
|---|---|
| channels |
Mandatory if updating the maximum value of one or more channels for the specified agent. JSON object containing one or more key-value pairs mapping the channel to its maximum capacity for each channel assigned to the agent.Data type: Object
The pair is in the following format:
- Key \(channel sys\_id\) – Channel sys\_id.
Data type: String
- Value \(maximum capacity\) – Maximum workload on a specific service channel that the agent can be actively assigned to at a time.
Data type: Number
```
channels: {" |
| universal\_capacity | Mandatory if universal capacity is being updated. Maximum capacity for the agent across all service channels. If an agent's current workload equals the maximum universal capacity, additional work items won't be assigned to the agent. Data type: Number |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Name | Description |
|---|---|
| channels | List of objects that describe the available channels of communication with the agent. ``` "channels": [ { "channel_sys_id": "String", "max_capacity": Number } ] ``` Data type: Array |
| channels.channel\_sys\_id | Channel sys\_id. Data type: String Table: Service Channels \[awa\_service\_channel\] |
| channels.max\_capacity | Maximum workload on a specific service channel that the agent can be actively assigned to at a time. Data type: String |
| error | Details describing an error encountered during the request process.Data type: Object ``` "error": { "detail": "String", "message": "String" } ``` |
| error.detail | Details of the error encountered during the request process. Data type: String |
| error.message | Message for the error encountered during the request process. The description is provided in the **error.detail** property.Data type: String |
| status | Status of an unsuccessful request. This property is only included in the response if there is an error.Valid value: `failure` Data type: String |
| universal\_capacity | Maximum capacity for the agent across all service channels. If an agent's current workload equals the maximum universal capacity, additional work items won't be assigned to the agent. This property only returns if a universal capacity record exists for this agent. Data type: Number |