Create a record
curl --request POST \
--url https://{host}/ext/api/v1/collections/{collection} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-BLUDIA-API-KEY: <api-key>' \
--data '
{
"title": "Order #102",
"status": "pending",
"customer": 25
}
'const options = {
method: 'POST',
headers: {
'X-BLUDIA-API-KEY': '<api-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({title: 'Order #102', status: 'pending', customer: 25})
};
fetch('https://{host}/ext/api/v1/collections/{collection}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/ext/api/v1/collections/{collection}"
payload = {
"title": "Order #102",
"status": "pending",
"customer": 25
}
headers = {
"X-BLUDIA-API-KEY": "<api-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": 101,
"slug": null,
"created_at": "2026-11-20T09:15:00.000000Z",
"updated_at": "2026-11-20T09:15:00.000000Z",
"published_at": "2026-11-20T09:15:00.000000Z",
"children": [],
"title": "Order #101",
"status": "confirmed",
"total": "120.00",
"customer": {
"id": 25,
"label": "Sarah Ahmed"
}
}
}{
"message": "Missing API key."
}{
"error": "permission_denied",
"message": "You do not have [delete] permission on collection [14]."
}{
"status": false,
"message": "<string>",
"errors": "<unknown>",
"request_id": "<string>"
}{
"status": false,
"message": "<string>",
"errors": "<unknown>",
"request_id": "<string>"
}{
"message": "Rate limit exceeded."
}Records
Create a record
Creates a record. Send field values keyed by field name; unknown keys are ignored. Runs validation and beforeInsert/afterInsert hooks. When an end user creates the record, they become its owner. Requires can_create for end users.
POST
/
collections
/
{collection}
Create a record
curl --request POST \
--url https://{host}/ext/api/v1/collections/{collection} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-BLUDIA-API-KEY: <api-key>' \
--data '
{
"title": "Order #102",
"status": "pending",
"customer": 25
}
'const options = {
method: 'POST',
headers: {
'X-BLUDIA-API-KEY': '<api-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({title: 'Order #102', status: 'pending', customer: 25})
};
fetch('https://{host}/ext/api/v1/collections/{collection}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/ext/api/v1/collections/{collection}"
payload = {
"title": "Order #102",
"status": "pending",
"customer": 25
}
headers = {
"X-BLUDIA-API-KEY": "<api-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": 101,
"slug": null,
"created_at": "2026-11-20T09:15:00.000000Z",
"updated_at": "2026-11-20T09:15:00.000000Z",
"published_at": "2026-11-20T09:15:00.000000Z",
"children": [],
"title": "Order #101",
"status": "confirmed",
"total": "120.00",
"customer": {
"id": 25,
"label": "Sarah Ahmed"
}
}
}{
"message": "Missing API key."
}{
"error": "permission_denied",
"message": "You do not have [delete] permission on collection [14]."
}{
"status": false,
"message": "<string>",
"errors": "<unknown>",
"request_id": "<string>"
}{
"status": false,
"message": "<string>",
"errors": "<unknown>",
"request_id": "<string>"
}{
"message": "Rate limit exceeded."
}Authorizations
ApiKey & BearerAuthApiKey
Body
application/json
