---
title: "PostgREST proxy — insert data"
method: POST
path: "/rest/v1/{path}"
tags: ["REST"]
---

# PostgREST proxy — insert data

`POST /rest/v1/{path}`

## Request

- Base URL: `https://api.run402.com`
- URL: `https://api.run402.com/rest/v1/{path}`
- Auth: API key in header `apikey`

Proxies POST requests to PostgREST for inserting rows.

## Path parameters

- `path` string, required

## Request body

- union
  - object
  - object[]

## Response `201`

Row(s) inserted

- object[]

## Other responses

- `401`: Missing or invalid authentication. Run402-originated JSON bodies use the canonical ErrorEnvelope.

---

[API](https://skmtc.dev/run402/apis/run402-api.md) · [All operations](https://skmtc.dev/run402/apis/run402-api/llms.txt) · [OpenAPI document](https://skmtc.dev/run402/apis/run402-api/revisions/893607557f50?raw)
