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
Key | Datatype | Required | Description |
---|---|---|---|
fieldName | string | Name of the field whose values must be matched for deduplication.Values allowed are: <br>email, <br> <br>phone, <br> and <br>accountName <br> | |
from | string | Index number starting from which the accounts must be fetched | |
limit | string | Number of accounts to fetch | |
swFieldValue | string | Key that specifies the letter with which the field values must start | |
sortBy | string | Key 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
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"data":[{"count":16,"fieldValue":"Admin Account"},{"count":2,"fieldValue":"Agent Account"}]}