---
title: "Insert a resource record"
method: POST
path: "/apis/resources/records/insert"
tags: ["Resource Records"]
---

# Insert a resource record

`POST /apis/resources/records/insert`

Adds a new record to the specified resource. Required resource fields must be supplied, and data keys must match fields configured on the resource.

## Request body

- ResourceInsertRequest
  - `objectId` string, required — ID of the resource that receives the record.
  - `data` ResourceData, required — Values keyed by fields configured on the Flowcall resource.

## Response `200`

Resource record inserted.

- ResourceInsertResponse
  - `success` true, required
  - `record` ResourceRecord, required
    - `id` string, required
    - `objectId` string, required
    - `customerId` string, nullable
    - `data` ResourceData, required — Values keyed by fields configured on the Flowcall resource.
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
  - `conflicts` unknown[], required
    - unknown
  - `conflictCount` integer, required

## Other responses

- `400` — The request is invalid.
- `401` — No valid Bearer token or authenticated app session was supplied.
- `403` — The Bearer token is missing, invalid, or not authorized for the requested account.
- `404` — The requested account-owned object was not found.

---

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