Insert a typed record
curl --request POST \
--url https://app.hookie.ai/admin/api/data-workspace/tables/{table_id}/rows \
--header 'Content-Type: application/json' \
--data '
{
"values": {},
"version": 2
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({values: {}, version: 2})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/tables/{table_id}/rows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/data-workspace/tables/{table_id}/rows"
payload = {
"values": {},
"version": 2
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Data workspace
Insert a typed record
Dedicated workspace database. Pro or Team required. Workspace-scoped credentials only; mutations require the write capability. All reads and writes resolve the database from the authenticated workspace.
POST
/
admin
/
api
/
data-workspace
/
tables
/
{table_id}
/
rows
Insert a typed record
curl --request POST \
--url https://app.hookie.ai/admin/api/data-workspace/tables/{table_id}/rows \
--header 'Content-Type: application/json' \
--data '
{
"values": {},
"version": 2
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({values: {}, version: 2})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/tables/{table_id}/rows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/data-workspace/tables/{table_id}/rows"
payload = {
"values": {},
"version": 2
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}