> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zymono.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Reports

> Retrieve your Zymono reports.

### Body

<ParamField body="apiKey" type="string">
  Your API Key. (Keep this secret!)
</ParamField>

### Response

<ResponseField name="Reports" type="array">
  An array with JSON objects inside it which include the ID and other information.
</ResponseField>

<RequestExample>
  ```js Example Request theme={null}
  const response = await fetch('/api/getReports', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      body: JSON.stringify({ apiKey: 'Your_API_Key' }),
    });

    if (response.ok) {
      const reports = await response.json();
      console.log(reports)
      reports.forEach(report => {
        console.log(report)
      })
    } else {
      console.error('Error fetching reports:', response.status);
    }
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  [{
    id: "Example_Report_ID",
    data: {
      "reason": "Reason",
      "img": "Image URL",
      "name": "Violator's Name",
      "id": "ID of Submitter",
      "device": "Device Type"
    }
  }]

  ```
</ResponseExample>
