---
title: "Report an error"
method: POST
path: "/api/v1/plants/{id}/report"
tags: ["Plants"]
---

# Report an error

`POST /api/v1/plants/{id}/report`

A short API call to report an error regarding a plant entry

## Path parameters

- `id` string, required

## Request body

- object
  - `notes` string — An optional note about the incorrect data

## Response `201`

Success

- object
  - `data` Correction
    - `id` integer, required
    - `accepted_by` string, nullable
    - `change_notes` string, nullable
    - `change_status` string, required
    - `change_type` string, required
    - `correction` object, nullable
    - `created_at` string, required
    - `notes` string, nullable
    - `record_id` integer, nullable
    - `record_type` string, required
    - `updated_at` string, required
    - `user_id` integer, required
    - `warning_type` string, nullable
  - `meta` object
    - `last_modified` string

## Other responses

- `401` — Invalid credentials

## Changes

- **2020-12-13** (v1) `2e0d8882f840` — 1 breaking, 1 info
  - removed the success response with the status `200`
  - added the success response with the status `201`
- **2020-08-10** (v1) `3d0b90549625` — 1 info
  - endpoint added
- **2020-08-10** (v1) `9331c6c48cb2` — 1 breaking
  - api path removed without deprecation
- **2020-07-15** (v1) `ab873e1f1b3b` — 3 info
  - api operation id `reportSpecies` removed and replaced with `reportPlants`
  - api tag `Plants` added
  - api tag `Species` removed
- **2020-07-15** (v1) `15d88532a85a` — 1 breaking, 4 info
  - removed the success response with the status `201`
  - api operation id `reportPlants` removed and replaced with `reportSpecies`
  - api tag `Species` added
  - api tag `Plants` removed
  - …1 more

[Change history](https://skmtc.dev/treflehq/apis/trefle-api-v1/changes/api/v1/plants/:id/report/post.md)

---

[API](https://skmtc.dev/treflehq/apis/trefle-api-v1.md) · [All operations](https://skmtc.dev/treflehq/apis/trefle-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/treflehq/trefle-api-v1/revisions/2e0d8882f840/schema)
