Javascript
import Worqhat from 'worqhat'; const client = new Worqhat({ apiKey: 'My API Key', }); const response = await client.db.insertRecord({ data: { name: 'John Doe', email: 'john@worqhat.com' }, table: 'users', }); console.log(response.data);
{ "success": true, "data": {}, "message": "Data inserted successfully" }
Inserts a new record into the specified table. Organization ID is automatically added for multi-tenant security.
API key authentication. Format - "Bearer YOUR_API_KEY"
Data inserted successfully
The response is of type object.
object
Was this page helpful?