POST
/
table
/
{tableId}
/
record
/
{recordId}
/
duplicate
curl --request POST \
  --url https://app.teable.cn/api/table/%7BtableId%7D/record/%7BrecordId%7D/duplicate \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"viewId":"string","anchorId":"string","position":"before"}'
{
  "records": [
    {
      "id": "recXXXXXXX",
      "fields": {
        "single line text": "text value"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tableId
string
required
recordId
string
required

Body

application/json

Where this record to insert to (Optional)

Response

201 - application/json
Successful duplicate

The response is of type object.