List duplicate accounts

GET {{baseUrl}}/api/v1/groupAccountDuplicateValues

This API lists the duplicate entries of an account.The fieldName parameters is mandatory in the API request

Note:
If you encounter a 202 status code while executing this API request, it means there are 100,000 or more accounts in the help desk portal. Matching the records and finding duplicates will be time-consuming in such a scenario. Therefore, the deduplication request will be accepted, and after the process is completed, an automated report will be sent to the user who initiated the deduplication.

OAuth Scope

  • Desk.contacts.READ

Request Params

KeyDatatypeRequiredDescription
fieldNamestringName of the field whose values must be matched for deduplication.Values allowed are: <br>email,<br> <br>phone,<br> and <br>accountName<br>
fromstringIndex number starting from which the accounts must be fetched
limitstringNumber of accounts to fetch
swFieldValuestringKey that specifies the letter with which the field values must start
sortBystringKey that sorts the accounts by a specific attribute: count or fieldValue. The default sorting order is ascending. A - prefix denotes descending order of sorting.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;count&quot;:16,&quot;fieldValue&quot;:&quot;Admin Account&quot;},{&quot;count&quot;:2,&quot;fieldValue&quot;:&quot;Agent Account&quot;}]}