---
search:
  tags:
    - Objects and records
    - POST
seo:
  description: >-
    Create a record. Reference for the POST /api/v1/objects/{objectId}/records
    endpoint in the Taylorz CRM API.
sidebar:
  label: Create a record
  badge: POST
title: Create a record
type: openapi-operation
---
`POST /api/v1/objects/{objectId}/records`

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

- `name` (string)
- `relations` (object)
- `values` (object)

Request body example:

```json
{
  "name": "",
  "relations": {},
  "values": {}
}
```

**Responses**

- `201` — The record was created
- `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
{
  "archivedAt": "2019-08-24T14:15:22Z",
  "createdAt": "2019-08-24T14:15:22Z",
  "id": "string",
  "name": "string",
  "objectId": "string",
  "revision": 1,
  "updatedAt": "2019-08-24T14:15:22Z",
  "values": {
    "property1": "string",
    "property2": "string"
  }
}
```
