Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

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.

Parent Topic:REST API reference

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. For scripted REST APIs there is additional version information on the Scripted REST Service form.

Supported request parameters

NameDescription
api\_versionOptional. 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]

NameDescription
None 
HeaderDescription
presence.channels.availableFlag that indicates whether the channel is available. Possible values: - true: Channel is available. - false: Channel isn't available. Data type: Boolean
presence.channels.sys\_idChannel sys\_id. Data type: String Table: Service Channels \[awa\_service\_channel\]
presence.sys\_idPresence state sys\_id. Data type: String Table: Presence States \[awa\_presence\_state\]

Headers

The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.

HeaderDescription
AcceptData format of the response body. Supported types: application/json or application/xml. Default: application/json
Content-TypeData format of the request body. Supported types: application/json or application/xml. Default: application/json
HeaderDescription
None 

Status codes

The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.

Status codeDescription
200Successful. The request was successfully processed.
400Bad Request. A bad request type or malformed request was detected.
401Unauthorized. The user credentials are incorrect or have not been passed.
403Forbidden.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.
404Not found. The requested item wasn't found.
500Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.

Response body parameters (JSON or XML)

ParameterDescription
errorDetails describing an error encountered during the request process.Data type: Object
"error": {
  "detail": "String",
  "message": "String"
}
error.detailDetails 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

presenceInformation about an agent's current presence state and channel. Data type: Object
"presence": {
  "available": Boolean,
  "channels": [Array],
  "name": "String",
  "sys_id": "String"
}
presence.availableFlag that indicates whether the agent is available. Possible values: - true: Agent is available. - false: Agent isn't available. Data type: Boolean
presence.channelsList 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.availableFlag that indicates whether the channel is available. Possible values: - true: Channel is available. - false: Channel isn't available. Data type: Boolean
presence.channels.nameChannel name, such as Chat or Phone. Data type: String
presence.channels.restrict\_updateFlag 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\_typeService channel type, such as chat. Possible values vary depending on plugins installed.Data type: String
presence.channels.sys\_idChannel sys\_id. Data type: String Table: Service Channels \[awa\_service\_channel\]
presence.nameName of the agent's presence state. Possible values: - Available - Unavailable Data type: String
presence.restrict\_updateFlag 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\_idPresence state sys\_id. Data type: String Table: Presence States \[awa\_presence\_state\]
statusStatus of an unsuccessful request. This property is only included in the response if there is an error.Valid value: `failure` Data type: String
sys\_idAgent sys\_id. Data type: String
workItem

workItem: Information about the work item that is associated with the event.

Data type: String

workItem.documentworkItem.document: List of documents associated with the work item task.Data type: String
workItem.document.sys\_idworkItem.document.sys_id: Sys_id of the document assigned to the work item task.Data type: String
workItem.document.tableworkItem.document.table: Name of the document table assigned to the task.Data type: String
workItem.previousWorkItemworkItem.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.serviceChannelworkItem.serviceChannel: List of service channels associated with the work item task.Data type: String
workItem.serviceChannel.nameworkItem.serviceChannel.name: Name of the service channel, such as Chat or Phone.Data type: String
workItem.serviceChannel.sys\_idworkItem.serviceChannel.sys_id: Sys_id of the service channel.Data type: String
workItem.sizeworkItem.size: Agent's capacity used when this work item is assigned to the agent.Data type: String
workItem.sys\_idworkItem.sys_id: Sys_id of the work item that was accepted or offered.Data type: String
workItem.isQueueTransferredworkItem.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.isAutoAcceptedworkItem.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

Sample cURL request

curl -X GET \
https://instance.servicenow.com/api/now/awa/agents/46d44a23a9fe19810012d100cca80666 \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-u 'username':'password'\
{
  "result": {
    "presence": {
      "name": "Available",
      "sys_id": "0b10223c57a313005baaaa65ef94f970",
      "available": true,
      "channels": [
        {
          "name": "Chat",
          "available": true,
          "sys_id": "27f675e3739713004a905ee515f6a7c3"
        }
      ]
    },
    "sys_id": "46d44a23a9fe19810012d100cca80666"
  }
}

AWA Agent - GET /now/awa/agents/{user_id}/capacities

Returns an agent's channel capacities, universal capacity, and the current workload to see if the agent can handle a case.

Use the AWA Agent - PUT /now/awa/agents/{user_id}/capacities method to modify the channel and universal capacities of an agent.

See also:

URL format

Versioned URL: /api/now/{api_version}/awa/agents/{user_id}/capacities

Default URL: /api/now/awa/agents/{user_id}/capacities

Note: Available versions are specified in the REST API Explorer. For scripted REST APIs there is additional version information on the Scripted REST Service form.

Supported request parameters

