---
title: "POST /StartTransaction"
method: POST
path: "/StartTransaction"
---

# POST /StartTransaction

`POST /StartTransaction`

Starts a new transaction and returns its transaction ID. Transaction IDs are opaque objects that you can use to identify a transaction.

## Request body

- object
  - `TransactionType` 'READ_AND_WRITE' | 'READ_ONLY' — Indicates whether this transaction should be read only or read and write. Writes made using a read-only transaction ID will be rejected. Read-only transactions do not need to be committed.

## Response `200`

Success

- StartTransactionResponse
  - `TransactionId` string — An opaque identifier for the transaction.

## Other responses

- `480` — InternalServiceException
- `481` — OperationTimeoutException

---

[API](https://skmtc.net/aws/apis/lakeformation.md) · [All operations](https://skmtc.net/aws/apis/lakeformation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/lakeformation/versions/a7cd69eb107d/schema)
