---
search:
  tags:
    - Reports and dashboards
    - POST
seo:
  description: >-
    Save a report. Reference for the POST /api/v1/reports endpoint in the
    Taylorz CRM API.
sidebar:
  label: Save a report
  badge: POST
title: Save a report
type: openapi-operation
---
`POST /api/v1/reports`

**Request body** (`application/json`, required)

- `definition` (object, required)
- `name` (string, required)

Request body example:

```json
{
  "definition": {
    "filters": [],
    "groupBy": "string",
    "limit": 50,
    "measure": {
      "operation": "count"
    },
    "objectId": "string"
  },
  "name": "string"
}
```

**Responses**

- `201` — The report was saved
- `400` — The request body, query or parameters were refused
- `401` — The access token is missing, invalid or revoked
- `403` — The tenant's module is off, or the token's scope or the member's role does not permit the action
- `404` — No such record, or none the caller may read
- `409` — The operation conflicts with the current state
- `413` — The request exceeds the route's body limit
- `500` — An unexpected failure

Response example, 201:

```json
{
  "id": "string"
}
```