NameDescription
api\_versionOptional. 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\_idSys\_id of the agent listed.Data type: String Table: User \[sys\_user\]
NameDescription
None 
NameDescription
None

Headers

The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.

HeaderDescription
AcceptData format of the response body. Supported types: application/json or application/xml. Default: application/json
HeaderDescription
None 

Status codes

The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.

Status codeDescription
200Successful. The request was successfully processed.
400Bad Request. A bad request type or malformed request was detected.
401Unauthorized. The user credentials are incorrect or have not been passed.
403Forbidden.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.
404Not found. The requested item wasn't found.
500Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.

Response body parameters (JSON or XML)

NameDescription
channelsList 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\_idChannel sys\_id. Data type: String Table: Service Channels \[awa\_service\_channel\]
channels.current\_workloadNumber of work items on a specific service channel currently assigned to the agent.Data type: Number
channels.max\_capacityMaximum workload on a specific service channel that the agent can be actively assigned to at a time. Data type: String
errorDetails describing an error encountered during the request process.Data type: Object
"error": {
  "detail": "String",
  "message": "String"
}
error.detailDetails of the error encountered during the request process. Data type: String
error.messageMessage for the error encountered during the request process. The description is provided in the error.detail property.Data type: String
statusStatus of an unsuccessful request. This property is only included in the response if there is an error.Valid value: `failure` Data type: String
universal\_capacityMaximum 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\_workloadNumber 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

Sample cURL request

The following example shows how to get the capacity and workload values for a user.

curl "https://instance.service-now.com/api/now/awa/agents/46d44a23a9fe19810012d100cca80666/capacities" \
--request GET \
--header "Accept:application/json" \
--user 'username':'password'

A successful response includes capacity values and workload for each channel.

{
  "result": {
    "universal_workload": 2,
    "channels": [
      {
        "channel_sys_id": "27f675e3739713004a905ee515f6a7c3",
        "current_workload": 2,
        "max_capacity": 4
      }
    ],
    "universal_capacity": 10
  }
}

AWA Agent - GET /now/awa/agents/{user_id}/presence_states

Returns an agent's presence states and indicates whether the agent is available or in another presence state.

URL format

Versioned URL: /api/now/{api_version}/awa/agents/{user_id}/presence_states

Default URL: /api/now/awa/agents/{user_id}/presence_states

Note: Available versions are specified in the REST API Explorer. For scripted REST APIs there is additional version information on the Scripted REST Service form.

Supported request parameters

NameDescription
api\_versionOptional. 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\_idSys\_id of the agent listed.Data type: String Table: User \[sys\_user\]
NameDescription
None 
NameDescription
None

Headers

The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.

HeaderDescription
AcceptData format of the response body. Supported types: application/json or application/xml. Default: application/json
HeaderDescription
None 

Status codes

The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.

Status codeDescription
200Successful. The request was successfully processed.
400Bad Request. A bad request type or malformed request was detected.
401Unauthorized. The user credentials are incorrect or have not been passed.
403Forbidden.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.
404Not found. The requested item wasn't found.
500Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.

Response body parameters (JSON or XML)

NameDescription
errorDetails describing an error encountered during the request process.Data type: Object
"error": {
  "detail": "String",
  "message": "String"
}
error.detailDetails of the error encountered during the request process. Data type: String
error.messageMessage 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" }
</td></tr><tr><td>

&lt;presence state&gt;.available

</td><td>

Flag that indicates whether the agent is available. Possible values:

-   true: Agent is available.
-   false: Agent isn't available.

Data type: Boolean

</td></tr><tr><td>

&lt;presence state&gt;.channels

</td><td>

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.availableFlag that indicates whether the channel is available. Possible values: - true: Channel is available. - false: Channel isn't available. Data type: Boolean
<presence state>.channels.nameChannel name, such as Chat or Phone. Data type: String
<presence state>.channels.sys\_idChannel sys\_id. Data type: String Table: Service Channels \[awa\_service\_channel\]
<presence state>.disable\_inactivity\_checkFlag 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.
<presence state>.nameName of the agent's presence state. The presence states installed by default are `Available`, `Away`, and `Offline`.Data type: String
<presence state>.orderOrder in which this state is displayed in the agent inbox.Data type: Number
<presence state>.show\_channelsFlag 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\_idPresence state sys\_id. Data type: String Table: Presence States \[awa\_presence\_state\]
statusStatus of an unsuccessful request. This property is only included in the response if there is an error.Valid value: `failure` Data type: String

Sample cURL request

The following example shows how to get the presence states for a specified agent.

curl "https://instance.service-now.com/api/now/awa/agents/46d44a23a9fe19810012d100cca80666/presence_states" \
--request GET \
--header "Accept:application/json" \
--user 'username':'password'

The response body lists the agent's possible presence states and indicates that the agent is available.

