# 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 customer type. Issuers and acquirers can use this API to retrieve a list of complaints by passing `searchType` as DEFAULT in the request. They can call the API at regular intervals to receive updated complaint information.

## 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.

<br />

To keep customer disputes moving, an issuer or acquirer needs to review the complaints raised against them or locate a specific one. The Search Complaints API (`POST /complaints/searches`) lets them retrieve complaints based on a chosen search type.

API Reference: `POST /complaints/searches`

## Sequence Diagram {#sequence-diagram}

Diagram issuer_dispute

### Execution steps {#execution-steps}

1. The issuer or acquirer sends a request to search complaints.
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 the issuer or acquirer.

## Error Resolution {#error-resolution}

For details on error resolution, refer to the [Code and Formats](https://developer.mastercard.com/india-online-dispute-resolution/documentation/code-and-formats/index.md) section.
