POST
Create entity record
/entities/{entity_key}/recordsCreates a new record for an entity.
Parameters
Path Parameters
| Name | Type | Description |
|---|---|---|
entity_keyrequired | string | The entity schema ID |
Request Body
application/jsonrequired
{
data*:objectRecord data matching the entity schema fields
}
Code Examples
curl -X POST "https://api.qamaq.io/api/v1/entities/{entity_key}/records" \
-H "Authorization: Bearer qmq_your_api_key" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'Responses
201Record created successfully
Response Body
{
id:stringdata:objectcreated_at:string (date-time)}