# Search Complaints
source: https://developer.mastercard.com/india-online-dispute-resolution/documentation/use-cases/search_issuer/index.md

The Search Complaints API extracts a list of complaints from IODR based on the client type. This API can be used by issuer and acquirer, they can call this API at regular intervals to get a list of complaints by passing searchType as DEFAULT in the request.

## Prerequisites {#prerequisites}

The issuer or acquirer needs the following parameters:

* **Search Type** : The effectiveness of the search depends on the specified `searchType` parameter. The supported values are:

  * Issuer
    * DEFAULT
    * Complaint tracking number
    * Cardholder email ID
    * Issuer ICA
  * Acquirer
    * DEFAULT
    * Complaint tracking number
    * Cardholder email ID
    * Acquirer ICA
* **Search Value** : The search value depends on the `searchType` parameter. For example, if the search type is a complaint tracking number, the search value would be a valid tracking number.

## Sequence Diagram {#sequence-diagram}

Diagram issuer_dispute

#### Execution Steps {#execution-steps}

##### Issuer or acquirer {#issuer-or-acquirer}

1. The issuer or acquirer sends request to search complaint.
2. The IODR validates the passed value.
3. IODR sends a list of complaints for a valid value.
4. If the search value is invalid or no matching record is found in IODR, an error message is sent.

Note: If you send searchType: DEFAULT in the request, the Search Complaints API retrieves all the complaints associated with issuer or acquirer.

## Endpoint {#endpoint}


API Reference: `POST /complaints/searches`