{
  "result": [
    {
      "name": "Available",
      "order": 0,
      "show_channels": false,
      "sys_id": "0b10223c57a313005baaaa65ef94f970",
      "available": true,
      "channels": [
        {
          "name": "Chat",
          "available": true,
          "sys_id": "27f675e3739713004a905ee515f6a7c3",
          "restrict_update": false,
          "service_channel_type": "chat"
        }
      ],
      "disable_inactivity_check": false
    },
    {
      "name": "Away",
      "order": 1000,
      "show_channels": false,
      "sys_id": "41f9b8dfb31313005baa6e5f26a8dcac",
      "available": false,
      "channels": [],
      "disable_inactivity_check": false
    },
    {
      "name": "Offline",
      "order": 2000,
      "show_channels": false,
      "sys_id": "9cd83267575313005baaaa65ef94f98b",
      "available": false,
      "channels": [],
      "disable_inactivity_check": false
    }
  ]
}

AWA Agent - PUT /now/awa/agents/{user_id}

Sets the state of a specified agent’s presence and, if provided, sets the agent’s channel availability for that state.

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. For scripted REST APIs there is additional version information on the Scripted REST Service form.

Supported request parameters

NameDescription
api\_versionOptional. 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\_idSys\_id of the agent.Data type: String Table: User \[sys\_user\]
NameDescription
None 
NameDescription
presence.channelsList 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\_idChannel sys\_id. Data type: String Table: Service Channels \[awa\_service\_channel\]
presence.sys\_idPresence state sys\_id. Data type: String Table: Presence States \[awa\_presence\_state\]

Headers

The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.

HeaderDescription
AcceptData format of the response body. Supported types: application/json or application/xml. Default: application/json
Content-TypeData format of the request body. Supported types: application/json or application/xml. Default: application/json
HeaderDescription
None 

Status codes

The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.

Status codeDescription
200Successful. The request was successfully processed.
400Bad Request. A bad request type or malformed request was detected.
401Unauthorized. The user credentials are incorrect or have not been passed.
403Forbidden.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.
404Not found. The requested item wasn't found.
500Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
ParameterDescription
errorDetails describing an error encountered during the request process.Data type: Object
"error": {
  "detail": "String",
  "message": "String"
}
error.detailDetails 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

presenceInformation about an agent's current presence state and channel. Data type: Object
"presence": {
  "available": Boolean,
  "channels": [Array],
  "name": "String",
  "sys_id": "String"
}
presence.availableFlag that indicates whether the agent is available. Possible values: - true: Agent is available. - false: Agent isn't available. Data type: Boolean
presence.channelsList 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.availableFlag that indicates whether the channel is available. Possible values: - true: Channel is available. - false: Channel isn't available. Data type: Boolean
presence.channels.nameChannel name, such as Chat or Phone. Data type: String
presence.channels.restrict\_updateFlag 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\_typeService channel type, such as chat. Possible values vary depending on plugins installed.Data type: String
presence.channels.sys\_idChannel sys\_id. Data type: String Table: Service Channels \[awa\_service\_channel\]
presence.nameName of the agent's presence state. Possible values: - Available - Unavailable Data type: String
presence.restrict\_updateFlag 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\_idPresence state sys\_id. Data type: String Table: Presence States \[awa\_presence\_state\]
statusStatus of an unsuccessful request. This property is only included in the response if there is an error.Valid value: `failure` Data type: String
sys\_idAgent sys\_id. Data type: String
workItem

workItem: Information about the work item that is associated with the event.

Data type: String

workItem.documentworkItem.document: List of documents associated with the work item task.Data type: String
workItem.document.sys\_idworkItem.document.sys_id: Sys_id of the document assigned to the work item task.Data type: String
workItem.document.tableworkItem.document.table: Name of the document table assigned to the task.Data type: String
workItem.previousWorkItemworkItem.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.serviceChannelworkItem.serviceChannel: List of service channels associated with the work item task.Data type: String
workItem.serviceChannel.nameworkItem.serviceChannel.name: Name of the service channel, such as Chat or Phone.Data type: String
workItem.serviceChannel.sys\_idworkItem.serviceChannel.sys_id: Sys_id of the service channel.Data type: String
workItem.sizeworkItem.size: Agent's capacity used when this work item is assigned to the agent.Data type: String
workItem.sys\_idworkItem.sys_id: Sys_id of the work item that was accepted or offered.Data type: String
workItem.isQueueTransferredworkItem.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.isAutoAcceptedworkItem.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
curl -X PUT \
 https://instance.servicenow.com/api/now/awa/agents/46d44a23a9fe19810012d100cca80666 \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-u 'username':'password'\
