Skip to main content
POST
/
api
/
v1
/
data-sources
/
{dataSourceId}
/
records
Tạo bản ghi mới
curl --request POST \
  --url https://open.cleeksy.com/api/v1/data-sources/{dataSourceId}/records \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "success": true,
  "data": {
    "recordId": "<string>"
  }
}

Sử dụng

Endpoint này tạo một bản ghi mới trong Data Source External thông qua API. Khác với webhook, API này cho phép tương tác trực tiếp và nhận phản hồi ngay lập tức.

Response

Sử dụng endpoint này để tạo bản ghi từ ứng dụng của bạn. Bản ghi được tạo sẽ ngay lập tức có sẵn trong hệ thống.

Authorizations

Authorization
string
header
required

Bearer token để xác thực

Path Parameters

dataSourceId
string
required

ID của Data Source

Body

application/json

Dữ liệu bản ghi

Response

Tạo thành công

success
boolean
data
object