---
schema_version: "1"
id: 2e9bcad08e3aab8268e3fd3e94371e04ee94f79af96ab6b7402fb98683d68025
title: Get Account Details
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/cme/guides/comms-get-account-details.md
canonical_url: https://developer.salesforce.com/docs/industries/cme/guide/comms-get-account-details.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 28a48af3dc4f2280f5680c63cfa329ee30ca01da7faee999ef5304cc501cc29e
products:
  - Communications, Media, Energy and Utilities APIs (Managed Package)
  - Industries Developer Documentation
---
# Get Account Details

Retrieve the details for a specified account ID.

```nolang
GET /v2/accounts/{account_ID}
```

## Remote Method

```nolang
getAccounts
```

## Handlers

```nolang
REST Endpoint: APIAccountsV2.cls
Implementation: CpqGetAccountsActionV2.cls
```

## Apex Remote Service

CpqAppHandler

## Apex Remote Input Map

```nolang
{
  methodName: getAccounts
  id: 0011I000007lzDO
}
```

## Package

Communication (vlocity_cmt)

## API Parameters and Response Format

For API parameter names and descriptions, see [Cart-Based API Swagger Reference](https://developer.salesforce.com/docs/industries/cme/references/cpq?meta=Summary).

## Resource Information

| Response Format | JSON                                                    |
| --------------- | ------------------------------------------------------- |
| Resource URL    | /services/apexrest/{namespace}/v2/accounts/{account_ID} |


## Example Request

```nolang
GET
/services/apexrest/vlocity_cmt/v2/accounts/0011I000007lzDO?fields=OwnerId,Name
```

## Example Response

```nolang
{
  "totalSize": 1,
  "messages": [],
  "records": [
    {
      "messages": [],
      "displaySequence": -1,
      "OwnerId": "0051I000000Qvb4QAC",
      "Name": "AR3"
    }
  ]
}
```