-d '{"presence": {\
  "sys_id": "0b10223c57a313005baaaa65ef94f970",\
  "channels": [{ \
  "sys_id": "0bbdedbb3b892300a2bac9bb34efc445",\
  "available": true
}] 
}}
{
  "result": {
    "presence": {
      "name": "Available",
      "sys_id": "0b10223c57a313005baaaa65ef94f970",
      "available": true,
      "channels": [
        {
          "name": "Chat",
          "available": true,
          "sys_id": "27f675e3739713004a905ee515f6a7c3"
        }
      ]
    },
    "sys_id": "46d44a23a9fe19810012d100cca80666"
  }
}

AWA Agent - PUT /now/awa/agents/{user_id}/capacities

Enables updating an agent's maximum capacity (workload) for channel capacities and universal capacity.

Use the AWA Agent - GET /now/awa/agents/{user_id}/capacities method to retrieve the current channel and universal capacities of an agent.

See also:

URL format

Versioned URL: /api/now/{api_version}/awa/agents/{user_id}/capacities

Default URL: /api/now/awa/agents/{user_id}/capacities

Note: Available versions are specified in the REST API Explorer. For scripted REST APIs there is additional version information on the Scripted REST Service form.

Supported request parameters

NameDescription
api\_versionOptional. 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\_idSys\_id of the agent listed.Data type: String Table: User \[sys\_user\]
NameDescription
None 
NameDescription
channelsMandatory 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: {"": }
</td></tr><tr><td>

universal\_capacity

</td><td>

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

</td></tr></tbody>
</table>

### Headers

The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see [Supported REST API headers](../rest-api-explorer/c_RESTAPI.md).

<table class="rest_api_request_headers"><thead><tr><th>

Header

</th><th>

Description

</th></tr></thead><tbody><tr><td>

Accept

</td><td id="accept-entry-RESTAPI">Data format of the response body. Supported types: <strong>application/json</strong> or <strong>application/xml</strong>. Default: <strong>application/json</strong></td></tr></tbody>
</table>

|Header|Description|
|------|-----------|
|None| |

### Status codes

The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see [REST API HTTP response codes](../rest-api-explorer/c_RESTAPI.md).

|Status code|Description|
|-----------|-----------|
|200|Successful. The request was successfully processed.|
|400|Bad Request. A bad request type or malformed request was detected.|
|404|Not found. The requested item wasn't found.|

### Response body parameters \(JSON or XML\)

<table id="table_bgk_dmp_htb"><thead><tr><th>

Name

</th><th>

Description

</th></tr></thead><tbody><tr><td>

channels

</td><td>

List of objects that describe the available channels of communication with the agent.
"channels": [ { "channel_sys_id": "String", "max_capacity": Number } ]
 Data type: Array

</td></tr><tr><td>

channels.channel\_sys\_id

</td><td>

Channel sys\_id. Data type: String

Table: Service Channels \[awa\_service\_channel\]

</td></tr><tr><td>

channels.max\_capacity

</td><td>

Maximum workload on a specific service channel that the agent can be actively assigned to at a time. Data type: String

</td></tr><tr id="ordr-row-error"><td>

error

</td><td>

Details describing an error encountered during the request process.Data type: Object
"error": { "detail": "String", "message": "String" }
</td></tr><tr><td>

error.detail

</td><td>

Details of the error encountered during the request process. Data type: String

</td></tr><tr><td>

error.message

</td><td>Message for the error encountered during the request process. The description is provided in the <strong>error.detail</strong> property.Data type: String</td></tr><tr><td>

status

</td><td>

Status of an unsuccessful request. This property is only included in the response if there is an error.Valid value: `failure`

Data type: String

</td></tr><tr><td>

universal\_capacity

</td><td>

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

</td></tr></tbody>
</table>

### Sample cURL request

The following example shows how to change the agent's universal capacity and the maximum capacity for a specified channel.
curl "https://instance.service-now.com/api/now/awa/agents/46d44a23a9fe19810012d100cca80666/capacities" \ --request PUT \ --header "Accept:application/json" \ --header "Content-Type:application/json" \ --data "{ \"channels\": { \"27f675e3739713004a905ee515f6a7c3\": 6 }, \"universal_capacity\" : 12 }" \ --user 'username':'password'
A successful response includes the updated capacity values.
{ "result": { "channels": [ { "channel_sys_id": "27f675e3739713004a905ee515f6a7c3", "max_capacity": 6 } ], "universal_capacity": 12 } } ```

sndocs is an independent community mirror and is not affiliated with or endorsed by ServiceNow.

ServiceNow, the ServiceNow logo, Now, and other ServiceNow marks are trademarks and/or registered trademarks of ServiceNow, Inc., in the United States and/or other countries. Other company and product names may be trademarks of the respective companies with which they are associated.

© 2026 ServiceNow, Inc. All rights reserved.

Documentation content is redistributed under the Apache License 2.0 from the ServiceNowDocs repository.