---
schema_version: "1"
id: 534790a4a50bad6b6165b6d568e1e8a4e38323a3c2d1d73b7dd84ce24533461d
title: ESM_SearchOrCreateServiceAccount API
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_t_esm_searchorcreateserviceaccount_api.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_t_esm_searchorcreateserviceaccount_api.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 25de0aacc95f829383ce14a95e7bf58ddb7457e2defe38d60d0faea595efb676
description: Search for an existing service account or create a new service account if it doesn’t exist.
products:
  - Communications
release: "264"
---
# ESM\_SearchOrCreateServiceAccount API

Search for an existing service account or create a new service account if it doesn’t exist.

## URI

/services/apexrest/vlocity\_cmt/v1/integrationprocedure/ESM\_SearchOrCreateServiceAccount/

## HTTP Method

POST

## Request

```
{
 "AccountId": "001Dn00000D9QBLIA3",
 "QuoteMemberId": "a5eDn0000010wQRIAY“
}
```

## Response

```
{
 "ServiceAccountId": "001Dn00001HeK6JIAV"
}
```