Skip to main content
POST
/
api
/
database
/
records
/
{tableName}
Create Records
curl --request POST \
  --url https://api.example.com/api/database/records/{tableName} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "title": "My First Post",
    "content": "Hello world! This is my first post.",
    "published": true
  }
]
'
[]

Authorizations

Authorization
string
header
required

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

Headers

Prefer
enum<string>

Include to return created records in response (otherwise returns empty array)

Available options:
return=representation

Path Parameters

tableName
string
required

Name of the table

Body

application/json
Minimum array length: 1

Response

Records created