--- title: Account API description: The Account API provides endpoints to retrieve Customer Service Management \(CSM\) account records.Retrieves a specified set of Customer Service Management \(CSM\) accounts.Retrieves the specified Customer Service Management \(CSM\) account. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/rest-apis/account-api.html release: australia product: REST APIs classification: rest-apis topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 14 breadcrumb: [REST API reference, API reference, API implementation and reference] --- # Account API The Account API provides endpoints to retrieve Customer Service Management \(CSM\) account records. This API requires the Customer Service plugin \(com.sn\_customerservice\) and is provided within the `now` namespace. Users require the csm\_ws\_integration role for full API access. **Parent Topic:**[REST API reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/api-rest.md) ## Account - GET /now/account Retrieves a specified set of Customer Service Management \(CSM\) accounts. ### URL format Versioned URL: `/api/now/{api_version}/account` Default URL: `/api/now/account` ### 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 |
| Name | Description |
|---|---|
| sysparm\_limit | Maximum number of records to return. For requests that exceed this number of records, use the **sysparm\_offset** parameter to paginate record retrieval. In the response, the boolean parameter **hasMore** is returned. It indicates whether there are more records to return that meet the filter criteria. Data type: Number Default: 10 |
| sysparm\_offset | Starting record index for which to begin retrieving records. Use this value to paginate record retrieval. This functionality enables the retrieval of all records, regardless of the number of records, in small manageable chunks. For example, the first time you call this endpoint, **sysparm\_offset** is set to "0". To simply page through all available records, use `sysparm_offset=sysparm_offset+sysparm_limit`, until you reach the end of all records. Do not pass a negative number in the **sysparm\_offset** parameter. Data type: Number Default: 0 |
| sysparm\_query | Encoded query used to filter the result set.For example: `sysparm_query=caller_id=javascript:gs.getUserID()^active=true` The encoded query supports order by. To sort responses based on certain fields, use the ORDERBY and ORDERBYDESC clauses in **sysparm\_query**. For example, `sysparm_query=active=true^ORDERBYnumber^ORDERBYDESCcategory` filters all active records and orders the results in ascending order by number first, and then in descending order by category. If part of the query is invalid, such as by specifying an invalid field name, the instance ignores the invalid part. It then returns rows using only the valid portion of the query. You can control this behavior using the property **glide.invalid\_query.returns\_no\_rows**. Set this property to true to return no rows on an invalid query. **Note:** The **glide.invalid\_query.returns\_no\_rows** property controls the behavior of all queries across the instance, such as in lists, scripts \(GlideRecord.query\(\)\), and web service APIs. Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/xml**. Default: **application/json** |
| Parameter | Description |
|---|---|
| account\_code | Unique combination of values that an application uses to identify budget forecasts and budget plans.Data type: String Maximum length: 255 |
| account\_parent | Sys\_id of the parent account of this account. Located in the Account \[customer\_account\] table.Data type: String |
| account\_path | Path from the parent to the child accounts in the account hierarchy.Data type: String Maximum length: 255 |
| active\_escalation | Sys\_id of the active escalation associated with the account.Data type: String Table: Escalation \[sn\_customerservice\_escalation\] |
| apple\_icon | Icon for iPhone home page bookmarks.Data type: Image |
| banner\_image | Banner image that appears on the customer portal.Data type: Image |
| banner\_image\_light | Small banner image.Data type: Image |
| banner\_text | Banner text that appears on the customer portal.Data type: String Maximum length: 4,000 |
| city | City in which the company that is associated with this account resides.Data type: String Maximum length: 50 |
| contact | Sys\_id of a contact record associated with this account.Data type: String Table: User \[sys\_user\] |
| country | Country in which the company that is associated with this account resides.Data type: String Maximum length: 40 Default: USA |
| customer | Flag that indicates whether the account is a customer account, as opposed to a partner account.Possible values: - true: Customer account - false: Partner account Data type: Boolean Default: false |
| discount | Discount given to the account on purchases.Data type: Number Maximum length: 15 |
| fax\_phone | Primary fax phone number for the company associated with this account.Data type: String Maximum length: 40 |
| fiscal\_year | Fiscal year for the company associated with the account.Data type: String |
| lat\_long\_error | Difference in the actual location as compared to latitude and longitude information.Data type: String Maximum length: 1,000 |
| latitude | Latitude of the company associated with this account.Data type: Number \(floating point number\) Maximum length: 40 |
| longitude | Longitude of the company associated with this account.Data type: Number \(floating point number\) Maximum length: 40 |
| manufacturer | Flag that indicates whether the company associated with this account manufactures goods.Possible values: - true: Manufactures goods - false: Does not manufacture goods Data type: Boolean Default: false |
| market\_cap | Market value of the associated company's publicly traded stock shares.Data type: Number \(currency\) Maximum length: 20 |
| name | Name of the company associated with this account.Data type: String Maximum length: 80 |
| notes | Additional information about the company.Data type: String Maximum length: 4,000 |
| num\_employees | Number of people employed by the company.Data type: Number \(Integer\) Maximum length: 40 |
| number | Number that identifies this account.Data type: String Maximum length: 40 |
| parent | Sys\_id of the parent account of this account.Data type: String Table: Company \[core\_company\] |
| partner | Flag that indicates whether the account is a partner account or a customer account.Possible values: - true: Partner account - false: Customer account Data type: Boolean Default: false |
| phone | Primary phone number for the company.Data type: String |
| primary | Flag that indicates whether this is a primary account.Possible values: - true: Primary account - false: Secondary account Data type: Boolean Default: false |
| primary\_contact | Sys\_id of the primary contact for the account.Data type: String Table: Contact \[customer\_contact\] |
| profits | Profit information entered for this account.Data type: Number \(Currency\) Maximum length: 40 |
| publicly\_traded | Flag that indicates whether the company associated with this account is publicly traded on the stock exchange.Possible values: - true: Publicly traded - false: Private company Data type: Boolean |
| rank\_tier | Type of account.Possible values: - blacklist - other - strategic - tactical - valued Data type: String Maximum length: 40 |
| registration\_code | Unique code that customers use when requesting a login on the customer portal. This code provides a method for validating the customer on the company before granting access.Data type: String Maximum length: 40 |
| revenue\_per\_year | Revenue produced by the company associated with this account.Data type: Number \(Currency\) Maximum length: 20 |
| state | State in which the company resides.Data type: String Maximum length: 40 |
| stock\_price | Price of the company stock.Data type: String Maximum length: 40 |
| stock\_symbol | Stock symbol of the company.Data type: String Maximum length: 40 |
| street | Street address of the company.Data type: String Maximum length: 255 |
| sys\_class\_name | Table that contains the associated account record.Data type: String |
| sys\_created\_by | User that originally created the account.Data type: String Maximum length: 40 |
| sys\_created\_on | Date and time that the account was originally created.Data type: String |
| sys\_id | Sys\_id for the account record.Data type: String |
| sys\_mod\_count | Number of times the account information has been updated.Data type: Number \(Integer\) |
| sys\_updated\_by | User that last modified the account information.Data type: String Maximum length: 40 |
| sys\_updated\_on | Date and time the account information was last updated.Data type: String |
| theme | Sys\_id of the customer portal theme used by this account.Data type: String Table: Theme \[sys\_ui\_theme\] |
| vendor | Flag that indicates whether the company associated with this account is a vendor.Possible values: - true: Vendor - false: Not a vendor Data type: Boolean Default: false |
| vendor\_manager | List of sys\_ids of the vendor managers for the account.Data type: String Table: User \[sys\_user\] |
| vendor\_type | List of sys\_ids of the type of vendor such as, applications, hardware, services, or software.Data type: String Table: Vendor Type \[vendor\_type\] |
| website | URL of the website for the company.Data type: String Maximum length: 1,024 |
| zip | Zip code of the company.Data type: String Maximum length: 40 |
| 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 |
| id | Sys\_id of the account to retrieve. Located in the Customer \[customer\_account\] table.Data type: String |
| 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. |
| 404 | Indicates that the request is invalid.i89Possible cause: - Requested case doesn’t exist. - User doesn’t have access to the account record. |
| Parameter | Description |
|---|---|
| account\_code | Unique combination of values that an application uses to identify budget forecasts and budget plans.Data type: String Maximum length: 255 |
| account\_parent | Sys\_id of the parent account of this account. Located in the Account \[customer\_account\] table.Data type: String |
| account\_path | Path from the parent to the child accounts in the account hierarchy.Data type: String Maximum length: 255 |
| active\_escalation | Sys\_id of the active escalation associated with the account.Data type: String Table: Escalation \[sn\_customerservice\_escalation\] |
| apple\_icon | Icon for iPhone home page bookmarks.Data type: Image |
| banner\_image | Banner image that appears on the customer portal.Data type: Image |
| banner\_image\_light | Small banner image.Data type: Image |
| banner\_text | Banner text that appears on the customer portal.Data type: String Maximum length: 4,000 |
| city | City in which the company that is associated with this account resides.Data type: String Maximum length: 50 |
| contact | Sys\_id of a contact record associated with this account.Data type: String Table: User \[sys\_user\] |
| country | Country in which the company that is associated with this account resides.Data type: String Maximum length: 40 Default: USA |
| customer | Flag that indicates whether the account is a customer account, as opposed to a partner account.Possible values: - true: Customer account - false: Partner account Data type: Boolean Default: false |
| discount | Discount given to the account on purchases.Data type: Number Maximum length: 15 |
| fax\_phone | Primary fax phone number for the company associated with this account.Data type: String Maximum length: 40 |
| fiscal\_year | Fiscal year for the company associated with the account.Data type: String |
| lat\_long\_error | Difference in the actual location as compared to latitude and longitude information.Data type: String Maximum length: 1,000 |
| latitude | Latitude of the company associated with this account.Data type: Number \(floating point number\) Maximum length: 40 |
| longitude | Longitude of the company associated with this account.Data type: Number \(floating point number\) Maximum length: 40 |
| manufacturer | Flag that indicates whether the company associated with this account manufactures goods.Possible values: - true: Manufactures goods - false: Does not manufacture goods Data type: Boolean Default: false |
| market\_cap | Market value of the associated company's publicly traded stock shares.Data type: Number \(currency\) Maximum length: 20 |
| name | Name of the company associated with this account.Data type: String Maximum length: 80 |
| notes | Additional information about the company.Data type: String Maximum length: 4,000 |
| num\_employees | Number of people employed by the company.Data type: Number \(Integer\) Maximum length: 40 |
| number | Number that identifies this account.Data type: String Maximum length: 40 |
| parent | Sys\_id of the parent account of this account.Data type: String Table: Company \[core\_company\] |
| partner | Flag that indicates whether the account is a partner account or a customer account.Possible values: - true: Partner account - false: Customer account Data type: Boolean Default: false |
| phone | Primary phone number for the company.Data type: String |
| primary | Flag that indicates whether this is a primary account.Possible values: - true: Primary account - false: Secondary account Data type: Boolean Default: false |
| primary\_contact | Sys\_id of the primary contact for the account.Data type: String Table: Contact \[customer\_contact\] |
| profits | Profit information entered for this account.Data type: Number \(Currency\) Maximum length: 40 |
| publicly\_traded | Flag that indicates whether the company associated with this account is publicly traded on the stock exchange.Possible values: - true: Publicly traded - false: Private company Data type: Boolean |
| rank\_tier | Type of account.Possible values: - blacklist - other - strategic - tactical - valued Data type: String Maximum length: 40 |
| registration\_code | Unique code that customers use when requesting a login on the customer portal. This code provides a method for validating the customer on the company before granting access.Data type: String Maximum length: 40 |
| revenue\_per\_year | Revenue produced by the company associated with this account.Data type: Number \(Currency\) Maximum length: 20 |
| state | State in which the company resides.Data type: String Maximum length: 40 |
| stock\_price | Price of the company stock.Data type: String Maximum length: 40 |
| stock\_symbol | Stock symbol of the company.Data type: String Maximum length: 40 |
| street | Street address of the company.Data type: String Maximum length: 255 |
| sys\_class\_name | Table that contains the associated account record.Data type: String |
| sys\_created\_by | User that originally created the account.Data type: String Maximum length: 40 |
| sys\_created\_on | Date and time that the account was originally created.Data type: String |
| sys\_id | Sys\_id for the account record.Data type: String |
| sys\_mod\_count | Number of times the account information has been updated.Data type: Number \(Integer\) |
| sys\_updated\_by | User that last modified the account information.Data type: String Maximum length: 40 |
| sys\_updated\_on | Date and time the account information was last updated.Data type: String |
| theme | Sys\_id of the customer portal theme used by this account.Data type: String Table: Theme \[sys\_ui\_theme\] |
| vendor | Flag that indicates whether the company associated with this account is a vendor.Possible values: - true: Vendor - false: Not a vendor Data type: Boolean Default: false |
| vendor\_manager | List of sys\_ids of the vendor managers for the account.Data type: String Table: User \[sys\_user\] |
| vendor\_type | List of sys\_ids of the type of vendor such as, applications, hardware, services, or software.Data type: String Table: Vendor Type \[vendor\_type\] |
| website | URL of the website for the company.Data type: String Maximum length: 1,024 |
| zip | Zip code of the company.Data type: String Maximum length: 40 |