Versions

Create Id

Deprecated
POST

Request

This endpoint expects an object.
sheetId
stringOptional
The ID of the Sheet.
parentVersionId
stringOptional
Deprecated, creating or updating a group of records together will automatically generate a commitId to group those record changes together.

Response

This endpoint returns an object
data
object
POST
$curl -X POST https://api.x.flatfile.com/v1/versions \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json" \
> -d '{
> "sheetId": "us_sh_YOUR_ID",
> "parentVersionId": "us_vr_YOUR_ID"
>}'
Response
1{
2 "data": {
3 "versionId": "us_vr_YOUR_ID"
4 }
5}